@swc/core 1.4.13 → 1.4.14
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 +47 -52
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,53 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/compat)** Handle class fields correctly ([#8835](https://github.com/swc-project/swc/issues/8835)) ([5cc585b](https://github.com/swc-project/swc/commit/5cc585b8f3359d960420e31a91f53c761c90f3f5))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/helpers)** Add missing helpers ([#8843](https://github.com/swc-project/swc/issues/8843)) ([67bfcf4](https://github.com/swc-project/swc/commit/67bfcf41f59699ebb5286211fcc2cf5546f94376))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Handle switch cases ([#8854](https://github.com/swc-project/swc/issues/8854)) ([7a89e5d](https://github.com/swc-project/swc/commit/7a89e5da3be25d00e5cc18b46c847f0e8de54022))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/plugin)** Create `tokio` runtime only if necessary ([#8845](https://github.com/swc-project/swc/issues/8845)) ([62c4f5e](https://github.com/swc-project/swc/commit/62c4f5efb84daa5f9e7f88bbbfddd7823bb1355d))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/resolver)** Correctly check strict mode ([#8851](https://github.com/swc-project/swc/issues/8851)) ([f6ba92b](https://github.com/swc-project/swc/commit/f6ba92b033c3594c69672a33df124ecf6429f450))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/utils)** Preserve optional chain effect ([#8850](https://github.com/swc-project/swc/issues/8850)) ([a7a32c4](https://github.com/swc-project/swc/commit/a7a32c4b6c2089dfbe9be2f70a0c4712e9feeef4))
|
|
24
|
+
|
|
25
|
+
### Documentation
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(swc_core)** Resolve build issue with `--all-features` flag ([#8848](https://github.com/swc-project/swc/issues/8848)) ([c0d901e](https://github.com/swc-project/swc/commit/c0d901eac6539940ce1956ec5031f624c4c049f0))
|
|
30
|
+
|
|
31
|
+
### Refactor
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es)** Make the code compile with `miri` ([#8836](https://github.com/swc-project/swc/issues/8836)) ([3a51140](https://github.com/swc-project/swc/commit/3a51140dd77ccf2cc35098a72c411b05de418ff1))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/decorator)** Remove unsafe code ([#8839](https://github.com/swc-project/swc/issues/8839)) ([e8c6344](https://github.com/swc-project/swc/commit/e8c63447f64076de64002bcb5a3124b809df44ed))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(visit)** Simplify `Vec::move_map` ([#8838](https://github.com/swc-project/swc/issues/8838)) ([b1973d4](https://github.com/swc-project/swc/commit/b1973d490afc8e4bc597192caab7a3aa8eb2701d))
|
|
42
|
+
|
|
43
|
+
### Testing
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es)** Update `conformance` test suite from `tsc` ([#8834](https://github.com/swc-project/swc/issues/8834)) ([ea5d9cc](https://github.com/swc-project/swc/commit/ea5d9cc52413a1270e25af93c353baf10282fd86))
|
|
48
|
+
|
|
49
|
+
## [1.4.13] - 2024-04-09
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
8
55
|
- **(es/decorators)** Fix capacity overflow with decorators ([#8818](https://github.com/swc-project/swc/issues/8818)) ([9ed93c1](https://github.com/swc-project/swc/commit/9ed93c17cdb645274392ebdb9ad87f8fbeeed971))
|
|
9
56
|
|
|
10
57
|
|
|
@@ -1324,56 +1371,4 @@
|
|
|
1324
1371
|
|
|
1325
1372
|
- **(es/minifier)** Do not inline into a template literal with sequential inliner ([#7971](https://github.com/swc-project/swc/issues/7971)) ([b3d3a7b](https://github.com/swc-project/swc/commit/b3d3a7bc7339776e57ca402e77cf3fb22c774784))
|
|
1326
1373
|
|
|
1327
|
-
## [1.3.86] - 2023-09-18
|
|
1328
|
-
|
|
1329
|
-
### Bug Fixes
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
- **(es/compat)** Handle `PrivateName` in `logical_assignments` ([#7958](https://github.com/swc-project/swc/issues/7958)) ([28318f0](https://github.com/swc-project/swc/commit/28318f09ed358b2baa155141bc715c25f658a2eb))
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
- **(es/minifier)** Handle `ModuleDecl` when transform const modules ([#7959](https://github.com/swc-project/swc/issues/7959)) ([06ca1fe](https://github.com/swc-project/swc/commit/06ca1fe0a03954883750c3c39d0163fc29596ad1))
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
- **(es/module)** Preserve import specifier if resolving fails ([#7955](https://github.com/swc-project/swc/issues/7955)) ([be5b02a](https://github.com/swc-project/swc/commit/be5b02a8cfe2a2c1c399a4f9404b8fd097084234))
|
|
1340
|
-
|
|
1341
|
-
### Miscellaneous Tasks
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
- **(es/preset-env)** Add the repository url to `Cargo.toml` ([#7941](https://github.com/swc-project/swc/issues/7941)) ([ca22359](https://github.com/swc-project/swc/commit/ca22359dbd0ca6e2e925bdc240939f6bd6e9ac9a))
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
- **(es/preset-env)** Ignore `tp` in the version of a browser version ([#7968](https://github.com/swc-project/swc/issues/7968)) ([005ddc5](https://github.com/swc-project/swc/commit/005ddc573e3752183783cc25dd6242b750f8beb5))
|
|
1349
|
-
|
|
1350
|
-
### Refactor
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
- **(es/lint)** Remove usage of `box_patterns` ([#7966](https://github.com/swc-project/swc/issues/7966)) ([f7b5e16](https://github.com/swc-project/swc/commit/f7b5e16aef968c9c9f38f40962edf334cc3983e6))
|
|
1355
|
-
|
|
1356
|
-
### Build
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
- **(bindings/node)** Link msvc runtime statically ([#7965](https://github.com/swc-project/swc/issues/7965)) ([0759779](https://github.com/swc-project/swc/commit/07597795cc39cce527f505bc5db304ad93082494))
|
|
1361
|
-
|
|
1362
|
-
## [1.3.85] - 2023-09-15
|
|
1363
|
-
|
|
1364
|
-
### Bug Fixes
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
- **(css/modules)** Support composes when using multiple subclass selectors ([#7949](https://github.com/swc-project/swc/issues/7949)) ([05ca19b](https://github.com/swc-project/swc/commit/05ca19b84489ae47f69d8228b3c0097164c7ec6e))
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
- **(es/compat)** Handle single expression case in static block ([#7944](https://github.com/swc-project/swc/issues/7944)) ([a80aec4](https://github.com/swc-project/swc/commit/a80aec47efcff953d3408cf6910b66c2312f3006))
|
|
1372
|
-
|
|
1373
|
-
### Features
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
- **(es/module)** Add an option to make resolver fully resolve `index.js` ([#7945](https://github.com/swc-project/swc/issues/7945)) ([7e8d72d](https://github.com/swc-project/swc/commit/7e8d72d03b312b7a48c17afa8d2a4d7f4e802a6a))
|
|
1378
|
-
|
|
1379
1374
|
<!-- generated by git-cliff -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.14",
|
|
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.4.
|
|
177
|
-
"@swc/core-win32-x64-msvc": "1.4.
|
|
178
|
-
"@swc/core-linux-x64-gnu": "1.4.
|
|
179
|
-
"@swc/core-linux-x64-musl": "1.4.
|
|
180
|
-
"@swc/core-win32-ia32-msvc": "1.4.
|
|
181
|
-
"@swc/core-linux-arm-gnueabihf": "1.4.
|
|
182
|
-
"@swc/core-linux-arm64-gnu": "1.4.
|
|
183
|
-
"@swc/core-darwin-arm64": "1.4.
|
|
184
|
-
"@swc/core-linux-arm64-musl": "1.4.
|
|
185
|
-
"@swc/core-win32-arm64-msvc": "1.4.
|
|
176
|
+
"@swc/core-darwin-x64": "1.4.14",
|
|
177
|
+
"@swc/core-win32-x64-msvc": "1.4.14",
|
|
178
|
+
"@swc/core-linux-x64-gnu": "1.4.14",
|
|
179
|
+
"@swc/core-linux-x64-musl": "1.4.14",
|
|
180
|
+
"@swc/core-win32-ia32-msvc": "1.4.14",
|
|
181
|
+
"@swc/core-linux-arm-gnueabihf": "1.4.14",
|
|
182
|
+
"@swc/core-linux-arm64-gnu": "1.4.14",
|
|
183
|
+
"@swc/core-darwin-arm64": "1.4.14",
|
|
184
|
+
"@swc/core-linux-arm64-musl": "1.4.14",
|
|
185
|
+
"@swc/core-win32-arm64-msvc": "1.4.14"
|
|
186
186
|
}
|
|
187
187
|
}
|