@atlaspack/core 2.14.1-dev.82 → 2.14.1-dev.91
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.
- package/lib/BundleGraph.js +4 -1
- package/package.json +17 -17
- package/src/BundleGraph.js +8 -1
package/lib/BundleGraph.js
CHANGED
|
@@ -832,7 +832,10 @@ class BundleGraph {
|
|
|
832
832
|
// If this asset is referenced by any async dependency, it's referenced.
|
|
833
833
|
return true;
|
|
834
834
|
}
|
|
835
|
-
let dependencies = this._graph.getNodeIdsConnectedTo(assetNodeId,
|
|
835
|
+
let dependencies = this._graph.getNodeIdsConnectedTo(assetNodeId,
|
|
836
|
+
// TODO: This seems like bug with library builds when assets are present
|
|
837
|
+
// in other files. Guarding the fix for now exclusively for super builds
|
|
838
|
+
process.env.ATLASPACK_SUPER_BUILD === 'true' ? _graph().ALL_EDGE_TYPES : undefined).map(id => (0, _nullthrows().default)(this._graph.getNode(id))).filter(node => node.type === 'dependency').map(node => {
|
|
836
839
|
(0, _assert().default)(node.type === 'dependency');
|
|
837
840
|
return node.value;
|
|
838
841
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/core",
|
|
3
|
-
"version": "2.14.1-dev.
|
|
3
|
+
"version": "2.14.1-dev.91+08020e0e1",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
"check-ts": "tsc --noEmit index.d.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaspack/build-cache": "2.13.3-dev.
|
|
24
|
-
"@atlaspack/cache": "2.13.3-dev.
|
|
25
|
-
"@atlaspack/diagnostic": "2.14.1-dev.
|
|
26
|
-
"@atlaspack/events": "2.14.1-dev.
|
|
27
|
-
"@atlaspack/feature-flags": "2.14.1-dev.
|
|
28
|
-
"@atlaspack/fs": "2.14.1-dev.
|
|
29
|
-
"@atlaspack/graph": "3.4.1-dev.
|
|
30
|
-
"@atlaspack/logger": "2.14.1-dev.
|
|
31
|
-
"@atlaspack/package-manager": "2.14.1-dev.
|
|
32
|
-
"@atlaspack/plugin": "2.14.1-dev.
|
|
33
|
-
"@atlaspack/profiler": "2.14.1-dev.
|
|
34
|
-
"@atlaspack/rust": "3.0.1-dev.
|
|
35
|
-
"@atlaspack/types": "2.14.1-dev.
|
|
36
|
-
"@atlaspack/utils": "2.14.1-dev.
|
|
37
|
-
"@atlaspack/workers": "2.14.1-dev.
|
|
23
|
+
"@atlaspack/build-cache": "2.13.3-dev.91+08020e0e1",
|
|
24
|
+
"@atlaspack/cache": "2.13.3-dev.91+08020e0e1",
|
|
25
|
+
"@atlaspack/diagnostic": "2.14.1-dev.91+08020e0e1",
|
|
26
|
+
"@atlaspack/events": "2.14.1-dev.91+08020e0e1",
|
|
27
|
+
"@atlaspack/feature-flags": "2.14.1-dev.91+08020e0e1",
|
|
28
|
+
"@atlaspack/fs": "2.14.1-dev.91+08020e0e1",
|
|
29
|
+
"@atlaspack/graph": "3.4.1-dev.91+08020e0e1",
|
|
30
|
+
"@atlaspack/logger": "2.14.1-dev.91+08020e0e1",
|
|
31
|
+
"@atlaspack/package-manager": "2.14.1-dev.91+08020e0e1",
|
|
32
|
+
"@atlaspack/plugin": "2.14.1-dev.91+08020e0e1",
|
|
33
|
+
"@atlaspack/profiler": "2.14.1-dev.91+08020e0e1",
|
|
34
|
+
"@atlaspack/rust": "3.0.1-dev.91+08020e0e1",
|
|
35
|
+
"@atlaspack/types": "2.14.1-dev.91+08020e0e1",
|
|
36
|
+
"@atlaspack/utils": "2.14.1-dev.91+08020e0e1",
|
|
37
|
+
"@atlaspack/workers": "2.14.1-dev.91+08020e0e1",
|
|
38
38
|
"@mischnic/json-sourcemap": "^0.1.0",
|
|
39
39
|
"@parcel/source-map": "^2.1.1",
|
|
40
40
|
"base-x": "^3.0.8",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"./src/serializerCore.js": "./src/serializerCore.browser.js"
|
|
68
68
|
},
|
|
69
69
|
"type": "commonjs",
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "08020e0e18819f3e15e74726f9ffa697892f7bfa"
|
|
71
71
|
}
|
package/src/BundleGraph.js
CHANGED
|
@@ -1315,7 +1315,14 @@ export default class BundleGraph {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
let dependencies = this._graph
|
|
1318
|
-
.getNodeIdsConnectedTo(
|
|
1318
|
+
.getNodeIdsConnectedTo(
|
|
1319
|
+
assetNodeId,
|
|
1320
|
+
// TODO: This seems like bug with library builds when assets are present
|
|
1321
|
+
// in other files. Guarding the fix for now exclusively for super builds
|
|
1322
|
+
process.env.ATLASPACK_SUPER_BUILD === 'true'
|
|
1323
|
+
? ALL_EDGE_TYPES
|
|
1324
|
+
: undefined,
|
|
1325
|
+
)
|
|
1319
1326
|
.map((id) => nullthrows(this._graph.getNode(id)))
|
|
1320
1327
|
.filter((node) => node.type === 'dependency')
|
|
1321
1328
|
.map((node) => {
|