@parcel/core
Advanced tools
Comparing version 2.0.0-nightly.297 to 2.0.0-nightly.300
@@ -136,4 +136,2 @@ "use strict"; | ||
this.runValidate = workerFarm.createHandle('runValidate'); | ||
this.handle = workerFarm.createReverseHandle(() => {// Do nothing, this is here because there is a bug in `@parcel/workers` | ||
}); | ||
let changes = await this.readFromCache(); | ||
@@ -140,0 +138,0 @@ |
@@ -436,16 +436,3 @@ "use strict"; | ||
})))).filePath; | ||
}; // Load config for the transformer. | ||
let config = preloadedConfig; | ||
if (transformer.getConfig) { | ||
// TODO: deprecate getConfig | ||
config = await transformer.getConfig({ | ||
asset: new _Asset.MutableAsset(asset), | ||
options: pipeline.pluginOptions, | ||
resolve, | ||
logger | ||
}); | ||
} // If an ast exists on the asset, but we cannot reuse it, | ||
}; // If an ast exists on the asset, but we cannot reuse it, | ||
// use the previous transform to generate code that we can re-parse. | ||
@@ -464,5 +451,7 @@ | ||
asset.mapBuffer = (_output$map2 = output.map) === null || _output$map2 === void 0 ? void 0 : _output$map2.toBuffer(); | ||
} // Parse if there is no AST available from a previous transform. | ||
} // Load config for the transformer. | ||
let config = preloadedConfig; // Parse if there is no AST available from a previous transform. | ||
if (!asset.ast && transformer.parse) { | ||
@@ -469,0 +458,0 @@ let ast = await transformer.parse({ |
{ | ||
"name": "@parcel/core", | ||
"version": "2.0.0-nightly.297+b8a91616", | ||
"version": "2.0.0-nightly.300+509b0ba8", | ||
"license": "MIT", | ||
@@ -19,13 +19,13 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/cache": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/diagnostic": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/events": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/fs": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/logger": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/package-manager": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/plugin": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/cache": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/diagnostic": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/events": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/fs": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/logger": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/package-manager": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/plugin": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/source-map": "2.0.0-alpha.4.13", | ||
"@parcel/types": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/utils": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/workers": "2.0.0-nightly.299+b8a91616", | ||
"@parcel/types": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/utils": "2.0.0-nightly.302+509b0ba8", | ||
"@parcel/workers": "2.0.0-nightly.302+509b0ba8", | ||
"abortcontroller-polyfill": "^1.1.9", | ||
@@ -46,3 +46,3 @@ "browserslist": "^4.6.6", | ||
}, | ||
"gitHead": "b8a91616850d754b85d64d821b4d765aa43a2de9" | ||
"gitHead": "509b0ba8e76b73a2c97d4526d0f190bceade71e2" | ||
} |
@@ -112,5 +112,2 @@ // @flow strict-local | ||
this.runValidate = workerFarm.createHandle('runValidate'); | ||
this.handle = workerFarm.createReverseHandle(() => { | ||
// Do nothing, this is here because there is a bug in `@parcel/workers` | ||
}); | ||
@@ -117,0 +114,0 @@ let changes = await this.readFromCache(); |
@@ -538,14 +538,2 @@ // @flow strict-local | ||
// Load config for the transformer. | ||
let config = preloadedConfig; | ||
if (transformer.getConfig) { | ||
// TODO: deprecate getConfig | ||
config = await transformer.getConfig({ | ||
asset: new MutableAsset(asset), | ||
options: pipeline.pluginOptions, | ||
resolve, | ||
logger, | ||
}); | ||
} | ||
// If an ast exists on the asset, but we cannot reuse it, | ||
@@ -569,2 +557,5 @@ // use the previous transform to generate code that we can re-parse. | ||
// Load config for the transformer. | ||
let config = preloadedConfig; | ||
// Parse if there is no AST available from a previous transform. | ||
@@ -571,0 +562,0 @@ if (!asset.ast && transformer.parse) { |
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
736845
21546
7