Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mrmrinal/parameter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: node-modules/parameter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 8 files changed
  • 4 contributors

Commits on Dec 17, 2022

  1. Configuration menu
    Copy the full SHA
    12c51b3 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. feat: custom error message (node-modules#68)

    closes node-modules#31
    closes node-modules#15 
    
    所有的 rule 中添加字段 “message",可以自定义错误信息,完全向前兼容。
    
    rule 示例:
    
    ```
    {
        type: 'int', 
        max: 200,
        message: {
            max: '年龄不能大于 200 岁',
            required: '请填写你的年龄'
        }
    }
    ```
    
    ```
    {
        type: 'email', 
        message: {
            email: '邮箱格式不正确',
            required: '前输入您的邮箱'
        }
    }
    ```
    
    Co-authored-by: fengmk2 <fengmk2@gmail.com>
    sarike and fengmk2 authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    818cd23 View commit details
    Browse the repository at this point in the history
  2. Release 3.7.0

    semantic-release-bot committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    bbd0e11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a63a613 View commit details
    Browse the repository at this point in the history
Loading