@parcel/core
Advanced tools
Comparing version 2.0.0-nightly.411 to 2.0.0-nightly.413
@@ -236,3 +236,3 @@ "use strict"; | ||
if (!this.options.disableCache) { | ||
if (!this.options.disableCache && !this.runtimesBuilder.requestTracker.hasInvalidRequests()) { | ||
cacheKey = await this.getCacheKey(graph, configResult); | ||
@@ -239,0 +239,0 @@ let cachedBundleGraph = await this.options.cache.get(cacheKey); |
@@ -657,5 +657,7 @@ "use strict"; | ||
let isInvalid = _classPrivateFieldGet(this, _assetGraphBuilder).respondToFSEvents(events); | ||
let sourceInvalid = _classPrivateFieldGet(this, _assetGraphBuilder).respondToFSEvents(events); | ||
if (isInvalid && _classPrivateFieldGet(this, _watchQueue).getNumWaiting() === 0) { | ||
let runtimeInvalid = _classPrivateFieldGet(this, _runtimesAssetGraphBuilder).respondToFSEvents(events); | ||
if ((sourceInvalid || runtimeInvalid) && _classPrivateFieldGet(this, _watchQueue).getNumWaiting() === 0) { | ||
if (_classPrivateFieldGet(this, _watchAbortController)) { | ||
@@ -662,0 +664,0 @@ _classPrivateFieldGet(this, _watchAbortController).abort(); |
{ | ||
"name": "@parcel/core", | ||
"version": "2.0.0-nightly.411+e1e1d8ab", | ||
"version": "2.0.0-nightly.413+b5f4d1c9", | ||
"license": "MIT", | ||
@@ -23,13 +23,13 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/cache": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/diagnostic": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/events": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/fs": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/logger": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/package-manager": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/plugin": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/cache": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/diagnostic": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/events": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/fs": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/logger": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/package-manager": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/plugin": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/source-map": "2.0.0-alpha.4.15", | ||
"@parcel/types": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/utils": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/workers": "2.0.0-nightly.413+e1e1d8ab", | ||
"@parcel/types": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/utils": "2.0.0-nightly.415+b5f4d1c9", | ||
"@parcel/workers": "2.0.0-nightly.415+b5f4d1c9", | ||
"abortcontroller-polyfill": "^1.1.9", | ||
@@ -52,3 +52,3 @@ "base-x": "^3.0.8", | ||
}, | ||
"gitHead": "e1e1d8ab39ecc6eb2b79db7783592ef85002a34c" | ||
"gitHead": "b5f4d1c9d952e0513545f863a04dcff6640ea2e8" | ||
} |
@@ -84,3 +84,6 @@ // @flow strict-local | ||
let cacheKey; | ||
if (!this.options.disableCache) { | ||
if ( | ||
!this.options.disableCache && | ||
!this.runtimesBuilder.requestTracker.hasInvalidRequests() | ||
) { | ||
cacheKey = await this.getCacheKey(graph, configResult); | ||
@@ -87,0 +90,0 @@ let cachedBundleGraph = await this.options.cache.get<InternalBundleGraph>( |
@@ -383,4 +383,10 @@ // @flow strict-local | ||
let isInvalid = this.#assetGraphBuilder.respondToFSEvents(events); | ||
if (isInvalid && this.#watchQueue.getNumWaiting() === 0) { | ||
let sourceInvalid = this.#assetGraphBuilder.respondToFSEvents(events); | ||
let runtimeInvalid = this.#runtimesAssetGraphBuilder.respondToFSEvents( | ||
events, | ||
); | ||
if ( | ||
(sourceInvalid || runtimeInvalid) && | ||
this.#watchQueue.getNumWaiting() === 0 | ||
) { | ||
if (this.#watchAbortController) { | ||
@@ -387,0 +393,0 @@ this.#watchAbortController.abort(); |
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
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
847824
25655