normalize-package-data
Advanced tools
Comparing version 0.2.13 to 0.3.0
@@ -142,3 +142,3 @@ var semver = require("semver") | ||
if (githubUserRepo(data[deps][d])) { | ||
data[deps][d] = githubUserRepo(data[deps][d]) | ||
data[deps][d] = 'git+' + githubUserRepo(data[deps][d]) | ||
} | ||
@@ -383,2 +383,2 @@ }, this) | ||
}) | ||
} | ||
} |
{ | ||
"name": "normalize-package-data", | ||
"version": "0.2.13", | ||
"version": "0.3.0", | ||
"author": "Meryn Stol <merynstol@gmail.com>", | ||
@@ -16,3 +16,3 @@ "description": "Normalizes data that can be found in package.json files.", | ||
"github-url-from-git": "~1.1.1", | ||
"github-url-from-username-repo": "^0.1.0", | ||
"github-url-from-username-repo": "^0.2.0", | ||
"semver": "2" | ||
@@ -19,0 +19,0 @@ }, |
@@ -161,3 +161,3 @@ var tap = require("tap") | ||
normalize(d) | ||
t.same(d.repository, { type: "git", url: "git://github.com/visionmedia/express" }) | ||
t.same(d.repository, { type: "git", url: "https://github.com/visionmedia/express" }) | ||
t.end() | ||
@@ -169,3 +169,3 @@ }); | ||
normalize(d) | ||
t.same(d.repository, { type: "git", url: "git://github.com/isaacs/node-graceful-fs" }) | ||
t.same(d.repository, { type: "git", url: "https://github.com/isaacs/node-graceful-fs" }) | ||
t.end() | ||
@@ -177,3 +177,3 @@ }); | ||
normalize(a={ | ||
repository: { type: "git", url: "git://github.com/isaacs/node-graceful-fs" } | ||
repository: { type: "git", url: "https://github.com/isaacs/node-graceful-fs" } | ||
}) | ||
@@ -205,3 +205,3 @@ t.same(a.homepage, 'https://github.com/isaacs/node-graceful-fs') | ||
normalize(d) | ||
t.same(d.dependencies, {"node-graceful-fs": "git://github.com/isaacs/node-graceful-fs" }) | ||
t.same(d.dependencies, {"node-graceful-fs": "git+https://github.com/isaacs/node-graceful-fs" }) | ||
t.end() | ||
@@ -208,0 +208,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
52396
1433
0
+ Addedgithub-url-from-username-repo@0.2.0(transitive)
- Removedgithub-url-from-username-repo@0.1.0(transitive)