@swc/core 1.2.185 → 1.2.186
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 +47 -0
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,53 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/minifier)** Consider fallthrough while merging swtich cases (#4672) ([3bb4b74](https://github.com/swc-project/swc/commit/3bb4b74d945b7b9bd107114c2df5eeef13874aba))
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(dbg-swc)** Make reducer parallel (#4676) ([ba6688a](https://github.com/swc-project/swc/commit/ba6688a783eb626cdc9da5d1d8babb018fdfb9bb))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es)** Add check for `BytePos::DUMMY` (#4675) ([da49f81](https://github.com/swc-project/swc/commit/da49f810db791ef28291f535c46f7396fec29809))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Enable `computed_props` by default (#4678) ([04d66db](https://github.com/swc-project/swc/commit/04d66dbc8b8179300e69164bb9257e87cb887a03))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Enable `conditionals` by default (#4687) ([c01476d](https://github.com/swc-project/swc/commit/c01476d9ae0a617489099237fa08b90018693eb5))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(html/minifier)** Compress more json content (#4684) ([3aac28e](https://github.com/swc-project/swc/commit/3aac28e9df0de3c543e6677882eee1ec51fef6a9))
|
|
27
|
+
|
|
28
|
+
### Miscellaneous Tasks
|
|
29
|
+
- **general**: Add stale workflow ([890a5ae](https://github.com/swc-project/swc/commit/890a5ae0e6c876157873427a0bea555c47677e55))
|
|
30
|
+
|
|
31
|
+
### Performance
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(common)** Improve performance of `StringInput` (#4680) ([fe1e62a](https://github.com/swc-project/swc/commit/fe1e62a5e7a4a0037ba8d158879fb68bf9c14520))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(html)** Setup benchmarks (#4685) ([b56f3b7](https://github.com/swc-project/swc/commit/b56f3b7f00e10a45ddaab1c0a774645fe8121389))
|
|
39
|
+
|
|
40
|
+
### Testing
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/minifier)** Add size tests using `dbg-swc` (#4664) ([36ff4f7](https://github.com/swc-project/swc/commit/36ff4f735f43bbea5a943866b7083fe51633d9df))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(html/parser)** Add tests for broken html/svg (#4683) ([1d9ee0a](https://github.com/swc-project/swc/commit/1d9ee0a1002a7667add5ac39df16d7584b70d233))
|
|
48
|
+
|
|
49
|
+
## [1.2.185] - 2022-05-15
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
8
55
|
- **(es/modules)** Fix handling of `import.meta.url` (#4670) ([49c40af](https://github.com/swc-project/swc/commit/49c40afb7e092655578ee4d991ddf1f3fd20ff6a))
|
|
9
56
|
|
|
10
57
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.186",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"expect": "^27.4.2",
|
|
113
113
|
"husky": "^7.0.2",
|
|
114
114
|
"jest": "^27.0.1",
|
|
115
|
+
"js-beautify": "^1.14.3",
|
|
115
116
|
"lint-staged": "^12.3.6",
|
|
116
117
|
"lodash": "^4.17.21",
|
|
117
118
|
"mocha": "^9.1.3",
|
|
@@ -134,18 +135,18 @@
|
|
|
134
135
|
"url": "https://opencollective.com/swc"
|
|
135
136
|
},
|
|
136
137
|
"optionalDependencies": {
|
|
137
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
138
|
-
"@swc/core-darwin-x64": "1.2.
|
|
139
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
140
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
141
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
142
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
143
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
144
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
145
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
146
|
-
"@swc/core-android-arm64": "1.2.
|
|
147
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
148
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
149
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
138
|
+
"@swc/core-win32-x64-msvc": "1.2.186",
|
|
139
|
+
"@swc/core-darwin-x64": "1.2.186",
|
|
140
|
+
"@swc/core-linux-x64-gnu": "1.2.186",
|
|
141
|
+
"@swc/core-linux-x64-musl": "1.2.186",
|
|
142
|
+
"@swc/core-freebsd-x64": "1.2.186",
|
|
143
|
+
"@swc/core-win32-ia32-msvc": "1.2.186",
|
|
144
|
+
"@swc/core-linux-arm64-gnu": "1.2.186",
|
|
145
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.186",
|
|
146
|
+
"@swc/core-darwin-arm64": "1.2.186",
|
|
147
|
+
"@swc/core-android-arm64": "1.2.186",
|
|
148
|
+
"@swc/core-linux-arm64-musl": "1.2.186",
|
|
149
|
+
"@swc/core-win32-arm64-msvc": "1.2.186",
|
|
150
|
+
"@swc/core-android-arm-eabi": "1.2.186"
|
|
150
151
|
}
|
|
151
152
|
}
|