v0.2.10
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).
- If
New Contributors
Full Changelog: v0.2.9...v0.2.10