@semantic-release/last-release-npm
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@semantic-release/last-release-npm", | ||
"version": "1.1.0", | ||
"description": "determine the version of the last release via the npm registry", | ||
@@ -19,3 +18,3 @@ "author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)", | ||
"@semantic-release/error": "^1.0.0", | ||
"npm-registry-client": "^6.5.1", | ||
"npm-registry-client": "^7.0.1", | ||
"npmlog": "^1.2.1" | ||
@@ -32,3 +31,3 @@ }, | ||
"semantic-release": "^4.0.3", | ||
"standard": "^4.2.1", | ||
"standard": "^5.1.0", | ||
"tap": "^1.3.2" | ||
@@ -62,3 +61,4 @@ }, | ||
"test:suite": "nyc tap --no-cov .test/specs/*.js" | ||
} | ||
} | ||
}, | ||
"version": "1.1.1" | ||
} |
@@ -29,1 +29,3 @@ const nock = require('nock') | ||
.reply(404, {}) | ||
.get('/unavailable-no-body') | ||
.reply(404) |
@@ -9,3 +9,4 @@ const { defaults } = require('lodash') | ||
registry: 'http://registry.npmjs.org/', | ||
tag: 'latest' | ||
tag: 'latest', | ||
loglevel: 'error' | ||
} | ||
@@ -70,2 +71,4 @@ | ||
t.test('get nothing from not yet published package name', (tt) => { | ||
tt.plan(4) | ||
lastRelease({}, { | ||
@@ -77,6 +80,12 @@ pkg: {name: 'unavailable'}, | ||
tt.is(release.version, undefined, 'no version') | ||
}) | ||
tt.end() | ||
lastRelease({}, { | ||
pkg: {name: 'unavailable-no-body'}, | ||
npm | ||
}, (err, release) => { | ||
tt.error(err) | ||
tt.is(release.version, undefined, 'no version') | ||
}) | ||
}) | ||
}) |
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
6626
133
+ Addedansi-regex@2.1.1(transitive)
+ Addedaproba@1.2.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedconsole-control-strings@1.1.0(transitive)
+ Addedgauge@2.7.4(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addednpm-registry-client@7.5.0(transitive)
+ Addednpmlog@4.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedretry@0.10.1(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedwide-align@1.1.5(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedchownr@0.0.2(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedgraceful-fs@3.0.12(transitive)
- Removedinflight@1.0.6(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removednatives@1.1.6(transitive)
- Removednpm-registry-client@6.5.1(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedretry@0.6.1(transitive)
- Removedrimraf@2.7.1(transitive)
Updatednpm-registry-client@^7.0.1