@parcel/node-resolver-core
Advanced tools
Comparing version 2.0.0-nightly.1724 to 2.0.0-nightly.1729
@@ -100,11 +100,6 @@ "use strict"; | ||
if (resolved) { | ||
let result = { | ||
filePath: resolved.path | ||
return { | ||
filePath: resolved.path, | ||
sideEffects: resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg) ? false : undefined | ||
}; | ||
if (resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg)) { | ||
result.sideEffects = false; | ||
} | ||
return result; | ||
} | ||
@@ -111,0 +106,0 @@ |
{ | ||
"name": "@parcel/node-resolver-core", | ||
"version": "2.0.0-nightly.1724+28f7bfd1", | ||
"version": "2.0.0-nightly.1729+b2851080", | ||
"license": "MIT", | ||
@@ -18,3 +18,3 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/utils": "2.0.0-nightly.102+28f7bfd1", | ||
"@parcel/utils": "2.0.0-nightly.107+b2851080", | ||
"micromatch": "^3.0.4", | ||
@@ -24,3 +24,3 @@ "node-libs-browser": "^2.1.0", | ||
}, | ||
"gitHead": "28f7bfd13f0c03317b75cb70c433681250a70518" | ||
"gitHead": "b2851080dd7c4c1df22b2c512ce50d7424c36927" | ||
} |
@@ -101,11 +101,9 @@ // @flow | ||
if (resolved) { | ||
let result: ResolveResult = { | ||
return { | ||
filePath: resolved.path, | ||
sideEffects: | ||
resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg) | ||
? false | ||
: undefined, | ||
}; | ||
if (resolved.pkg && !this.hasSideEffects(resolved.path, resolved.pkg)) { | ||
result.sideEffects = false; | ||
} | ||
return result; | ||
} | ||
@@ -112,0 +110,0 @@ |
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
36590
1053