@parcel/core
Advanced tools
Comparing version 2.0.0-nightly.330 to 2.0.0-nightly.333
@@ -167,17 +167,19 @@ "use strict"; | ||
if (result && result.isExcluded) { | ||
return null; | ||
} | ||
if (result) { | ||
if (result.isExcluded) { | ||
return null; | ||
} | ||
if ((result === null || result === void 0 ? void 0 : result.filePath) != null) { | ||
var _pipeline; | ||
if (result.filePath != null) { | ||
var _pipeline; | ||
return { | ||
filePath: result.filePath, | ||
sideEffects: result.sideEffects, | ||
code: result.code, | ||
env: dependency.env, | ||
pipeline: (_pipeline = pipeline) !== null && _pipeline !== void 0 ? _pipeline : dependency.pipeline, | ||
isURL: dependency.isURL | ||
}; | ||
return { | ||
filePath: result.filePath, | ||
sideEffects: result.sideEffects, | ||
code: result.code, | ||
env: dependency.env, | ||
pipeline: (_pipeline = pipeline) !== null && _pipeline !== void 0 ? _pipeline : dependency.pipeline, | ||
isURL: dependency.isURL | ||
}; | ||
} | ||
} | ||
@@ -184,0 +186,0 @@ } catch (e) { |
{ | ||
"name": "@parcel/core", | ||
"version": "2.0.0-nightly.330+131e9296", | ||
"version": "2.0.0-nightly.333+2928e0e7", | ||
"license": "MIT", | ||
@@ -23,13 +23,13 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/cache": "2.0.0-nightly.332+131e9296", | ||
"@parcel/diagnostic": "2.0.0-nightly.332+131e9296", | ||
"@parcel/events": "2.0.0-nightly.332+131e9296", | ||
"@parcel/fs": "2.0.0-nightly.332+131e9296", | ||
"@parcel/logger": "2.0.0-nightly.332+131e9296", | ||
"@parcel/package-manager": "2.0.0-nightly.332+131e9296", | ||
"@parcel/plugin": "2.0.0-nightly.332+131e9296", | ||
"@parcel/cache": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/diagnostic": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/events": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/fs": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/logger": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/package-manager": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/plugin": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/source-map": "2.0.0-alpha.4.13", | ||
"@parcel/types": "2.0.0-nightly.332+131e9296", | ||
"@parcel/utils": "2.0.0-nightly.332+131e9296", | ||
"@parcel/workers": "2.0.0-nightly.332+131e9296", | ||
"@parcel/types": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/utils": "2.0.0-nightly.335+2928e0e7", | ||
"@parcel/workers": "2.0.0-nightly.335+2928e0e7", | ||
"abortcontroller-polyfill": "^1.1.9", | ||
@@ -51,3 +51,3 @@ "base-x": "^3.0.8", | ||
}, | ||
"gitHead": "131e9296aa1fdebdb4cccbf90d3ab0ae82934674" | ||
"gitHead": "2928e0e7e748eb58806a0cc661558ae1b2dd4ee2" | ||
} |
@@ -161,15 +161,17 @@ // @flow strict-local | ||
if (result && result.isExcluded) { | ||
return null; | ||
} | ||
if (result) { | ||
if (result.isExcluded) { | ||
return null; | ||
} | ||
if (result?.filePath != null) { | ||
return { | ||
filePath: result.filePath, | ||
sideEffects: result.sideEffects, | ||
code: result.code, | ||
env: dependency.env, | ||
pipeline: pipeline ?? dependency.pipeline, | ||
isURL: dependency.isURL, | ||
}; | ||
if (result.filePath != null) { | ||
return { | ||
filePath: result.filePath, | ||
sideEffects: result.sideEffects, | ||
code: result.code, | ||
env: dependency.env, | ||
pipeline: pipeline ?? dependency.pipeline, | ||
isURL: dependency.isURL, | ||
}; | ||
} | ||
} | ||
@@ -176,0 +178,0 @@ } catch (e) { |
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
759829
22259