@swc/core 1.5.3 → 1.5.5

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +55 -35
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,4 +1,59 @@
1
1
  # Changelog
2
+ ## [unreleased]
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+
8
+ - **(css/modules)** Allow any order of composes ([#8930](https://github.com/swc-project/swc/issues/8930)) ([7014c63](https://github.com/swc-project/swc/commit/7014c63625c7c9f83322931600a52c82ba8b107a))
9
+
10
+
11
+ - **(css/modules)** Fix `:global` selectors without preceding whitespace ([#8926](https://github.com/swc-project/swc/issues/8926)) ([2405dc6](https://github.com/swc-project/swc/commit/2405dc6ba0aa227df81fda3db303fc6f523972db))
12
+
13
+
14
+ - **(es/fixer)** Wrap class expressions in callee ([#8928](https://github.com/swc-project/swc/issues/8928)) ([6b60bdb](https://github.com/swc-project/swc/commit/6b60bdb69713f7ccf603db04696621985d200d28))
15
+
16
+
17
+ - **(es/minifier)** Respect `module: false` ([#8925](https://github.com/swc-project/swc/issues/8925)) ([aca6a77](https://github.com/swc-project/swc/commit/aca6a77903e31099f473587eb9285ae1c4dee309))
18
+
19
+
20
+ - **(es/minifier)** Consider side effects of operands of binary expressions ([#8929](https://github.com/swc-project/swc/issues/8929)) ([4d4a7a9](https://github.com/swc-project/swc/commit/4d4a7a9bcb39228973c0da2991310b5107feb319))
21
+
22
+
23
+ - **(es/minifier)** Fix operand handling of `**` ([#8933](https://github.com/swc-project/swc/issues/8933)) ([c9d72cd](https://github.com/swc-project/swc/commit/c9d72cdc6aa847ba2d81eb2a99c0d0c74bc669b6))
24
+
25
+
26
+ - **(es/minifier)** Fix a bug about `Tpl` => `Str` ([#8934](https://github.com/swc-project/swc/issues/8934)) ([d4be383](https://github.com/swc-project/swc/commit/d4be3833183b829bf39c0b53407b8892517256d9))
27
+
28
+
29
+ - **(es/module)** Resolve `.jsx` imports fully ([#8936](https://github.com/swc-project/swc/issues/8936)) ([c536d2a](https://github.com/swc-project/swc/commit/c536d2ad6f731e3284df48902637e6446e91a721))
30
+
31
+ ### Refactor
32
+
33
+
34
+
35
+ - **(es/minifier)** Remove unnecessary check ([#8927](https://github.com/swc-project/swc/issues/8927)) ([8932a1b](https://github.com/swc-project/swc/commit/8932a1b527a685917e7c24f5fd434a71468abcd8))
36
+
37
+ ## [1.5.4] - 2024-05-06
38
+
39
+ ### Bug Fixes
40
+
41
+
42
+
43
+ - **(es/decorators)** Handle ref of decorated class ([#8905](https://github.com/swc-project/swc/issues/8905)) ([af96e39](https://github.com/swc-project/swc/commit/af96e396dea75833f6ea814a019e43989b28e44a))
44
+
45
+
46
+ - **(es/minifier)** Increment `ref_count` while invoking IIFE ([#8904](https://github.com/swc-project/swc/issues/8904)) ([86e2bb0](https://github.com/swc-project/swc/commit/86e2bb04ac0ab98e242732d6a925660a6ee24fbb))
47
+
48
+
49
+ - **(es/proposal)** Fix scoping of explicit resource management pass ([#8903](https://github.com/swc-project/swc/issues/8903)) ([762b0d4](https://github.com/swc-project/swc/commit/762b0d447759a5596db2975fee7e95d80bf3fc72))
50
+
51
+ ### Miscellaneous Tasks
52
+
53
+
54
+
55
+ - **(bindings)** Update types ([#8912](https://github.com/swc-project/swc/issues/8912)) ([f1c2550](https://github.com/swc-project/swc/commit/f1c2550d89e6d175fe735b8c4889472e6688068c))
56
+
2
57
  ## [1.5.1] - 2024-04-27
3
58
 
4
59
  ### Bug Fixes
@@ -1280,24 +1335,12 @@
1280
1335
 
1281
1336
 
1282
1337
 
1283
- - **(ci)** Fix CI ([#8079](https://github.com/swc-project/swc/issues/8079)) ([7073e83](https://github.com/swc-project/swc/commit/7073e83f65ed5e98ee294c8e366a80b0a0f5921f))
1284
-
1285
-
1286
- - **(es/codegen)** Fix codegen of type-only imports ([#8070](https://github.com/swc-project/swc/issues/8070)) ([6f45b46](https://github.com/swc-project/swc/commit/6f45b4693e6d35bf05bacb89b65c7f013d0366a2))
1287
-
1288
-
1289
- - **(es/compat)** Handle `__proto__` edge case in `shorthand` pass ([#8077](https://github.com/swc-project/swc/issues/8077)) ([a912937](https://github.com/swc-project/swc/commit/a912937cea672ad4fbda057efc3a09283e3635fe))
1290
-
1291
-
1292
1338
  - **(es/compat)** Handle export default decorator only if not empty ([#8099](https://github.com/swc-project/swc/issues/8099)) ([bf523f5](https://github.com/swc-project/swc/commit/bf523f53513311d6c7d4a94f9a36bedd42230c09))
1293
1339
 
1294
1340
 
1295
1341
  - **(es/decorators)** Fix a regression about class expressions ([#8102](https://github.com/swc-project/swc/issues/8102)) ([cb4361f](https://github.com/swc-project/swc/commit/cb4361f2931cf222edbb449db6fe2c261c4b735d))
1296
1342
 
1297
1343
 
1298
- - **(es/helpers)** Override mistake in `_interop_require_wildcard` ([#8076](https://github.com/swc-project/swc/issues/8076)) ([1346528](https://github.com/swc-project/swc/commit/1346528477bd8c587f0ee0d5fa6969f397739ddb))
1299
-
1300
-
1301
1344
  - **(es/minifier)** Don't inline functions if `keep_fnames` is enabled ([#8093](https://github.com/swc-project/swc/issues/8093)) ([94bb42e](https://github.com/swc-project/swc/commit/94bb42e29418a8697ba0ab41dad2ffe63f1c32c7))
1302
1345
 
1303
1346
 
@@ -1306,12 +1349,6 @@
1306
1349
 
1307
1350
  - **(xtask)** Fix nightly command ([#8105](https://github.com/swc-project/swc/issues/8105)) ([db4ca65](https://github.com/swc-project/swc/commit/db4ca650e445e602f289f7964b24f7e2647beacd))
1308
1351
 
1309
- ### Features
1310
-
1311
-
1312
-
1313
- - **(css/parser)** Store lexed comments ([#8091](https://github.com/swc-project/swc/issues/8091)) ([d1097cc](https://github.com/swc-project/swc/commit/d1097ccb599c4343e3f80ca9bd793bbfce424e8b))
1314
-
1315
1352
  ### Miscellaneous Tasks
1316
1353
 
1317
1354
 
@@ -1322,26 +1359,9 @@
1322
1359
 
1323
1360
 
1324
1361
 
1325
- - **(atoms)** Remove usage of `js_word!` to drop `string-cache` ([#7976](https://github.com/swc-project/swc/issues/7976)) ([84cec87](https://github.com/swc-project/swc/commit/84cec8766db77062cc984c777dd716358ee8fd6e))
1326
-
1327
-
1328
1362
  - **(es/compat)** Split `swc_ecma_transforms_compat` ([#8110](https://github.com/swc-project/swc/issues/8110)) ([affb6fb](https://github.com/swc-project/swc/commit/affb6fb5e3e363f1eb4d42d4501a4a806c4060f7))
1329
1363
 
1330
1364
 
1331
- - **(es/module)** Reimplement some functions of module/typescript ([#8063](https://github.com/swc-project/swc/issues/8063)) ([3e5b062](https://github.com/swc-project/swc/commit/3e5b062cd2792703371bbbfeaf1be309e8280abd))
1332
-
1333
-
1334
- - **(es/parser)** Introduce `TokenKind` along with `Token` ([#8071](https://github.com/swc-project/swc/issues/8071)) ([9b9bc51](https://github.com/swc-project/swc/commit/9b9bc51c28fee51de9eeedf6d49fbe115d6052e6))
1335
-
1336
-
1337
1365
  - **(es/preset-env)** Rename parameter to avoid confusion ([#8106](https://github.com/swc-project/swc/issues/8106)) ([95eb147](https://github.com/swc-project/swc/commit/95eb147742ea1aa207845807a306847afc859702))
1338
1366
 
1339
- ## [1.3.92] - 2023-10-05
1340
-
1341
- ### Bug Fixes
1342
-
1343
-
1344
-
1345
- - **(es/compat)** Use `async` and `await` correctly in `block-scoping` pass ([#8056](https://github.com/swc-project/swc/issues/8056)) ([8318ea8](https://github.com/swc-project/swc/commit/8318ea82c28d3cf55e701f6da2f3077efe8ca653))
1346
-
1347
1367
  <!-- generated by git-cliff -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -173,15 +173,15 @@
173
173
  "@swc/types": "^0.1.5"
174
174
  },
175
175
  "optionalDependencies": {
176
- "@swc/core-darwin-x64": "1.5.3",
177
- "@swc/core-win32-x64-msvc": "1.5.3",
178
- "@swc/core-linux-x64-gnu": "1.5.3",
179
- "@swc/core-linux-x64-musl": "1.5.3",
180
- "@swc/core-win32-ia32-msvc": "1.5.3",
181
- "@swc/core-linux-arm-gnueabihf": "1.5.3",
182
- "@swc/core-linux-arm64-gnu": "1.5.3",
183
- "@swc/core-darwin-arm64": "1.5.3",
184
- "@swc/core-linux-arm64-musl": "1.5.3",
185
- "@swc/core-win32-arm64-msvc": "1.5.3"
176
+ "@swc/core-darwin-x64": "1.5.5",
177
+ "@swc/core-win32-x64-msvc": "1.5.5",
178
+ "@swc/core-linux-x64-gnu": "1.5.5",
179
+ "@swc/core-linux-x64-musl": "1.5.5",
180
+ "@swc/core-win32-ia32-msvc": "1.5.5",
181
+ "@swc/core-linux-arm-gnueabihf": "1.5.5",
182
+ "@swc/core-linux-arm64-gnu": "1.5.5",
183
+ "@swc/core-darwin-arm64": "1.5.5",
184
+ "@swc/core-linux-arm64-musl": "1.5.5",
185
+ "@swc/core-win32-arm64-msvc": "1.5.5"
186
186
  }
187
187
  }