@swc/core 1.2.210 → 1.2.211

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 +86 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,92 @@
5
5
 
6
6
 
7
7
 
8
+ - **(cli)** Constructs config file correctly (#5146) ([4f87396](https://github.com/swc-project/swc/commit/4f87396b3b4ca1ec75eff77567f001ea5092598a))
9
+
10
+
11
+ - **(es/compat)** Preserve more class names (#5106) ([dd39a79](https://github.com/swc-project/swc/commit/dd39a798ae25dfb44c8a428a4a5c0fb962e78ae4))
12
+
13
+
14
+ - **(es/compat)** Optimize `for-of` loops for array literals (#5141) ([9351303](https://github.com/swc-project/swc/commit/93513031b51e6b0b8ac21982ed97bb12e5dec14f))
15
+
16
+
17
+ - **(es/compat)** Remove extra `this`/`arguments` capture in arrows (#5152) ([cd8d65b](https://github.com/swc-project/swc/commit/cd8d65b9a75a25ed62ad7daf40a02d6f76067696))
18
+
19
+
20
+ - **(es/lints)** Handle import-require duplicate bindings (#5131) ([a0ec370](https://github.com/swc-project/swc/commit/a0ec3705a4dc59709ad388660d8994295fa80074))
21
+
22
+
23
+ - **(es/minifier)** Don't inline a callable expression if it's used as a reference (#5118) ([0e4a03c](https://github.com/swc-project/swc/commit/0e4a03ccc65aaca143873f16643513a922ace6cd))
24
+
25
+
26
+ - **(es/modules)** Handle top level this (#5159) ([451f346](https://github.com/swc-project/swc/commit/451f346af0116bb26707b38b951a4e74ed2cdc97))
27
+
28
+
29
+ - **(es/modules)** Handle top level this, really (#5160) ([2555d71](https://github.com/swc-project/swc/commit/2555d71a6045ef6522323e5ea9b5c40800d4ab12))
30
+
31
+
32
+ - **(es/parser)** Support type-only export-import declarations (#5122) ([fbfca36](https://github.com/swc-project/swc/commit/fbfca36f58cf393faae132b092d05e9aaa931d55))
33
+
34
+
35
+ - **(sourcemap)** Handle multi-byte characters correctly (#5153) ([bbbe0b6](https://github.com/swc-project/swc/commit/bbbe0b6e94cb230245ead484125da23615f4f6d6))
36
+
37
+ ### Documentation
38
+
39
+
40
+
41
+ - **(es/parser)** Typo (#5136) ([9d4be11](https://github.com/swc-project/swc/commit/9d4be11f2ef0b9245a1626717f9c75e0220e5dfa))
42
+
43
+
44
+ - **(visit)** Add docs for visitors (#5137) ([76de911](https://github.com/swc-project/swc/commit/76de91146661a7b1b72e81f91787e57943040481))
45
+
46
+ ### Features
47
+
48
+
49
+
50
+ - **(css/minifier)** Compress hsl colors (#5142) ([714ff53](https://github.com/swc-project/swc/commit/714ff5321d415e7ec1bfa211364ca4c8012df31e))
51
+
52
+
53
+ - **(css/minifier)** Compress `hwb` color (#5155) ([d6a827d](https://github.com/swc-project/swc/commit/d6a827d173a2fcea3143ce3100a2b08d25af0d1f))
54
+
55
+
56
+ - **(es/parser)** Support `d` in regex flag for es2022 (#5127) ([2d94797](https://github.com/swc-project/swc/commit/2d94797975ee162837b24283c8b738f282586a4d))
57
+
58
+
59
+ - **(es/typescript)** Follow TypeScript error report (#5114) ([f952a61](https://github.com/swc-project/swc/commit/f952a6161c634fbb430b0befad6f3946c9fbfde5))
60
+
61
+
62
+ - **(html)** Add `raw` for text (#5148) ([01bfe46](https://github.com/swc-project/swc/commit/01bfe46019ed897a4a3151ac207fd989497621e8))
63
+
64
+
65
+ - **(html/minifier)** Sort attributes (#4784) ([f813a60](https://github.com/swc-project/swc/commit/f813a60497da416c41041af1d82d7186a6f0cc09))
66
+
67
+
68
+ - **(html/minifier)** Compress default attributes for svg (#5150) ([8bc9a40](https://github.com/swc-project/swc/commit/8bc9a40c99268ff5858479b29cf74a30c8c361db))
69
+
70
+
71
+ - **(plugin)** Wrap serialized struct with a version (#5128) ([82fbe15](https://github.com/swc-project/swc/commit/82fbe15a57e51ae444c3846fe6a512af297e0087))
72
+
73
+
74
+ - **(visit)** Implement `Eq` for `AstKind` (#5133) ([46b1b42](https://github.com/swc-project/swc/commit/46b1b42c3c8ceafadfdc30973344eaded5a52bda))
75
+
76
+
77
+ - **(visit)** Implement more traits for `AstKind` (#5135) ([f26d59b](https://github.com/swc-project/swc/commit/f26d59b7701f5d7f6cf25055c1ed0e37da6964a1))
78
+
79
+ ### Refactor
80
+
81
+
82
+
83
+ - **(common)** Bikeshed plugin apis (#5120) ([2ba8b39](https://github.com/swc-project/swc/commit/2ba8b39fa0f2ff7e553d74a4c5ef0f04660a8c40))
84
+
85
+
86
+ - **(plugin)** Refactor transform executor (#5147) ([e8214ba](https://github.com/swc-project/swc/commit/e8214babf5ad405c7be1f2391a3be01ab355178f))
87
+
88
+ ## [1.2.210] - 2022-07-05
89
+
90
+ ### Bug Fixes
91
+
92
+
93
+
8
94
  - **(es/codegen)** Fix codegen of some non-ascii characters (#5108) ([b76b499](https://github.com/swc-project/swc/commit/b76b4999cce42fb2e41ca165bd68bbc8f6663bdc))
9
95
 
10
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.210",
3
+ "version": "1.2.211",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -135,18 +135,18 @@
135
135
  "url": "https://opencollective.com/swc"
136
136
  },
137
137
  "optionalDependencies": {
138
- "@swc/core-win32-x64-msvc": "1.2.210",
139
- "@swc/core-darwin-x64": "1.2.210",
140
- "@swc/core-linux-x64-gnu": "1.2.210",
141
- "@swc/core-linux-x64-musl": "1.2.210",
142
- "@swc/core-freebsd-x64": "1.2.210",
143
- "@swc/core-win32-ia32-msvc": "1.2.210",
144
- "@swc/core-linux-arm64-gnu": "1.2.210",
145
- "@swc/core-linux-arm-gnueabihf": "1.2.210",
146
- "@swc/core-darwin-arm64": "1.2.210",
147
- "@swc/core-android-arm64": "1.2.210",
148
- "@swc/core-linux-arm64-musl": "1.2.210",
149
- "@swc/core-win32-arm64-msvc": "1.2.210",
150
- "@swc/core-android-arm-eabi": "1.2.210"
138
+ "@swc/core-win32-x64-msvc": "1.2.211",
139
+ "@swc/core-darwin-x64": "1.2.211",
140
+ "@swc/core-linux-x64-gnu": "1.2.211",
141
+ "@swc/core-linux-x64-musl": "1.2.211",
142
+ "@swc/core-freebsd-x64": "1.2.211",
143
+ "@swc/core-win32-ia32-msvc": "1.2.211",
144
+ "@swc/core-linux-arm64-gnu": "1.2.211",
145
+ "@swc/core-linux-arm-gnueabihf": "1.2.211",
146
+ "@swc/core-darwin-arm64": "1.2.211",
147
+ "@swc/core-android-arm64": "1.2.211",
148
+ "@swc/core-linux-arm64-musl": "1.2.211",
149
+ "@swc/core-win32-arm64-msvc": "1.2.211",
150
+ "@swc/core-android-arm-eabi": "1.2.211"
151
151
  }
152
152
  }