@swc/core 1.2.246 → 1.2.247

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 +65 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,71 @@
5
5
 
6
6
 
7
7
 
8
+ - **(bundler)** Handle star export with top-level `await` (#5707) ([2b7cba8](https://github.com/swc-project/swc/commit/2b7cba8a97b971a00f4e851365462ba6d87e5ee0))
9
+
10
+
11
+ - **(es/lexer)** Drop `ClassExpr` context in object properties (#5729) ([a3a7277](https://github.com/swc-project/swc/commit/a3a72779096b4f0afbbe94320e53feb48e7fe45d))
12
+
13
+
14
+ - **(es/parser)** Improve error message (#5719) ([383aa85](https://github.com/swc-project/swc/commit/383aa8510c629d909f9ef50f190915660b273706))
15
+
16
+
17
+ - **(swc_core)** Fix reexport of ES transforms (#5716) ([9bef836](https://github.com/swc-project/swc/commit/9bef83681ff790b81effae61c45399608b1507cf))
18
+
19
+
20
+ - **(swc_core)** Bump `swc_ecma_quote_macros` (#5723) ([9c43713](https://github.com/swc-project/swc/commit/9c43713109a070e23bb8ed655f149b49de6cf321))
21
+
22
+ ### Features
23
+
24
+
25
+
26
+ - **(atoms)** Introduce bytecheck-ed rkyv version (#5686) ([d6e67b5](https://github.com/swc-project/swc/commit/d6e67b5944131e429d341f565c52fc3237a81bb7))
27
+
28
+
29
+ - **(es/minifier)** Relax function inline requirement (#5607) ([4ef99f3](https://github.com/swc-project/swc/commit/4ef99f346b9e7e4dfd1f42e7308c6b6e1142e311))
30
+
31
+
32
+ - **(es/minifier)** Make DCE single-pass (#5699) ([8827c38](https://github.com/swc-project/swc/commit/8827c38faf527e3f0485d2537dc1515df12f889c))
33
+
34
+
35
+ - **(es/minifier)** Support cycles in DCE (#5715) ([5e151c8](https://github.com/swc-project/swc/commit/5e151c8a8e48eae6cd93d5166fcaa87b84f4a341))
36
+
37
+
38
+ - **(es/minifier)** Relax requirement for IIFE invokation (#5721) ([5b2d024](https://github.com/swc-project/swc/commit/5b2d024788008436c7500ef243641db87e2c11f8))
39
+
40
+ ### Performance
41
+
42
+
43
+
44
+ - **(es/minifier)** Use faster hash algorithm for DCE (#5725) ([25c96b4](https://github.com/swc-project/swc/commit/25c96b4b7aa9a75892b1ae49a65e836229465195))
45
+
46
+
47
+ - **(es/minifier)** Optimize precompress optimizer (#5727) ([31c516a](https://github.com/swc-project/swc/commit/31c516a9228ebe304cd461f7e139f13a8519b43c))
48
+
49
+
50
+ - **(es/minifier)** Skip useless analysis if not required (#5733) ([8963db0](https://github.com/swc-project/swc/commit/8963db0a1d46184a7e0f8ea0663cbe8a2972418a))
51
+
52
+
53
+ - **(es/minifier)** Make rename operator parallel (#5732) ([5936bd2](https://github.com/swc-project/swc/commit/5936bd2b5e6034de09ebcf13543861f8cd53a581))
54
+
55
+
56
+ - **(es/minifier)** Make dead branch remover parallel (#5734) ([6ba6da6](https://github.com/swc-project/swc/commit/6ba6da62d72edf69d699e2c031aa38c630e00e39))
57
+
58
+ ### Refactor
59
+
60
+
61
+
62
+ - **(swc_core)** Use namespace `ecma` (#5713) ([975cbfe](https://github.com/swc-project/swc/commit/975cbfe0d9d1399c543df5041a6775514a3c43ee))
63
+
64
+
65
+ - **(swc_core)** Directly export `swc_ecma_transforms_base` (#5731) ([aad50dc](https://github.com/swc-project/swc/commit/aad50dcc6e890fdd26a7b3208ebc81e4d4fe2975))
66
+
67
+ ## [1.2.246] - 2022-09-01
68
+
69
+ ### Bug Fixes
70
+
71
+
72
+
8
73
  - **(es/compat)** Handle `yield` in block scoping pass (#5668) ([4820f0c](https://github.com/swc-project/swc/commit/4820f0cbcc2a732a94e87cbfecfb74524ae13ee4))
9
74
 
10
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.246",
3
+ "version": "1.2.247",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -138,19 +138,19 @@
138
138
  "url": "https://opencollective.com/swc"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@swc/core-win32-x64-msvc": "1.2.246",
142
- "@swc/core-darwin-x64": "1.2.246",
143
- "@swc/core-linux-x64-gnu": "1.2.246",
144
- "@swc/core-linux-x64-musl": "1.2.246",
145
- "@swc/core-freebsd-x64": "1.2.246",
146
- "@swc/core-win32-ia32-msvc": "1.2.246",
147
- "@swc/core-linux-arm64-gnu": "1.2.246",
148
- "@swc/core-linux-arm-gnueabihf": "1.2.246",
149
- "@swc/core-darwin-arm64": "1.2.246",
150
- "@swc/core-android-arm64": "1.2.246",
151
- "@swc/core-linux-arm64-musl": "1.2.246",
152
- "@swc/core-win32-arm64-msvc": "1.2.246",
153
- "@swc/core-android-arm-eabi": "1.2.246"
141
+ "@swc/core-win32-x64-msvc": "1.2.247",
142
+ "@swc/core-darwin-x64": "1.2.247",
143
+ "@swc/core-linux-x64-gnu": "1.2.247",
144
+ "@swc/core-linux-x64-musl": "1.2.247",
145
+ "@swc/core-freebsd-x64": "1.2.247",
146
+ "@swc/core-win32-ia32-msvc": "1.2.247",
147
+ "@swc/core-linux-arm64-gnu": "1.2.247",
148
+ "@swc/core-linux-arm-gnueabihf": "1.2.247",
149
+ "@swc/core-darwin-arm64": "1.2.247",
150
+ "@swc/core-android-arm64": "1.2.247",
151
+ "@swc/core-linux-arm64-musl": "1.2.247",
152
+ "@swc/core-win32-arm64-msvc": "1.2.247",
153
+ "@swc/core-android-arm-eabi": "1.2.247"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",