@atlaspack/transformer-css 2.14.5-canary.190 → 2.14.5-canary.192

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaspack/transformer-css
2
2
 
3
+ ## 2.14.30
4
+
5
+ ### Patch Changes
6
+
7
+ - [#779](https://github.com/atlassian-labs/atlaspack/pull/779) [`7a52bab`](https://github.com/atlassian-labs/atlaspack/commit/7a52bab6281e8edbfa66af248eb6f872c6b4b7bd) Thanks [@marcins](https://github.com/marcins)! - Add new feature flag `preserveUnstableSingleFileOutputInCss` which when enabled will ensure the `unstableSingleFileOutput` property on the asset environment is preserved when transforming CSS.
8
+
9
+ - Updated dependencies [[`7a52bab`](https://github.com/atlassian-labs/atlaspack/commit/7a52bab6281e8edbfa66af248eb6f872c6b4b7bd), [`038e87a`](https://github.com/atlassian-labs/atlaspack/commit/038e87a7858d39556d59d3a2d17db534d45f62c6), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572), [`602f8ed`](https://github.com/atlassian-labs/atlaspack/commit/602f8ed9d8381301df8b2cc82c1d5cf6f2f94fec)]:
10
+ - @atlaspack/feature-flags@2.25.0
11
+ - @atlaspack/utils@2.19.2
12
+ - @atlaspack/plugin@2.14.30
13
+ - @atlaspack/types@2.15.20
14
+
3
15
  ## 2.14.29
4
16
 
5
17
  ### Patch Changes
@@ -273,7 +273,6 @@ var _default = exports.default = new (_plugin().Transformer)({
273
273
  // @ts-expect-error TS2339
274
274
  let exports = res.exports;
275
275
  asset.symbols.ensure();
276
- // @ts-expect-error TS2345
277
276
  asset.symbols.set('default', 'default');
278
277
  let dependencies = new Map();
279
278
  let locals = new Map();
@@ -336,7 +335,6 @@ var _default = exports.default = new (_plugin().Transformer)({
336
335
  asset.addDependency({
337
336
  specifier: (0, _nullthrows().default)(asset.uniqueKey),
338
337
  specifierType: 'esm',
339
- // @ts-expect-error TS2322
340
338
  symbols: new Map([[key, {
341
339
  local: exports[key].name,
342
340
  isWeak: false,
@@ -350,7 +348,6 @@ var _default = exports.default = new (_plugin().Transformer)({
350
348
  // It's possible that the exports can be ordered differently between builds.
351
349
  // Sorting by key is safe as the order is irrelevant but needs to be deterministic.
352
350
  for (let key of Object.keys(exports).sort()) {
353
- // @ts-expect-error TS2345
354
351
  asset.symbols.set(key, exports[key].name);
355
352
  add(key);
356
353
  }
@@ -361,7 +358,6 @@ var _default = exports.default = new (_plugin().Transformer)({
361
358
  let d = `dep_$${c++}`;
362
359
  depjs += `import * as ${d} from ${JSON.stringify(dep.url)};\n`;
363
360
  js += `for (let key in ${d}) { if (key in module.exports) module.exports[key] += ' ' + ${d}[key]; else module.exports[key] = ${d}[key]; }\n`;
364
- // @ts-expect-error TS2345
365
361
  asset.symbols.set('*', '*');
366
362
  }
367
363
  }
@@ -377,7 +373,6 @@ var _default = exports.default = new (_plugin().Transformer)({
377
373
  specifier: reference.specifier,
378
374
  specifierType: 'esm',
379
375
  packageConditions: ['style'],
380
- // @ts-expect-error TS2322
381
376
  symbols: new Map([[reference.name, {
382
377
  local: symbol,
383
378
  isWeak: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-css",
3
- "version": "2.14.5-canary.190+7a52bab62",
3
+ "version": "2.14.5-canary.192+dc6e4b2bb",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,11 +16,11 @@
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.14.1-canary.258+7a52bab62",
20
- "@atlaspack/feature-flags": "2.14.1-canary.258+7a52bab62",
21
- "@atlaspack/plugin": "2.14.5-canary.190+7a52bab62",
22
- "@atlaspack/types": "2.14.5-canary.190+7a52bab62",
23
- "@atlaspack/utils": "2.14.5-canary.190+7a52bab62",
19
+ "@atlaspack/diagnostic": "2.14.1-canary.260+dc6e4b2bb",
20
+ "@atlaspack/feature-flags": "2.14.1-canary.260+dc6e4b2bb",
21
+ "@atlaspack/plugin": "2.14.5-canary.192+dc6e4b2bb",
22
+ "@atlaspack/types": "2.14.5-canary.192+dc6e4b2bb",
23
+ "@atlaspack/utils": "2.14.5-canary.192+dc6e4b2bb",
24
24
  "@parcel/source-map": "^2.1.1",
25
25
  "browserslist": "^4.6.6",
26
26
  "lightningcss": "^1.28.2",
@@ -37,5 +37,5 @@
37
37
  "check-ts": "tsc --emitDeclarationOnly --rootDir src",
38
38
  "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
39
39
  },
40
- "gitHead": "7a52bab6281e8edbfa66af248eb6f872c6b4b7bd"
40
+ "gitHead": "dc6e4b2bb99f371d225c296dbf96363fdac52333"
41
41
  }
@@ -256,7 +256,6 @@ export default new Transformer({
256
256
  // @ts-expect-error TS2339
257
257
  let exports = res.exports;
258
258
  asset.symbols.ensure();
259
- // @ts-expect-error TS2345
260
259
  asset.symbols.set('default', 'default');
261
260
 
262
261
  let dependencies = new Map();
@@ -327,7 +326,7 @@ export default new Transformer({
327
326
  asset.addDependency({
328
327
  specifier: nullthrows(asset.uniqueKey),
329
328
  specifierType: 'esm',
330
- // @ts-expect-error TS2322
329
+
331
330
  symbols: new Map([
332
331
  [key, {local: exports[key].name, isWeak: false, loc: null}],
333
332
  ]),
@@ -340,7 +339,6 @@ export default new Transformer({
340
339
  // It's possible that the exports can be ordered differently between builds.
341
340
  // Sorting by key is safe as the order is irrelevant but needs to be deterministic.
342
341
  for (let key of Object.keys(exports).sort()) {
343
- // @ts-expect-error TS2345
344
342
  asset.symbols.set(key, exports[key].name);
345
343
  add(key);
346
344
  }
@@ -352,7 +350,7 @@ export default new Transformer({
352
350
  let d = `dep_$${c++}`;
353
351
  depjs += `import * as ${d} from ${JSON.stringify(dep.url)};\n`;
354
352
  js += `for (let key in ${d}) { if (key in module.exports) module.exports[key] += ' ' + ${d}[key]; else module.exports[key] = ${d}[key]; }\n`;
355
- // @ts-expect-error TS2345
353
+
356
354
  asset.symbols.set('*', '*');
357
355
  }
358
356
  }
@@ -368,7 +366,6 @@ export default new Transformer({
368
366
  specifier: reference.specifier,
369
367
  specifierType: 'esm',
370
368
  packageConditions: ['style'],
371
- // @ts-expect-error TS2322
372
369
  symbols: new Map([
373
370
  [reference.name, {local: symbol, isWeak: false, loc: null}],
374
371
  ]),