normalize-package-data
Advanced tools
Comparing version 0.0.5 to 0.0.7
{ | ||
"name": "normalize-package-data", | ||
"version": "0.0.5", | ||
"version": "0.0.7", | ||
"author": "Meryn Stol <merynstol@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Normalizes data that can be found in package.json files.", |
@@ -41,3 +41,3 @@ # normalize-package-data | ||
* The value of `name` field gets trimmed | ||
* The value of the 'version` field gets cleaned by `semver.clean`. See [documentation of the semver module](https://github.com/isaacs/node-semver). | ||
* The value of the `version` field gets cleaned by `semver.clean`. See [documentation for the semver module](https://github.com/isaacs/node-semver). | ||
* If `repository` field is a string, it will become am object with `url` set to the original string value, and `type` set to `"git"`. | ||
@@ -67,3 +67,3 @@ * If `files` field is not an array, it will be removed. | ||
The value of the version field must be a valid *semver* string, as determined by the `semver.valid` method. See [documentation of the semver module](https://github.com/isaacs/node-semver). | ||
The value of the version field must be a valid *semver* string, as determined by the `semver.valid` method. See [documentation for the semver module](https://github.com/isaacs/node-semver). | ||
@@ -70,0 +70,0 @@ ## Credits |
27824