@swc/core 1.2.242 → 1.2.244

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 +56 -0
  2. package/package.json +16 -16
package/CHANGELOG.md CHANGED
@@ -5,6 +5,62 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/compat)** Ignore invalid class method names (#5612) ([1181d0f](https://github.com/swc-project/swc/commit/1181d0ffe2b432a202398dfc99dcc89da7480b84))
9
+
10
+
11
+ - **(es/compat)** Handle `super` in a private method (#5613) ([35d3558](https://github.com/swc-project/swc/commit/35d3558535c3bee2cbbd8adec162f9c4cb9a4bbc))
12
+
13
+
14
+ - **(es/compat)** Revert generator reimplementation (#5624) ([927ae7e](https://github.com/swc-project/swc/commit/927ae7e8d38813e65b0bc67cbf6559cbb7f9f6a1))
15
+
16
+
17
+ - **(es/fixer)** Wrap expressions in the left of a binary expression (#5586) ([3d485d2](https://github.com/swc-project/swc/commit/3d485d26814516351bd5591502c64811f77f5385))
18
+
19
+
20
+ - **(es/helpers)** Fix `_classStaticPrivateFieldUpdate` (#5620) ([d483eb1](https://github.com/swc-project/swc/commit/d483eb12f458fb86675d8146c84032524fd7ccde))
21
+
22
+
23
+ - **(swc_core)** Re-export `swc_cached` (#5605) ([7fcecb8](https://github.com/swc-project/swc/commit/7fcecb8e63faa64226b87e34b8cd4fdd0a6a7ab7))
24
+
25
+ ### Features
26
+
27
+
28
+
29
+ - **(cli)** Enable LTO by default for the plugins (#5617) ([3d2ee6d](https://github.com/swc-project/swc/commit/3d2ee6d0ae29899ae3a492a0e4b963e40b1d60ff))
30
+
31
+
32
+ - **(es/generator)** Replace generator implementation with one from tsc (#5173) ([2aa0090](https://github.com/swc-project/swc/commit/2aa009018f9bdbe4de6d59f9226b7ddd320db127))
33
+
34
+
35
+ - **(es/generator)** Use new generator implementation (#5627) ([83fec33](https://github.com/swc-project/swc/commit/83fec333597c7854c694e9913e13dc7c4a1e327a))
36
+
37
+
38
+ - **(swc_core)** Expand features (#5602) ([633a23a](https://github.com/swc-project/swc/commit/633a23a13438cb3891ea1cdef349cde882672bec))
39
+
40
+
41
+ - **(swc_core)** Add css features (#5609) ([7461e40](https://github.com/swc-project/swc/commit/7461e404b1946cb8b421c314f4b57dc8d836721a))
42
+
43
+
44
+ - **(swc_core)** Update dependencies and fix build script (#5610) ([fad1367](https://github.com/swc-project/swc/commit/fad1367e137288dd0e15591d7ecb4aaee222d327))
45
+
46
+ ### Testing
47
+
48
+
49
+
50
+ - **(es/transforms)** Add more execution tests (#5598) ([cfcd54a](https://github.com/swc-project/swc/commit/cfcd54a2c7618ee5f789c8db1726755f0473848b))
51
+
52
+ ### Build
53
+
54
+
55
+
56
+ - **(swc_core)** Bump `swc_core` (#5604) ([52117f7](https://github.com/swc-project/swc/commit/52117f71e3f710af9f6095e4022b393abf7bb050))
57
+
58
+ ## [1.2.242] - 2022-08-23
59
+
60
+ ### Bug Fixes
61
+
62
+
63
+
8
64
  - **(es)** Improve sourcemap (#5569) ([2f7e322](https://github.com/swc-project/swc/commit/2f7e3222140aba2a0e13e307f18b42f6b39f084d))
9
65
 
10
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.242",
3
+ "version": "1.2.244",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -60,8 +60,8 @@
60
60
  "pack": "wasm-pack",
61
61
  "build:ts": "tsc -d",
62
62
  "build:wasm": "npm-run-all \"pack -- build ./bindings/binding_core_wasm --scope swc {1} -t {2} --features plugin\" --",
63
- "build": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings/binding_core_node --release",
64
- "build:dev": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings/binding_core_node",
63
+ "build": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings -p binding_core_node --release",
64
+ "build:dev": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings -p binding_core_node",
65
65
  "test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./node-swc/jest.config.js",
66
66
  "version": "napi version -p scripts/npm"
67
67
  },
@@ -138,19 +138,19 @@
138
138
  "url": "https://opencollective.com/swc"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@swc/core-win32-x64-msvc": "1.2.242",
142
- "@swc/core-darwin-x64": "1.2.242",
143
- "@swc/core-linux-x64-gnu": "1.2.242",
144
- "@swc/core-linux-x64-musl": "1.2.242",
145
- "@swc/core-freebsd-x64": "1.2.242",
146
- "@swc/core-win32-ia32-msvc": "1.2.242",
147
- "@swc/core-linux-arm64-gnu": "1.2.242",
148
- "@swc/core-linux-arm-gnueabihf": "1.2.242",
149
- "@swc/core-darwin-arm64": "1.2.242",
150
- "@swc/core-android-arm64": "1.2.242",
151
- "@swc/core-linux-arm64-musl": "1.2.242",
152
- "@swc/core-win32-arm64-msvc": "1.2.242",
153
- "@swc/core-android-arm-eabi": "1.2.242"
141
+ "@swc/core-win32-x64-msvc": "1.2.244",
142
+ "@swc/core-darwin-x64": "1.2.244",
143
+ "@swc/core-linux-x64-gnu": "1.2.244",
144
+ "@swc/core-linux-x64-musl": "1.2.244",
145
+ "@swc/core-freebsd-x64": "1.2.244",
146
+ "@swc/core-win32-ia32-msvc": "1.2.244",
147
+ "@swc/core-linux-arm64-gnu": "1.2.244",
148
+ "@swc/core-linux-arm-gnueabihf": "1.2.244",
149
+ "@swc/core-darwin-arm64": "1.2.244",
150
+ "@swc/core-android-arm64": "1.2.244",
151
+ "@swc/core-linux-arm64-musl": "1.2.244",
152
+ "@swc/core-win32-arm64-msvc": "1.2.244",
153
+ "@swc/core-android-arm-eabi": "1.2.244"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",