diff options
author | Gar <gar+gh@danger.computer> | 2021-04-23 20:15:09 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-04-23 20:15:56 +0300 |
commit | 7925cca24543d9e1a8297844b3e53e11057643ef (patch) | |
tree | f484e75f6bba45f6959cf5ac6902756ba299b055 /node_modules/pacote | |
parent | 88f13e861530054c13fba0b73649454ab368c8c8 (diff) |
pacote@11.3.3
* fix(registry): normalize manfest
Diffstat (limited to 'node_modules/pacote')
-rw-r--r-- | node_modules/pacote/lib/registry.js | 4 | ||||
-rw-r--r-- | node_modules/pacote/package.json | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/node_modules/pacote/lib/registry.js b/node_modules/pacote/lib/registry.js index 537610d29..e0a310717 100644 --- a/node_modules/pacote/lib/registry.js +++ b/node_modules/pacote/lib/registry.js @@ -3,6 +3,7 @@ const RemoteFetcher = require('./remote.js') const _tarballFromResolved = Symbol.for('pacote.Fetcher._tarballFromResolved') const pacoteVersion = require('../package.json').version const npa = require('npm-package-arg') +const rpj = require('read-package-json-fast') const pickManifest = require('npm-pick-manifest') const ssri = require('ssri') const Minipass = require('minipass') @@ -156,7 +157,8 @@ class RegistryFetcher extends Fetcher { } if (this.integrity) mani._integrity = String(this.integrity) - return this.package = mani + this.package = rpj.normalize(mani) + return this.package }) } diff --git a/node_modules/pacote/package.json b/node_modules/pacote/package.json index aee117b01..2461b055b 100644 --- a/node_modules/pacote/package.json +++ b/node_modules/pacote/package.json @@ -1,6 +1,6 @@ { "name": "pacote", - "version": "11.3.2", + "version": "11.3.3", "description": "JavaScript package downloader", "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)", "bin": { |