Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parcel/core

Package Overview
Dependencies
Maintainers
1
Versions
889
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/core - npm Package Compare versions

Comparing version 2.0.0-nightly.297 to 2.0.0-nightly.300

2

lib/AssetGraphBuilder.js

@@ -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 @@

19

lib/Transformation.js

@@ -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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc