Skip to content

v0.2.10

Compare
Choose a tag to compare
@bluwy bluwy released this 15 Aug 08:12
· 3 commits to master since this release

Features

  • Adds a new rule that validates the "repository" field (#106)
    • If "repository" is a string, it must be one of the supported shorthand strings from the docs.
    • If "repository" is an object with "type": "git", the "url" must be a valid git URL and can be parsed by npm.
    • The git:// protocol for GitHub repos should not be used due security concerns.
    • GitHub or GitLab links should be prefixed with git+ and postfixed with .git. (This is also warned by npm when publishing a package).

New Contributors

Full Changelog: v0.2.9...v0.2.10