@swc/core 1.2.248 → 1.2.249
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.
- package/CHANGELOG.md +60 -1
- package/package.json +17 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,65 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/minifier)** Don't drop parameters in an exported function (#5757) ([948d708](https://github.com/swc-project/swc/commit/948d7081447c50bc78764f5fe88ec6055ebbcc9c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/minifier)** Fix analysis of assignments and classes (#5770) ([90852f5](https://github.com/swc-project/swc/commit/90852f5aa60ba5584729f1cd7284f136a9e00794))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Fix calculation of character frequency (#5772) ([32a73fb](https://github.com/swc-project/swc/commit/32a73fbf225c416771150add1c4040f6fbe71aaf))
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/lexer)** Recover from git merge conflict (#5775) ([7deadd8](https://github.com/swc-project/swc/commit/7deadd86679f820c113d92fe8b034086be2736ff))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Align name mangler with terser (#5763) ([60ce462](https://github.com/swc-project/swc/commit/60ce46221529f70ccee98f808f532410724ed66b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/minifier)** Change order of renaming to align with terser (#5780) ([24b60d2](https://github.com/swc-project/swc/commit/24b60d2b64efad49d101fc8a4f23f04050b0ab9a))
|
|
27
|
+
|
|
28
|
+
### Miscellaneous Tasks
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(ci)** Cleanup CI config (#5769) ([1e8a58d](https://github.com/swc-project/swc/commit/1e8a58da4d6d3ca2bfc6843eb4412245d1154682))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/minifier)** Fix size calculator script (#5767) ([9d29abc](https://github.com/swc-project/swc/commit/9d29abcd5b9ab08fb3eed4d685806a6b0dac9d95))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(html/parser)** Typo (#5778) ([1b200a0](https://github.com/swc-project/swc/commit/1b200a0582f77aaca9abcbd4d693be13e172b9ec))- **general**: Typo (#5758) ([15e2357](https://github.com/swc-project/swc/commit/15e2357d1d7086f3a48def71c38acb7052f8d742))
|
|
39
|
+
|
|
40
|
+
### Performance
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/minifier)** Make `MultiReplacer` single-pass (#5761) ([27e9254](https://github.com/swc-project/swc/commit/27e92542808048a12985ce15ee6ee65d44d5ac6c))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/minifier)** Make passes more parallel (#5773) ([c2d1050](https://github.com/swc-project/swc/commit/c2d10503db724e1b2349d5df9211489c1aa9507a))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/parser)** Operate on `u8` (#5774) ([c10d557](https://github.com/swc-project/swc/commit/c10d55780e10a75ff0fcd0da87d1e7337fbe10bd))
|
|
51
|
+
|
|
52
|
+
### Testing
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/plugin)** Add E2E test for the published plugins (#5771) ([81ab8a2](https://github.com/swc-project/swc/commit/81ab8a29e36787feef3c23c1685ece1f0c82417e))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/tsc)** Handle tsx (#5764) ([52f6ca5](https://github.com/swc-project/swc/commit/52f6ca5fb826b9952b32946379cd696afb58867b))
|
|
60
|
+
|
|
61
|
+
## [1.2.248] - 2022-09-06
|
|
62
|
+
|
|
63
|
+
### Bug Fixes
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
8
67
|
- **(es/parser)** Fix detection of wrong delete targets (#5754) ([9fc6eda](https://github.com/swc-project/swc/commit/9fc6eda89a3f9e613468276eea50f90917fa0f91))
|
|
9
68
|
|
|
10
69
|
|
|
@@ -17,7 +76,7 @@
|
|
|
17
76
|
- **(es/minifier)** Fix example (#5739) ([4e98980](https://github.com/swc-project/swc/commit/4e989807d71aa9a6c019c6a5a01acbbee9ec6020))
|
|
18
77
|
|
|
19
78
|
|
|
20
|
-
- **(swc_core)** Update deps (#5748) ([1202762](https://github.com/swc-project/swc/commit/1202762f30db43c972c1367f85e30e69baaf0c59))
|
|
79
|
+
- **(swc_core)** Update deps (#5748) ([1202762](https://github.com/swc-project/swc/commit/1202762f30db43c972c1367f85e30e69baaf0c59))- **general**: Fix publish action ([f59d44e](https://github.com/swc-project/swc/commit/f59d44e295ea5b1f5f4b06240921bf4342d51686))
|
|
21
80
|
|
|
22
81
|
### Performance
|
|
23
82
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.249",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -98,9 +98,11 @@
|
|
|
98
98
|
"@napi-rs/cli": "^2.10.0",
|
|
99
99
|
"@swc/core": "^1.2.220",
|
|
100
100
|
"@swc/helpers": "^0.4.2",
|
|
101
|
+
"@swc/plugin-jest": "^1.2.12",
|
|
101
102
|
"@taplo/cli": "^0.3.2",
|
|
102
103
|
"@types/jest": "^28.1.4",
|
|
103
104
|
"@types/node": "^14.14.41",
|
|
105
|
+
"@types/terser": "^3.12.0",
|
|
104
106
|
"acorn": "^8.6.0",
|
|
105
107
|
"acorn-jsx": "^5.3.2",
|
|
106
108
|
"axios": "^0.21.1",
|
|
@@ -129,6 +131,7 @@
|
|
|
129
131
|
"source-map": "^0.7.3",
|
|
130
132
|
"source-map-support": "^0.5.19",
|
|
131
133
|
"sourcemap-validator": "^2.1.0",
|
|
134
|
+
"swc-plugin-coverage-instrument": "^0.0.12",
|
|
132
135
|
"terser": "^5.7.1",
|
|
133
136
|
"ts-node": "^10.5.0",
|
|
134
137
|
"typescript": "^4.5.2"
|
|
@@ -138,19 +141,19 @@
|
|
|
138
141
|
"url": "https://opencollective.com/swc"
|
|
139
142
|
},
|
|
140
143
|
"optionalDependencies": {
|
|
141
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
142
|
-
"@swc/core-darwin-x64": "1.2.
|
|
143
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
144
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
145
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
146
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
147
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
148
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
149
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
150
|
-
"@swc/core-android-arm64": "1.2.
|
|
151
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
152
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
153
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
144
|
+
"@swc/core-win32-x64-msvc": "1.2.249",
|
|
145
|
+
"@swc/core-darwin-x64": "1.2.249",
|
|
146
|
+
"@swc/core-linux-x64-gnu": "1.2.249",
|
|
147
|
+
"@swc/core-linux-x64-musl": "1.2.249",
|
|
148
|
+
"@swc/core-freebsd-x64": "1.2.249",
|
|
149
|
+
"@swc/core-win32-ia32-msvc": "1.2.249",
|
|
150
|
+
"@swc/core-linux-arm64-gnu": "1.2.249",
|
|
151
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.249",
|
|
152
|
+
"@swc/core-darwin-arm64": "1.2.249",
|
|
153
|
+
"@swc/core-android-arm64": "1.2.249",
|
|
154
|
+
"@swc/core-linux-arm64-musl": "1.2.249",
|
|
155
|
+
"@swc/core-win32-arm64-msvc": "1.2.249",
|
|
156
|
+
"@swc/core-android-arm-eabi": "1.2.249"
|
|
154
157
|
},
|
|
155
158
|
"files": [
|
|
156
159
|
"CHANGELOG.md",
|