libnpmpublish
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -1,5 +0,7 @@ | ||
# Change Log | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
### [1.1.3](https://github.com/npm/libnpmpublish/compare/v1.1.2...v1.1.3) (2019-09-18) | ||
<a name="1.1.2"></a> | ||
@@ -6,0 +8,0 @@ ## [1.1.2](https://github.com/npm/libnpmpublish/compare/v1.1.1...v1.1.2) (2019-07-16) |
{ | ||
"name": "libnpmpublish", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Programmatic API for the bits behind npm publish and unpublish", | ||
@@ -23,5 +23,5 @@ "author": { | ||
"nock": "^9.6.1", | ||
"standard": "*", | ||
"standard-version": "*", | ||
"tap": "*", | ||
"standard": "^12.0.1", | ||
"standard-version": "^7.0.0", | ||
"tap": "^12.7.0", | ||
"tar-stream": "^1.6.1", | ||
@@ -28,0 +28,0 @@ "weallbehave": "*", |
@@ -125,3 +125,3 @@ 'use strict' | ||
root.versions[ manifest.version ] = manifest | ||
root.versions[manifest.version] = manifest | ||
const tag = manifest.tag || opts.tag | ||
@@ -139,5 +139,5 @@ root['dist-tags'][tag] = manifest.version | ||
// Don't bother having sha1 in the actual integrity field | ||
manifest.dist.integrity = integrity['sha512'][0].toString() | ||
manifest.dist.integrity = integrity.sha512[0].toString() | ||
// Legacy shasum support | ||
manifest.dist.shasum = integrity['sha1'][0].hexDigest() | ||
manifest.dist.shasum = integrity.sha1[0].hexDigest() | ||
manifest.dist.tarball = url.resolve(registry, tbURI) | ||
@@ -147,6 +147,6 @@ .replace(/^https:\/\//, 'http://') | ||
root._attachments = {} | ||
root._attachments[ tbName ] = { | ||
'content_type': 'application/octet-stream', | ||
'data': tardata.toString('base64'), | ||
'length': tardata.length | ||
root._attachments[tbName] = { | ||
content_type: 'application/octet-stream', | ||
data: tardata.toString('base64'), | ||
length: tardata.length | ||
} | ||
@@ -153,0 +153,0 @@ |
@@ -50,3 +50,3 @@ 'use strict' | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -57,3 +57,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -111,3 +111,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/@zkat/libnpmpublish/-/@zkat/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/@zkat/libnpmpublish/-/@zkat/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -118,3 +118,3 @@ } | ||
'@zkat/libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -183,3 +183,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.1.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.1.tgz' | ||
} | ||
@@ -190,3 +190,3 @@ } | ||
'libnpmpublish-1.0.1.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -216,3 +216,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -223,3 +223,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -303,3 +303,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -310,3 +310,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -382,3 +382,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -389,3 +389,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -460,3 +460,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -467,3 +467,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -523,3 +523,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -530,3 +530,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -585,3 +585,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -592,3 +592,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -672,3 +672,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -679,3 +679,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -787,3 +787,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -794,3 +794,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -852,3 +852,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -859,3 +859,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -916,3 +916,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
}, | ||
@@ -926,3 +926,3 @@ publishConfig: { | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -987,3 +987,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -994,3 +994,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -1048,3 +1048,3 @@ length: tarData.length | ||
integrity: integrity.toString(), | ||
tarball: `http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz` | ||
tarball: 'http://mock.reg/libnpmpublish/-/libnpmpublish-1.0.0.tgz' | ||
} | ||
@@ -1055,3 +1055,3 @@ } | ||
'libnpmpublish-1.0.0.tgz': { | ||
'content_type': 'application/octet-stream', | ||
content_type: 'application/octet-stream', | ||
data: tarData.toString('base64'), | ||
@@ -1058,0 +1058,0 @@ length: tarData.length |
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
88215
0