@npmcli/arborist 7.2.2 → 7.3.0
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/arborist/reify.js +2 -2
- package/package.json +1 -1
package/lib/arborist/reify.js
CHANGED
|
@@ -628,7 +628,7 @@ module.exports = cls => class Reifier extends cls {
|
|
|
628
628
|
process.emit('time', timer)
|
|
629
629
|
this.addTracker('reify', node.name, node.location)
|
|
630
630
|
|
|
631
|
-
const { npmVersion, nodeVersion, cpu, os } = this.options
|
|
631
|
+
const { npmVersion, nodeVersion, cpu, os, libc } = this.options
|
|
632
632
|
const p = Promise.resolve().then(async () => {
|
|
633
633
|
// when we reify an optional node, check the engine and platform
|
|
634
634
|
// first. be sure to ignore the --force and --engine-strict flags,
|
|
@@ -638,7 +638,7 @@ module.exports = cls => class Reifier extends cls {
|
|
|
638
638
|
// eslint-disable-next-line promise/always-return
|
|
639
639
|
if (node.optional) {
|
|
640
640
|
checkEngine(node.package, npmVersion, nodeVersion, false)
|
|
641
|
-
checkPlatform(node.package, false, { cpu, os })
|
|
641
|
+
checkPlatform(node.package, false, { cpu, os, libc })
|
|
642
642
|
}
|
|
643
643
|
await this[_checkBins](node)
|
|
644
644
|
await this[_extractOrLink](node)
|