@atlaspack/core 2.12.1-canary.3448 → 2.12.1-canary.3449
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/AssetGraph.js +5 -1
- package/package.json +16 -16
- package/src/AssetGraph.js +5 -3
package/lib/AssetGraph.js
CHANGED
|
@@ -153,7 +153,11 @@ class AssetGraph extends _graph().ContentGraph {
|
|
|
153
153
|
nodes.push(node);
|
|
154
154
|
}
|
|
155
155
|
} else if (assetGroups) {
|
|
156
|
-
|
|
156
|
+
for (const assetGroup of assetGroups) {
|
|
157
|
+
// Adding nodes individually ensures we do not encounter a range stack size exceeded error
|
|
158
|
+
// when there are >100000 asset groups
|
|
159
|
+
nodes.push(nodeFromAssetGroup(assetGroup));
|
|
160
|
+
}
|
|
157
161
|
}
|
|
158
162
|
this.replaceNodeIdsConnectedTo((0, _nullthrows().default)(this.rootNodeId), nodes.map(node => this.addNode(node)));
|
|
159
163
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/core",
|
|
3
|
-
"version": "2.12.1-canary.
|
|
3
|
+
"version": "2.12.1-canary.3449+741f0a6ef",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"check-ts": "tsc --noEmit index.d.ts"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaspack/cache": "2.12.1-canary.
|
|
24
|
-
"@atlaspack/diagnostic": "2.12.1-canary.
|
|
25
|
-
"@atlaspack/events": "2.12.1-canary.
|
|
26
|
-
"@atlaspack/feature-flags": "2.12.1-canary.
|
|
27
|
-
"@atlaspack/fs": "2.12.1-canary.
|
|
28
|
-
"@atlaspack/graph": "3.2.1-canary.
|
|
29
|
-
"@atlaspack/logger": "2.12.1-canary.
|
|
30
|
-
"@atlaspack/package-manager": "2.12.1-canary.
|
|
31
|
-
"@atlaspack/plugin": "2.12.1-canary.
|
|
32
|
-
"@atlaspack/profiler": "2.12.1-canary.
|
|
33
|
-
"@atlaspack/rust": "2.12.1-canary.
|
|
34
|
-
"@atlaspack/types": "2.12.1-canary.
|
|
35
|
-
"@atlaspack/utils": "2.12.1-canary.
|
|
36
|
-
"@atlaspack/workers": "2.12.1-canary.
|
|
23
|
+
"@atlaspack/cache": "2.12.1-canary.3449+741f0a6ef",
|
|
24
|
+
"@atlaspack/diagnostic": "2.12.1-canary.3449+741f0a6ef",
|
|
25
|
+
"@atlaspack/events": "2.12.1-canary.3449+741f0a6ef",
|
|
26
|
+
"@atlaspack/feature-flags": "2.12.1-canary.3449+741f0a6ef",
|
|
27
|
+
"@atlaspack/fs": "2.12.1-canary.3449+741f0a6ef",
|
|
28
|
+
"@atlaspack/graph": "3.2.1-canary.3449+741f0a6ef",
|
|
29
|
+
"@atlaspack/logger": "2.12.1-canary.3449+741f0a6ef",
|
|
30
|
+
"@atlaspack/package-manager": "2.12.1-canary.3449+741f0a6ef",
|
|
31
|
+
"@atlaspack/plugin": "2.12.1-canary.3449+741f0a6ef",
|
|
32
|
+
"@atlaspack/profiler": "2.12.1-canary.3449+741f0a6ef",
|
|
33
|
+
"@atlaspack/rust": "2.12.1-canary.3449+741f0a6ef",
|
|
34
|
+
"@atlaspack/types": "2.12.1-canary.3449+741f0a6ef",
|
|
35
|
+
"@atlaspack/utils": "2.12.1-canary.3449+741f0a6ef",
|
|
36
|
+
"@atlaspack/workers": "2.12.1-canary.3449+741f0a6ef",
|
|
37
37
|
"@mischnic/json-sourcemap": "^0.1.0",
|
|
38
38
|
"@parcel/source-map": "^2.1.1",
|
|
39
39
|
"base-x": "^3.0.8",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"browser": {
|
|
58
58
|
"./src/serializerCore.js": "./src/serializerCore.browser.js"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "741f0a6efd61aa7af5d5ca419b360c2b7127b387"
|
|
61
61
|
}
|
package/src/AssetGraph.js
CHANGED
|
@@ -168,9 +168,11 @@ export default class AssetGraph extends ContentGraph<AssetGraphNode> {
|
|
|
168
168
|
nodes.push(node);
|
|
169
169
|
}
|
|
170
170
|
} else if (assetGroups) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
for (const assetGroup of assetGroups) {
|
|
172
|
+
// Adding nodes individually ensures we do not encounter a range stack size exceeded error
|
|
173
|
+
// when there are >100000 asset groups
|
|
174
|
+
nodes.push(nodeFromAssetGroup(assetGroup));
|
|
175
|
+
}
|
|
174
176
|
}
|
|
175
177
|
this.replaceNodeIdsConnectedTo(
|
|
176
178
|
nullthrows(this.rootNodeId),
|