@atlaspack/packager-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,14 @@
1
1
  # @atlaspack/packager-css
2
2
 
3
+ ## 2.14.30
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572)]:
8
+ - @atlaspack/types-internal@2.20.0
9
+ - @atlaspack/utils@2.19.2
10
+ - @atlaspack/plugin@2.14.30
11
+
3
12
  ## 2.14.29
4
13
 
5
14
  ### Patch Changes
@@ -292,9 +292,7 @@ bundle, asset) {
292
292
  }
293
293
  }
294
294
  if (!defaultImport && !usedSymbols.has('*')) {
295
- let usedLocalSymbols = new Set([...usedSymbols].map(exportSymbol =>
296
- // @ts-expect-error TS2731
297
- `.${(0, _nullthrows().default)(asset.symbols.get(exportSymbol)).local}`));
295
+ let usedLocalSymbols = new Set([...usedSymbols].map(exportSymbol => `.${(0, _nullthrows().default)(asset.symbols.get(exportSymbol)).local}`));
298
296
  ast.walkRules(rule => {
299
297
  if (localSymbols.has(rule.selector) && !usedLocalSymbols.has(rule.selector)) {
300
298
  rule.remove();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-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,10 +16,10 @@
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.14.1-canary.258+7a52bab62",
20
- "@atlaspack/plugin": "2.14.5-canary.190+7a52bab62",
21
- "@atlaspack/types-internal": "2.14.1-canary.258+7a52bab62",
22
- "@atlaspack/utils": "2.14.5-canary.190+7a52bab62",
19
+ "@atlaspack/diagnostic": "2.14.1-canary.260+dc6e4b2bb",
20
+ "@atlaspack/plugin": "2.14.5-canary.192+dc6e4b2bb",
21
+ "@atlaspack/types-internal": "2.14.1-canary.260+dc6e4b2bb",
22
+ "@atlaspack/utils": "2.14.5-canary.192+dc6e4b2bb",
23
23
  "@parcel/source-map": "^2.1.1",
24
24
  "lightningcss": "^1.28.2",
25
25
  "nullthrows": "^1.1.1"
@@ -36,5 +36,5 @@
36
36
  "check-ts": "tsc --emitDeclarationOnly --rootDir src",
37
37
  "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
38
38
  },
39
- "gitHead": "7a52bab6281e8edbfa66af248eb6f872c6b4b7bd"
39
+ "gitHead": "dc6e4b2bb99f371d225c296dbf96363fdac52333"
40
40
  }
@@ -337,7 +337,6 @@ async function processCSSModule(
337
337
  let usedLocalSymbols = new Set(
338
338
  [...usedSymbols].map(
339
339
  (exportSymbol) =>
340
- // @ts-expect-error TS2731
341
340
  `.${nullthrows(asset.symbols.get(exportSymbol)).local}`,
342
341
  ),
343
342
  );