@atlaspack/core 2.12.1-canary.3553 → 2.12.1-canary.3556
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.
|
@@ -255,7 +255,8 @@ class AtlaspackWorker {
|
|
|
255
255
|
code: [],
|
|
256
256
|
meta: mutableAsset.meta,
|
|
257
257
|
pipeline: mutableAsset.pipeline,
|
|
258
|
-
|
|
258
|
+
// Query should be undefined if it's empty
|
|
259
|
+
query: mutableAsset.query.toString() || undefined,
|
|
259
260
|
symbols: mutableAsset.symbols.intoNapi(),
|
|
260
261
|
uniqueKey: mutableAsset.uniqueKey,
|
|
261
262
|
sideEffects: mutableAsset.sideEffects,
|
|
@@ -158,7 +158,6 @@ function getAssetGraph(serializedGraph, options) {
|
|
|
158
158
|
asset.committed = true;
|
|
159
159
|
asset.contentKey = id;
|
|
160
160
|
asset.env.id = getEnvId(asset.env);
|
|
161
|
-
asset.meta.id = id;
|
|
162
161
|
if (asset.symbols != null) {
|
|
163
162
|
asset.symbols = new Map(asset.symbols.map(mapSymbols));
|
|
164
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.3556+d32468aff",
|
|
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.12.1-canary.
|
|
24
|
-
"@atlaspack/cache": "2.12.1-canary.
|
|
25
|
-
"@atlaspack/diagnostic": "2.12.1-canary.
|
|
26
|
-
"@atlaspack/events": "2.12.1-canary.
|
|
27
|
-
"@atlaspack/feature-flags": "2.12.1-canary.
|
|
28
|
-
"@atlaspack/fs": "2.12.1-canary.
|
|
29
|
-
"@atlaspack/graph": "3.2.1-canary.
|
|
30
|
-
"@atlaspack/logger": "2.12.1-canary.
|
|
31
|
-
"@atlaspack/package-manager": "2.12.1-canary.
|
|
32
|
-
"@atlaspack/plugin": "2.12.1-canary.
|
|
33
|
-
"@atlaspack/profiler": "2.12.1-canary.
|
|
34
|
-
"@atlaspack/rust": "2.12.1-canary.
|
|
35
|
-
"@atlaspack/types": "2.12.1-canary.
|
|
36
|
-
"@atlaspack/utils": "2.12.1-canary.
|
|
37
|
-
"@atlaspack/workers": "2.12.1-canary.
|
|
23
|
+
"@atlaspack/build-cache": "2.12.1-canary.3556+d32468aff",
|
|
24
|
+
"@atlaspack/cache": "2.12.1-canary.3556+d32468aff",
|
|
25
|
+
"@atlaspack/diagnostic": "2.12.1-canary.3556+d32468aff",
|
|
26
|
+
"@atlaspack/events": "2.12.1-canary.3556+d32468aff",
|
|
27
|
+
"@atlaspack/feature-flags": "2.12.1-canary.3556+d32468aff",
|
|
28
|
+
"@atlaspack/fs": "2.12.1-canary.3556+d32468aff",
|
|
29
|
+
"@atlaspack/graph": "3.2.1-canary.3556+d32468aff",
|
|
30
|
+
"@atlaspack/logger": "2.12.1-canary.3556+d32468aff",
|
|
31
|
+
"@atlaspack/package-manager": "2.12.1-canary.3556+d32468aff",
|
|
32
|
+
"@atlaspack/plugin": "2.12.1-canary.3556+d32468aff",
|
|
33
|
+
"@atlaspack/profiler": "2.12.1-canary.3556+d32468aff",
|
|
34
|
+
"@atlaspack/rust": "2.12.1-canary.3556+d32468aff",
|
|
35
|
+
"@atlaspack/types": "2.12.1-canary.3556+d32468aff",
|
|
36
|
+
"@atlaspack/utils": "2.12.1-canary.3556+d32468aff",
|
|
37
|
+
"@atlaspack/workers": "2.12.1-canary.3556+d32468aff",
|
|
38
38
|
"@mischnic/json-sourcemap": "^0.1.0",
|
|
39
39
|
"@parcel/source-map": "^2.1.1",
|
|
40
40
|
"base-x": "^3.0.8",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"browser": {
|
|
67
67
|
"./src/serializerCore.js": "./src/serializerCore.browser.js"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "d32468affac184f10d2167710022e72133ee162c"
|
|
70
70
|
}
|
|
@@ -274,7 +274,8 @@ export class AtlaspackWorker {
|
|
|
274
274
|
code: [],
|
|
275
275
|
meta: mutableAsset.meta,
|
|
276
276
|
pipeline: mutableAsset.pipeline,
|
|
277
|
-
|
|
277
|
+
// Query should be undefined if it's empty
|
|
278
|
+
query: mutableAsset.query.toString() || undefined,
|
|
278
279
|
symbols: mutableAsset.symbols.intoNapi(),
|
|
279
280
|
uniqueKey: mutableAsset.uniqueKey,
|
|
280
281
|
sideEffects: mutableAsset.sideEffects,
|
|
@@ -181,7 +181,6 @@ function getAssetGraph(serializedGraph, options) {
|
|
|
181
181
|
asset.committed = true;
|
|
182
182
|
asset.contentKey = id;
|
|
183
183
|
asset.env.id = getEnvId(asset.env);
|
|
184
|
-
asset.meta.id = id;
|
|
185
184
|
if (asset.symbols != null) {
|
|
186
185
|
asset.symbols = new Map(asset.symbols.map(mapSymbols));
|
|
187
186
|
}
|