@parcel/node-resolver-core
Advanced tools
Comparing version 2.0.0-nightly.1924 to 2.0.0-nightly.1926
@@ -259,3 +259,4 @@ "use strict"; | ||
let res = pnp.resolveToUnqualified(moduleName, parent); | ||
let res = pnp.resolveToUnqualified(moduleName + ( // retain slash in `require('assert/')` to force loading builtin from npm | ||
filename[moduleName.length] === '/' ? '/' : ''), parent); | ||
resolved = { | ||
@@ -262,0 +263,0 @@ moduleName, |
{ | ||
"name": "@parcel/node-resolver-core", | ||
"version": "2.0.0-nightly.1924+509b0ba8", | ||
"version": "2.0.0-nightly.1926+cb1bdec6", | ||
"license": "MIT", | ||
@@ -18,9 +18,9 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/diagnostic": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/node-libs-browser": "2.0.0-nightly.1924+509b0ba8", | ||
"@parcel/utils": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/diagnostic": "2.0.0-nightly.304+cb1bdec6", | ||
"@parcel/node-libs-browser": "2.0.0-nightly.1926+cb1bdec6", | ||
"@parcel/utils": "2.0.0-nightly.304+cb1bdec6", | ||
"micromatch": "^3.0.4", | ||
"nullthrows": "^1.1.1" | ||
}, | ||
"gitHead": "509b0ba8e76b73a2c97d4526d0f190bceade71e2" | ||
"gitHead": "cb1bdec606e581265782a644481a36cd6152397a" | ||
} |
@@ -303,4 +303,10 @@ // @flow | ||
require('pnpapi'); | ||
let res = pnp.resolveToUnqualified(moduleName, parent); | ||
let res = pnp.resolveToUnqualified( | ||
moduleName + | ||
// retain slash in `require('assert/')` to force loading builtin from npm | ||
(filename[moduleName.length] === '/' ? '/' : ''), | ||
parent, | ||
); | ||
resolved = { | ||
@@ -307,0 +313,0 @@ moduleName, |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
51517
1491
7
17
2
219