@swc/core 1.3.39 → 1.3.40

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 +50 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,56 @@
5
5
 
6
6
 
7
7
 
8
+ - **(bindings/cli)** Update `swc_ecma_ast` (#7060) ([1b40689](https://github.com/swc-project/swc/commit/1b40689c3a754ce4a038ea98d7e9f41b1e9cf7a7))
9
+
10
+
11
+ - **(es)** Support stable rustc again (#7057) ([fbb3016](https://github.com/swc-project/swc/commit/fbb3016870cb6378743170b6833be6bbb7b4a73a))
12
+
13
+
14
+ - **(es)** Respect the value of assumptions (#7065) ([11d4874](https://github.com/swc-project/swc/commit/11d4874a2ea173a43e0a1fcdf8a1390d4320b7ee))
15
+
16
+
17
+ - **(es/ast)** Fix memory layout (#7062) ([085c6f3](https://github.com/swc-project/swc/commit/085c6f35f1f298a7863a99f3adfeb48b2dddbcb8))
18
+
19
+
20
+ - **(es/compat)** Handle `useDefineForClassFields: false` (#7055) ([bb6dde7](https://github.com/swc-project/swc/commit/bb6dde794326838b2069c7f86fb900eee36027bc))
21
+
22
+
23
+ - **(es/compat)** Insert the variable declaration nearest to the available statements (#7067) ([ae348e3](https://github.com/swc-project/swc/commit/ae348e32e18e07c277c358746e3ba3a78b9251c4))
24
+
25
+
26
+ - **(es/parser)** Handle class members with `accessor` as the name (#7046) ([9acaf4d](https://github.com/swc-project/swc/commit/9acaf4deeb412d9d3966223acbda673e8e686f06))
27
+
28
+
29
+ - **(es/preset-env)** Update data for core-js3 (#7023) ([3730463](https://github.com/swc-project/swc/commit/37304638742238c97d2c87d6ac2dc5f4347da973))
30
+
31
+ ### Features
32
+
33
+
34
+
35
+ - **(es/compat)** Simplify static blocks in classes (#7056) ([b78ce8b](https://github.com/swc-project/swc/commit/b78ce8b7c20f7c62523a017f4066776ada9d779d))
36
+
37
+ ### Miscellaneous Tasks
38
+
39
+
40
+
41
+ - **(ci)** Fix CI (#7070) ([97945d0](https://github.com/swc-project/swc/commit/97945d02b8ea7936d7b30142807999da53fec96b))
42
+
43
+ ### Performance
44
+
45
+
46
+
47
+ - **(es/lexer)** Make lexer faster (#7052) ([d1d0607](https://github.com/swc-project/swc/commit/d1d0607158ab40463d1b123fed52cc526eba8385))
48
+
49
+
50
+ - **(es/lexer)** Use jump table for `read_token` (#7058) ([9beefaa](https://github.com/swc-project/swc/commit/9beefaa1d5e711b63293d52a6c77e8aaf5e8f4c1))
51
+
52
+ ## [1.3.39] - 2023-03-10
53
+
54
+ ### Bug Fixes
55
+
56
+
57
+
8
58
  - **(es/minifier)** Bailout regex optimization on invalid flags (#7020) ([1318afe](https://github.com/swc-project/swc/commit/1318afe2b4a7a25233db5760b785605019b9f06b))
9
59
 
10
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.39",
3
+ "version": "1.3.40",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -138,16 +138,16 @@
138
138
  "url": "https://opencollective.com/swc"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@swc/core-win32-x64-msvc": "1.3.39",
142
- "@swc/core-darwin-x64": "1.3.39",
143
- "@swc/core-linux-x64-gnu": "1.3.39",
144
- "@swc/core-linux-x64-musl": "1.3.39",
145
- "@swc/core-win32-ia32-msvc": "1.3.39",
146
- "@swc/core-linux-arm64-gnu": "1.3.39",
147
- "@swc/core-linux-arm-gnueabihf": "1.3.39",
148
- "@swc/core-darwin-arm64": "1.3.39",
149
- "@swc/core-linux-arm64-musl": "1.3.39",
150
- "@swc/core-win32-arm64-msvc": "1.3.39"
141
+ "@swc/core-win32-x64-msvc": "1.3.40",
142
+ "@swc/core-darwin-x64": "1.3.40",
143
+ "@swc/core-linux-x64-gnu": "1.3.40",
144
+ "@swc/core-linux-x64-musl": "1.3.40",
145
+ "@swc/core-win32-ia32-msvc": "1.3.40",
146
+ "@swc/core-linux-arm64-gnu": "1.3.40",
147
+ "@swc/core-linux-arm-gnueabihf": "1.3.40",
148
+ "@swc/core-darwin-arm64": "1.3.40",
149
+ "@swc/core-linux-arm64-musl": "1.3.40",
150
+ "@swc/core-win32-arm64-msvc": "1.3.40"
151
151
  },
152
152
  "files": [
153
153
  "CHANGELOG.md",