@parcel/packager-react-static 2.14.1-canary.3417 → 2.14.2-canary.3422
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -443,7 +443,7 @@ function runModule(code, filename, id, require, parcelRequire) {
|
|
|
443
443
|
return module.exports;
|
|
444
444
|
}
|
|
445
445
|
function getCacheKey(asset) {
|
|
446
|
-
return asset.filePath + '#' + asset.env.context;
|
|
446
|
+
return asset.filePath + '#' + asset.env.context + (asset.uniqueKey ? '-' + asset.uniqueKey : '');
|
|
447
447
|
}
|
|
448
448
|
function getSpecifier(dep) {
|
|
449
449
|
if (typeof dep.meta.placeholder === 'string') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcel/packager-react-static",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.2-canary.3422+9dec3d8a5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"source": "src/ReactStaticPackager.js",
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">= 16.0.0",
|
|
20
|
-
"parcel": "^2.0.0-canary.
|
|
20
|
+
"parcel": "^2.0.0-canary.1797+9dec3d8a5"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@parcel/node-resolver-core": "3.5.
|
|
24
|
-
"@parcel/plugin": "2.0.0-canary.
|
|
25
|
-
"@parcel/rust": "2.14.
|
|
26
|
-
"@parcel/types": "2.0.0-canary.
|
|
27
|
-
"@parcel/utils": "2.0.0-canary.
|
|
23
|
+
"@parcel/node-resolver-core": "3.5.2-canary.3422+9dec3d8a5",
|
|
24
|
+
"@parcel/plugin": "2.0.0-canary.1799+9dec3d8a5",
|
|
25
|
+
"@parcel/rust": "2.14.2-canary.3422+9dec3d8a5",
|
|
26
|
+
"@parcel/types": "2.0.0-canary.1799+9dec3d8a5",
|
|
27
|
+
"@parcel/utils": "2.0.0-canary.1799+9dec3d8a5",
|
|
28
28
|
"nullthrows": "^1.1.1",
|
|
29
29
|
"rsc-html-stream": "^0.0.4"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "9dec3d8a5c6ff99aec83492fae8ef6b7c305dad5"
|
|
32
32
|
}
|
|
@@ -509,7 +509,12 @@ function runModule(
|
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
function getCacheKey(asset: Asset) {
|
|
512
|
-
return
|
|
512
|
+
return (
|
|
513
|
+
asset.filePath +
|
|
514
|
+
'#' +
|
|
515
|
+
asset.env.context +
|
|
516
|
+
(asset.uniqueKey ? '-' + asset.uniqueKey : '')
|
|
517
|
+
);
|
|
513
518
|
}
|
|
514
519
|
|
|
515
520
|
function getSpecifier(dep: Dependency) {
|