@swc/core 1.4.3-nightly-20240304.1 → 1.4.4

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 +19 -25
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Changelog
2
- ## [unreleased]
2
+ ## [1.4.3] - 2024-03-05
3
3
 
4
4
  ### Bug Fixes
5
5
 
@@ -20,12 +20,24 @@
20
20
  - **(es/compat)** Split declaration and init in `block-scoping` pass ([#8648](https://github.com/swc-project/swc/issues/8648)) ([6fe6810](https://github.com/swc-project/swc/commit/6fe6810c492ca20ad73d1536e328ddb804533537))
21
21
 
22
22
 
23
+ - **(es/decorators)** Handle default exported class ([#8691](https://github.com/swc-project/swc/issues/8691)) ([570483a](https://github.com/swc-project/swc/commit/570483ae48c532d6aa169d38bddca5b767ead8f3))
24
+
25
+
26
+ - **(es/module)** Allow `FileName::Anon` from node resolver ([#8686](https://github.com/swc-project/swc/issues/8686)) ([761365e](https://github.com/swc-project/swc/commit/761365eb56254005ddbbfc8079cf1376e5edbd32))
27
+
28
+
23
29
  - **(es/modules)** Do not call `Path::parent()` for `FileName::Anon` ([#8662](https://github.com/swc-project/swc/issues/8662)) ([1bc4cb7](https://github.com/swc-project/swc/commit/1bc4cb7c0548483980e27483022d6abf0888891d))
24
30
 
25
31
 
32
+ - **(es/modules)** Fix resolution of `jsc.paths` with exact match ([#8685](https://github.com/swc-project/swc/issues/8685)) ([08ed0fb](https://github.com/swc-project/swc/commit/08ed0fb6663e835bf9efe8270118ce49ccd53903))
33
+
34
+
26
35
  - **(es/parser)** Check for existence of modifiers while parsing `accessor` token ([#8649](https://github.com/swc-project/swc/issues/8649)) ([ca23a33](https://github.com/swc-project/swc/commit/ca23a3353cefb0064ab28d10ea86634be5a0c191))
27
36
 
28
37
 
38
+ - **(es/typescript)** Handle accessibility in private method ([#8689](https://github.com/swc-project/swc/issues/8689)) ([baba663](https://github.com/swc-project/swc/commit/baba66346403da84db3083d22f4afbba4f6a9bfb))
39
+
40
+
29
41
  - **(es/visit)** Skip `TsExprWithTypeArgs` from `noop_visit/fold_type` macros ([#8677](https://github.com/swc-project/swc/issues/8677)) ([a7a00aa](https://github.com/swc-project/swc/commit/a7a00aafb9ead8cb536e1205087b371e20a795b3))
30
42
 
31
43
  ### Documentation
@@ -49,6 +61,9 @@
49
61
 
50
62
  - **(es/lints)** Add `no-new-object` rule ([#8663](https://github.com/swc-project/swc/issues/8663)) ([15eef4d](https://github.com/swc-project/swc/commit/15eef4dc7357cffbc934df4e781607afccd959a5))
51
63
 
64
+
65
+ - **(es/minifier)** Allow `expr_simplifier` to do arithmetic with string literals ([#8683](https://github.com/swc-project/swc/issues/8683)) ([7e05adf](https://github.com/swc-project/swc/commit/7e05adf0fac77455c60e8cd42720c48831f98f5f))
66
+
52
67
  ### Performance
53
68
 
54
69
 
@@ -58,6 +73,9 @@
58
73
 
59
74
  - **(visit)** Use qualified paths for generated codes ([#8655](https://github.com/swc-project/swc/issues/8655)) ([671c4a7](https://github.com/swc-project/swc/commit/671c4a78dd294591a0b18a44e18edc29bba30a52))
60
75
 
76
+
77
+ - **(visit)** Drop `pmutil` to improve compile time ([#8673](https://github.com/swc-project/swc/issues/8673)) ([b474382](https://github.com/swc-project/swc/commit/b47438245a0fb7f12b325a66a756beeaf58c3c9e))
78
+
61
79
  ## [1.4.2] - 2024-02-19
62
80
 
63
81
  ### Bug Fixes
@@ -1403,34 +1421,10 @@
1403
1421
 
1404
1422
  ## [1.3.75] - 2023-08-08
1405
1423
 
1406
- ### Bug Fixes
1407
-
1408
-
1409
-
1410
- - **(es/codegen)** Don't strip necessary escape characters ([#7687](https://github.com/swc-project/swc/issues/7687)) ([b45649b](https://github.com/swc-project/swc/commit/b45649b8d6484bd872f6443fc729f6b1998ff44d))
1411
-
1412
-
1413
- - **(es/compat)** Fix loose mode of the `spread` pass ([#7760](https://github.com/swc-project/swc/issues/7760)) ([b69ae8f](https://github.com/swc-project/swc/commit/b69ae8f433a1702e09a24c1c47b2fc312e8fb801))
1414
-
1415
-
1416
- - **(es/minifier)** Abort on `Array.slice` with `start >= end` ([#7745](https://github.com/swc-project/swc/issues/7745)) ([36ccbec](https://github.com/swc-project/swc/commit/36ccbec06130a55bc0707a0096a56558a77a1ceb))
1417
-
1418
-
1419
- - **(es/utils)** Ignore `typeof Id` while preserving side effects ([#7763](https://github.com/swc-project/swc/issues/7763)) ([d57ac0d](https://github.com/swc-project/swc/commit/d57ac0dd28cdefef63a18d53565154e65ee8b838))
1420
-
1421
1424
  ### Refactor
1422
1425
 
1423
1426
 
1424
1427
 
1425
- - **(es/ast)** Avoid `transmute` in impl of `Hash` for `Number` ([#7771](https://github.com/swc-project/swc/issues/7771)) ([2258274](https://github.com/swc-project/swc/commit/225827423355cab8cd3c0ae80f335cd2873e6cd4))
1426
-
1427
-
1428
1428
  - **(es/minifier)** Support stable rustc ([#7734](https://github.com/swc-project/swc/issues/7734)) ([f7afe7e](https://github.com/swc-project/swc/commit/f7afe7edecc65f41845721c75b77d2f6dba04a6a))
1429
1429
 
1430
-
1431
- - **(es/parser)** Do not use `lexical` ([#7758](https://github.com/swc-project/swc/issues/7758)) ([e50cfde](https://github.com/swc-project/swc/commit/e50cfde938b2504b723a95f034ac4b388d8725c3))
1432
-
1433
-
1434
- - **(es/parser)** Do not validate top-level await with target ([#7774](https://github.com/swc-project/swc/issues/7774)) ([5f97f86](https://github.com/swc-project/swc/commit/5f97f8656f9ff7c42bbf1db95fd9d964c5cc6c7c))
1435
-
1436
1430
  <!-- generated by git-cliff -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.4.3-nightly-20240304.1",
3
+ "version": "1.4.4",
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.3-nightly-20240304.1",
177
- "@swc/core-win32-x64-msvc": "1.4.3-nightly-20240304.1",
178
- "@swc/core-linux-x64-gnu": "1.4.3-nightly-20240304.1",
179
- "@swc/core-linux-x64-musl": "1.4.3-nightly-20240304.1",
180
- "@swc/core-win32-ia32-msvc": "1.4.3-nightly-20240304.1",
181
- "@swc/core-linux-arm-gnueabihf": "1.4.3-nightly-20240304.1",
182
- "@swc/core-linux-arm64-gnu": "1.4.3-nightly-20240304.1",
183
- "@swc/core-darwin-arm64": "1.4.3-nightly-20240304.1",
184
- "@swc/core-linux-arm64-musl": "1.4.3-nightly-20240304.1",
185
- "@swc/core-win32-arm64-msvc": "1.4.3-nightly-20240304.1"
176
+ "@swc/core-darwin-x64": "1.4.4",
177
+ "@swc/core-win32-x64-msvc": "1.4.4",
178
+ "@swc/core-linux-x64-gnu": "1.4.4",
179
+ "@swc/core-linux-x64-musl": "1.4.4",
180
+ "@swc/core-win32-ia32-msvc": "1.4.4",
181
+ "@swc/core-linux-arm-gnueabihf": "1.4.4",
182
+ "@swc/core-linux-arm64-gnu": "1.4.4",
183
+ "@swc/core-darwin-arm64": "1.4.4",
184
+ "@swc/core-linux-arm64-musl": "1.4.4",
185
+ "@swc/core-win32-arm64-msvc": "1.4.4"
186
186
  }
187
187
  }