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.
- package/lib/registry.js +2 -1
- 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
|
|