pacote 18.0.1 → 18.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/registry.js +2 -1
  2. package/package.json +1 -1
package/lib/registry.js CHANGED
@@ -127,11 +127,12 @@ class RegistryFetcher extends Fetcher {
127
127
  }
128
128
 
129
129
  const packument = await this.packument()
130
+ const steps = PackageJson.normalizeSteps.filter(s => s !== '_attributes')
130
131
  const mani = await new PackageJson().fromContent(pickManifest(packument, this.spec.fetchSpec, {
131
132
  ...this.opts,
132
133
  defaultTag: this.defaultTag,
133
134
  before: this.before,
134
- })).normalize().then(p => p.content)
135
+ })).normalize({ steps }).then(p => p.content)
135
136
 
136
137
  /* XXX add ETARGET and E403 revalidation of cached packuments here */
137
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacote",
3
- "version": "18.0.1",
3
+ "version": "18.0.2",
4
4
  "description": "JavaScript package downloader",
5
5
  "author": "GitHub Inc.",
6
6
  "bin": {