@parcel/node-resolver-core
Advanced tools
Comparing version 3.4.4-canary.3384 to 3.4.4-canary.3386
@@ -122,3 +122,3 @@ "use strict"; | ||
conditions: environmentToExportsConditions(options.env, this.options.mode), | ||
packageExports: this.options.packageExports ?? false, | ||
packageExports: this.options.packageExports || options.env.context === 'react-server' || options.env.context === 'react-client', | ||
moduleDirResolver: process.versions.pnp != null ? (module, from) => { | ||
@@ -216,3 +216,3 @@ // $FlowFixMe[prop-missing] | ||
async resolveBuiltin(name, options) { | ||
if (options.env.isNode()) { | ||
if (options.env.isNode() || options.env.context === 'react-server') { | ||
return { | ||
@@ -622,2 +622,5 @@ isExcluded: true | ||
} | ||
if (env.context === 'react-server') { | ||
conditions |= 1 << 16; | ||
} | ||
if (mode === 'production') { | ||
@@ -624,0 +627,0 @@ conditions |= 1 << 9; |
{ | ||
"name": "@parcel/node-resolver-core", | ||
"version": "3.4.4-canary.3384+d19b1f6bd", | ||
"version": "3.4.4-canary.3386+3a064724a", | ||
"license": "MIT", | ||
@@ -29,6 +29,6 @@ "publishConfig": { | ||
"@mischnic/json-sourcemap": "^0.1.0", | ||
"@parcel/diagnostic": "2.0.0-canary.1761+d19b1f6bd", | ||
"@parcel/fs": "2.0.0-canary.1761+d19b1f6bd", | ||
"@parcel/rust": "2.13.4-canary.3384+d19b1f6bd", | ||
"@parcel/utils": "2.0.0-canary.1761+d19b1f6bd", | ||
"@parcel/diagnostic": "2.0.0-canary.1763+3a064724a", | ||
"@parcel/fs": "2.0.0-canary.1763+3a064724a", | ||
"@parcel/rust": "2.13.4-canary.3386+3a064724a", | ||
"@parcel/utils": "2.0.0-canary.1763+3a064724a", | ||
"nullthrows": "^1.1.1", | ||
@@ -64,3 +64,3 @@ "semver": "^7.5.2" | ||
}, | ||
"gitHead": "d19b1f6bdb05eb5a3085f44daae15c0fe2709ab9" | ||
"gitHead": "3a064724a9589142ace59eb8920630f3ecdb1925" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
32049
762
17
3
222
263614
9