@swc/core 1.2.241 → 1.2.242

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 +67 -4
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,21 +5,72 @@
5
5
 
6
6
 
7
7
 
8
- - **(es/compat)** Handle `async` in class method parameters (#5560) ([f2c1164](https://github.com/swc-project/swc/commit/f2c116402621b64b49181407dba1bb7ae852cf13))
8
+ - **(es)** Improve sourcemap (#5569) ([2f7e322](https://github.com/swc-project/swc/commit/2f7e3222140aba2a0e13e307f18b42f6b39f084d))
9
+
10
+
11
+ - **(es/codgen)** Fix sourcemap of`BlockStmt` (#5570) ([288ae51](https://github.com/swc-project/swc/commit/288ae51fb130d5ea302fa89618921ccc3c57d7bc))
12
+
13
+
14
+ - **(es/compat)** Use separate `SyntaxContext` for class names (#5566) ([b717a68](https://github.com/swc-project/swc/commit/b717a68199fc965632e9513d2c57a47af23231d8))
15
+
16
+
17
+ - **(es/compat)** Fix destructuring assignments and updates of super properties (#5576) ([bee26a9](https://github.com/swc-project/swc/commit/bee26a9abb0478147aec2bedd533150204807057))
18
+
19
+
20
+ - **(es/compat)** Fix destructuring assignments and updates of super properties in async method (#5580) ([8645251](https://github.com/swc-project/swc/commit/86452511e715a7ba8447add81a60ce49905bb45c))
21
+
22
+
23
+ - **(es/helpers)** Fix an import (#5587) ([610296c](https://github.com/swc-project/swc/commit/610296cfa444d1f004cc5967c7f94347a7ccb0e8))
24
+
25
+
26
+ - **(es/helpers)** Fix `_classStaticPrivateFieldSpecSet` (#5597) ([0533d56](https://github.com/swc-project/swc/commit/0533d56155316e6e9077c7a291ee945f61c0ab96))
27
+
28
+
29
+ - **(es/parser)** Allow expr to follow `ClassExpr` (#5572) ([78dd071](https://github.com/swc-project/swc/commit/78dd071dabf5f9b5ca9b213bb5f5f0e5d76b40ab))
30
+
31
+
32
+ - **(es/parser)** Fix false-positives of yield used as a parameter in generator (#5564) ([c3f6258](https://github.com/swc-project/swc/commit/c3f62586bfbad6220cdc8cd7a678d9bec2445088))
33
+
34
+
35
+ - **(es/quote)** Allow cloning (#5571) ([82cc3ca](https://github.com/swc-project/swc/commit/82cc3ca7a4f27f932ed4e8b4e620d1d8b5f41bdc))
9
36
 
10
37
  ### Features
11
38
 
12
39
 
13
40
 
14
- - **(es/minifier)** Remove more functions and classes (#5552) ([69f8945](https://github.com/swc-project/swc/commit/69f8945911e50d96978b0f49642cb79473178173))
41
+ - **(bindings)** Update `swc_core` (#5594) ([e211ad6](https://github.com/swc-project/swc/commit/e211ad6d10f9e05e1ccade2c3cba60e3a53dbee7))
42
+
43
+
44
+ - **(css/ast)** Make `keyword` optional (#5543) ([a3c1ac6](https://github.com/swc-project/swc/commit/a3c1ac67d708b6c95ef9a9b0892df90bdb26ffe5))
45
+
46
+
47
+ - **(es/plugin)** Provide `swc_core` diagnostic from plugin (#5591) ([a3e855f](https://github.com/swc-project/swc/commit/a3e855f720ade3b823c1f7e59f0e6dfac197895c))
48
+
49
+
50
+ - **(html/minifier)** Improve minification modes (#5568) ([3cb6fc2](https://github.com/swc-project/swc/commit/3cb6fc2a29b541c32ff95baf0a07021ffe0dd089))
51
+
52
+ ### Miscellaneous Tasks
53
+
54
+
55
+
56
+ - **(swc_core)** Update dependency version (#5595) ([1769191](https://github.com/swc-project/swc/commit/1769191f9ac7decfde86dcca1248ec15a0763a17))
15
57
 
16
58
  ### Testing
17
59
 
18
60
 
19
61
 
20
- - **(es/minifier)** Add tests for size (#5561) ([7f5095d](https://github.com/swc-project/swc/commit/7f5095dd5e569eab0e4415453144485aeef4d043))
62
+ - **(es/transforms)** Enable tests for fixed issues (#5583) ([0f6649c](https://github.com/swc-project/swc/commit/0f6649c44fbd35cbb7f0b64bf9b5a175f002fdd9))
63
+
64
+
65
+ - **(es/transforms)** Copy execution tests from babel (#5578) ([e2fedb9](https://github.com/swc-project/swc/commit/e2fedb93452e54f4146f725ae07c6c2f0a4067a5))
66
+
67
+ ### Build
68
+
69
+
70
+
71
+ - **(swc_core)** Fix dependency version (#5593) ([9bc40e3](https://github.com/swc-project/swc/commit/9bc40e3d087f502904821f9fdbcfff6f8c52116f))
21
72
 
22
- ## [1.2.240] - 2022-08-19
73
+ ## [1.2.241] - 2022-08-19
23
74
 
24
75
  ### Bug Fixes
25
76
 
@@ -37,6 +88,9 @@
37
88
  - **(css/codegen)** Improve codegen of `@media` (#5544) ([fa7abe2](https://github.com/swc-project/swc/commit/fa7abe26cf2a9eab1d8bcd481cf6fb2dd02188a3))
38
89
 
39
90
 
91
+ - **(es/compat)** Handle `async` in class method parameters (#5560) ([f2c1164](https://github.com/swc-project/swc/commit/f2c116402621b64b49181407dba1bb7ae852cf13))
92
+
93
+
40
94
  - **(es/fixer)** Wrap `yield` expression in `extends` (#5555) ([b14d69e](https://github.com/swc-project/swc/commit/b14d69e9b0427751a86d2260f10d4af7495d7ae8))
41
95
 
42
96
 
@@ -55,6 +109,9 @@
55
109
  - **(es/minifier)** Optimize numeric property names (#5548) ([38b8ca0](https://github.com/swc-project/swc/commit/38b8ca05adf22d7096e4cc6856cd5fb1734656cd))
56
110
 
57
111
 
112
+ - **(es/minifier)** Remove more functions and classes (#5552) ([69f8945](https://github.com/swc-project/swc/commit/69f8945911e50d96978b0f49642cb79473178173))
113
+
114
+
58
115
  - **(swc_core)** Implement engine diagnostics (#5515) ([f1a4263](https://github.com/swc-project/swc/commit/f1a42639541ef5a356079b7fb177a621ddd5a2c0))
59
116
 
60
117
  ### Miscellaneous Tasks
@@ -66,6 +123,12 @@
66
123
 
67
124
  - **(ci)** Fix publish action ([bc9aef8](https://github.com/swc-project/swc/commit/bc9aef891e1dd4665c30854b67f6173767d96a22))
68
125
 
126
+ ### Testing
127
+
128
+
129
+
130
+ - **(es/minifier)** Add tests for size (#5561) ([7f5095d](https://github.com/swc-project/swc/commit/7f5095dd5e569eab0e4415453144485aeef4d043))
131
+
69
132
  ## [1.2.239] - 2022-08-18
70
133
 
71
134
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.241",
3
+ "version": "1.2.242",
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.241",
142
- "@swc/core-darwin-x64": "1.2.241",
143
- "@swc/core-linux-x64-gnu": "1.2.241",
144
- "@swc/core-linux-x64-musl": "1.2.241",
145
- "@swc/core-freebsd-x64": "1.2.241",
146
- "@swc/core-win32-ia32-msvc": "1.2.241",
147
- "@swc/core-linux-arm64-gnu": "1.2.241",
148
- "@swc/core-linux-arm-gnueabihf": "1.2.241",
149
- "@swc/core-darwin-arm64": "1.2.241",
150
- "@swc/core-android-arm64": "1.2.241",
151
- "@swc/core-linux-arm64-musl": "1.2.241",
152
- "@swc/core-win32-arm64-msvc": "1.2.241",
153
- "@swc/core-android-arm-eabi": "1.2.241"
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"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",