@swc/core 1.2.182 → 1.2.183
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 +74 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,80 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(css/parser)** Remove a wrong assertion (#4641) ([84e4ca6](https://github.com/swc-project/swc/commit/84e4ca6c27034e8b965bb229115847afcfb0b5e8))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/minifier)** Don't create direct `eval` (#4634) ([56a227a](https://github.com/swc-project/swc/commit/56a227ad9dc5b9b706fe8b0d35bf086e986dda07))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Fix optimization of spread (#4639) ([9c190f0](https://github.com/swc-project/swc/commit/9c190f0a8ec64e9d7c39e28f5370cc0a1e61f34c))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/modules)** Fix `jsc.paths` (#4620) ([20692cd](https://github.com/swc-project/swc/commit/20692cdff1df4491382820cb38dae6fdeda12223))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/resolver)** Ensure that a parameter type is resolved to parent (#4645) ([2745cb7](https://github.com/swc-project/swc/commit/2745cb79491436b1967231f905a834b06831e1b4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(html)** Fix parsing of template (#4647) ([af9c8c6](https://github.com/swc-project/swc/commit/af9c8c6b4ce1eff729d9de0efc84f62792efda86))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(html/codegen)** Fix codegen (#4629) ([fa4a60a](https://github.com/swc-project/swc/commit/fa4a60a3185c048291bbc549f77281b95fbaf730))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(html/parser)** Fix newlines (#4633) ([a19db29](https://github.com/swc-project/swc/commit/a19db2992b5abb51629f95670c7cbd2c66a319bf))
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(common)** Reserve `BytePos(0)` for dummy spans (#4616) ([67942d5](https://github.com/swc-project/swc/commit/67942d57319454a0304632d5d9e504e26a2c8068))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(debug)** Inline `dbg-swc` (#4651) ([b393773](https://github.com/swc-project/swc/commit/b393773373bb1ae170004fadb8688203cabeda2a))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/lints)** Implement `no-compare-neg-zero` rule (#4643) ([f45dd72](https://github.com/swc-project/swc/commit/f45dd72033fe14dd0974d6698f6d8d4ec6a76185))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(html/minifier)** Improve minification of attributes (#4625) ([5679b69](https://github.com/swc-project/swc/commit/5679b69600768f81a69e7a7bac335a183fe875c6))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(html/minifier)** Compress `application/ld+json` (#4628) ([c41aca6](https://github.com/swc-project/swc/commit/c41aca6b24a0dbe222b450b7805e4e9eb2732e01))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(html/parser)** Add a method to get error message (#4623) ([cac4f6e](https://github.com/swc-project/swc/commit/cac4f6e265ed419245e8b323dd4f18d60a16beac))
|
|
51
|
+
|
|
52
|
+
### Refactor
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(html/parser)** Remove unused code (#4613) ([a378e1e](https://github.com/swc-project/swc/commit/a378e1e041a60e0a80f5a2e97c534b96b49888e4))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(html/parser)** Improve public API (#4626) ([b8fa3bc](https://github.com/swc-project/swc/commit/b8fa3bc4569429046494488cdab9c14b26135f6b))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(html/parser)** Improve parser a bit (#4627) ([5f899a0](https://github.com/swc-project/swc/commit/5f899a03489de62cbff9aede15ea561ec601a911))
|
|
63
|
+
|
|
64
|
+
### Testing
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(es)** Add a test for merging configurations (#4617) ([53ff81c](https://github.com/swc-project/swc/commit/53ff81ccd65509dd6fff0bef5aa21003d3c81409))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(es/minifier)** Execute more tests (#4636) ([79f87e0](https://github.com/swc-project/swc/commit/79f87e03db1063c645fba36c1ba6ba673127bad4))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(html/parser)** Add dom visualizer for regular tests (#4622) ([4e577d7](https://github.com/swc-project/swc/commit/4e577d7f452a096391e174f478834bcc5c0fd884))
|
|
75
|
+
|
|
76
|
+
## [1.2.182] - 2022-05-11
|
|
77
|
+
|
|
78
|
+
### Bug Fixes
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
8
82
|
- **(es/config)** Merge `jsc.transform` correctly (#4615) ([3b2b8c4](https://github.com/swc-project/swc/commit/3b2b8c4512709b9908a113af83f30e4fa97b9c49))
|
|
9
83
|
|
|
10
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.183",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -134,18 +134,18 @@
|
|
|
134
134
|
"url": "https://opencollective.com/swc"
|
|
135
135
|
},
|
|
136
136
|
"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.
|
|
137
|
+
"@swc/core-win32-x64-msvc": "1.2.183",
|
|
138
|
+
"@swc/core-darwin-x64": "1.2.183",
|
|
139
|
+
"@swc/core-linux-x64-gnu": "1.2.183",
|
|
140
|
+
"@swc/core-linux-x64-musl": "1.2.183",
|
|
141
|
+
"@swc/core-freebsd-x64": "1.2.183",
|
|
142
|
+
"@swc/core-win32-ia32-msvc": "1.2.183",
|
|
143
|
+
"@swc/core-linux-arm64-gnu": "1.2.183",
|
|
144
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.183",
|
|
145
|
+
"@swc/core-darwin-arm64": "1.2.183",
|
|
146
|
+
"@swc/core-android-arm64": "1.2.183",
|
|
147
|
+
"@swc/core-linux-arm64-musl": "1.2.183",
|
|
148
|
+
"@swc/core-win32-arm64-msvc": "1.2.183",
|
|
149
|
+
"@swc/core-android-arm-eabi": "1.2.183"
|
|
150
150
|
}
|
|
151
151
|
}
|