@swc/core 1.3.9 → 1.3.10

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 +125 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,131 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/codegen)** Fix codegen of pseudo class selectors (#6186) ([4fba0db](https://github.com/swc-project/swc/commit/4fba0db3d9a4ffc6c13e134b3c75441737ff83d5))
9
+
10
+
11
+ - **(css/minifier)** Don't touch `@supports` (#6199) ([ac7cfa1](https://github.com/swc-project/swc/commit/ac7cfa13b62b81018cccb8c424adb1cae679446c))
12
+
13
+
14
+ - **(es/compat)** Fix super method call in loose mode (#6207) ([0e2de30](https://github.com/swc-project/swc/commit/0e2de3069df7d5e718562a030d8d22208353fb71))
15
+
16
+
17
+ - **(es/minifier)** Remove wrong rule (#6201) ([842abd4](https://github.com/swc-project/swc/commit/842abd45759a31e9b6ef2b3a0679dee3ad335791))
18
+
19
+
20
+ - **(es/minifier)** Fix detection of direct `eval` (#6215) ([780b5de](https://github.com/swc-project/swc/commit/780b5de6787306f3293471f7259e87fcfa54b6d6))
21
+
22
+
23
+ - **(html/ast)** Fix compilation (#6211) ([1b0dad1](https://github.com/swc-project/swc/commit/1b0dad1e845b2a648103383be6d952e5997d0387))
24
+
25
+
26
+ - **(html/minifier)** Avoid `;` at the end of js (#6188) ([5571c0c](https://github.com/swc-project/swc/commit/5571c0c2029577929ec547948319497144c34c28))
27
+
28
+
29
+ - **(html/minifier)** Compress `exportparts` (#6187) ([0ba464d](https://github.com/swc-project/swc/commit/0ba464d64338973d3fa2080bb3b47ac1574cced0))
30
+
31
+
32
+ - **(html/minifier)** Fix bugs of merging and removing metadata elements (#6200) ([3546632](https://github.com/swc-project/swc/commit/35466322d6c2e3d09c9d43e0ce773203c9d239b1))
33
+
34
+ ### Features
35
+
36
+
37
+
38
+ - **(css/ast)** Support `@custom-media` at-rule (#6152) ([d46a19b](https://github.com/swc-project/swc/commit/d46a19b55420ab3a88a4399eac4768f8a5fae838))
39
+
40
+
41
+ - **(css/minifier)** Handle nested `calc()` (#6153) ([d4a733d](https://github.com/swc-project/swc/commit/d4a733d76461995b7549f5470e53df913a30ef0f))
42
+
43
+
44
+ - **(es/compat)** Support readonly and writeonly for private fields (#6182) ([aefc11b](https://github.com/swc-project/swc/commit/aefc11b8a7355c496b60cda4ed7998a97f1bd8d4))
45
+
46
+
47
+ - **(es/minifier)** Make sequential inliner self-repeat (#6168) ([3f0fcf4](https://github.com/swc-project/swc/commit/3f0fcf4fa9dbc654f56f60863ca7058522202ade))
48
+
49
+
50
+ - **(es/minifier)** Skip function declarations in sequential inliner (#6147) ([f2e8f98](https://github.com/swc-project/swc/commit/f2e8f98d381cff75229e29564ce5a7458175fea9))
51
+
52
+
53
+ - **(es/minifier)** Merge functions using sequential inliner (#6148) ([12443db](https://github.com/swc-project/swc/commit/12443db39aebb216aa9da58917b74c8360310eca))
54
+
55
+
56
+ - **(es/minifier)** Mark more expressions as pure (#6204) ([cc848db](https://github.com/swc-project/swc/commit/cc848db80e75f8bf07c2ca4acb0be3cf46ff75ca))
57
+
58
+
59
+ - **(html/ast)** Add `raw` to comment tokens (#6202) ([99ea286](https://github.com/swc-project/swc/commit/99ea28674af1c1bbaa104089b7f7bd36356df208))
60
+
61
+
62
+ - **(html/minifier)** Merge identical metadata elements (#6183) ([41093b0](https://github.com/swc-project/swc/commit/41093b022d8d3304f9d235fd5b9dd386fecb8c3c))
63
+
64
+
65
+ - **(html/minifier)** Compress `javascript:` URLs (#6185) ([8f00d1a](https://github.com/swc-project/swc/commit/8f00d1a934fbc52594b62ab4c6d0eff9c2e73e60))
66
+
67
+
68
+ - **(html/minifier)** Improve removal of redundant attributes (#6197) ([aa3fab1](https://github.com/swc-project/swc/commit/aa3fab1957b949c81bb1556b7d925d28c310eba0))
69
+
70
+ ### Miscellaneous Tasks
71
+
72
+
73
+
74
+ - **(ci)** Fix auto-publish action (#6214) ([e9ac7a7](https://github.com/swc-project/swc/commit/e9ac7a73963df586d577d3bb374a93695c68a90e))
75
+
76
+
77
+ - **(deps)** Update jemallocator (#6216) ([283549c](https://github.com/swc-project/swc/commit/283549c677c3da89c4ff010d4b340d996c445bef))
78
+
79
+ ### Performance
80
+
81
+
82
+
83
+ - **(es/transforms)** Exclude old inlining pass (#6203) ([27896f4](https://github.com/swc-project/swc/commit/27896f4751e72c12eaadeb302848083df8e8e842))
84
+
85
+
86
+ - **(html/ast)** Use `Atom` for `raw` (#6210) ([420ba32](https://github.com/swc-project/swc/commit/420ba32e8c3b4f8ea34e3b17c82af31e2934059b))
87
+
88
+
89
+ - **(html/parser)** Improve performance a bit (#6213) ([ba5d272](https://github.com/swc-project/swc/commit/ba5d272ae111b3da765c842bfd100013833c1eac))
90
+
91
+ ### Refactor
92
+
93
+
94
+
95
+ - **(css/ast)** Refactor dashed ident (#6198) ([6c170e5](https://github.com/swc-project/swc/commit/6c170e59c792dea637a694ad97157c77a2176327))
96
+
97
+
98
+ - **(css/parser)** Improve project structure (#6110) ([6e2e2ad](https://github.com/swc-project/swc/commit/6e2e2ada4eab95a75554eecc8fab423bb8c94033))
99
+
100
+
101
+ - **(es/minifier)** Don't create invalid nodes (#6191) ([ea03ce1](https://github.com/swc-project/swc/commit/ea03ce1a82b0d5b49e0e324f09922efdca10ffbd))
102
+
103
+ ### Testing
104
+
105
+
106
+
107
+ - **(css/minifier)** Add tests for layer (#6221) ([055bdcd](https://github.com/swc-project/swc/commit/055bdcd997579b5de9851871684707adb7a3cfe7))
108
+
109
+
110
+ - **(es/minifier)** Add a test for a fixed issue (#6218) ([725b118](https://github.com/swc-project/swc/commit/725b1185f32837b2cd599441a7ca4e5966cd2264))
111
+
112
+
113
+ - **(html/parser)** Update html5lib-test (#6156) ([7a38fde](https://github.com/swc-project/swc/commit/7a38fde2305f20ead731c8c1938c9f2c7919f2df))
114
+
115
+
116
+ - **(html/parser)** Refactor tests to make `git` faster (#6158) ([a4acc7a](https://github.com/swc-project/swc/commit/a4acc7ab07a5e12179176b0c6928207228b67c85))
117
+
118
+
119
+ - **(html/parser)** Resolve TODOs (#6223) ([6505c64](https://github.com/swc-project/swc/commit/6505c6491a1fa241907329ee5c6ff073c3176dd6))
120
+
121
+ ### Build
122
+
123
+
124
+
125
+ - **(bindings)** Update mimalloc (#6208) ([8ab10f6](https://github.com/swc-project/swc/commit/8ab10f661b55f6440d740efb4c7477f92f70c8c4))
126
+
127
+ ## [1.3.9] - 2022-10-17
128
+
129
+ ### Bug Fixes
130
+
131
+
132
+
8
133
  - **(css/parser)** Improve handling of math functions in at-rules (#6140) ([26aeb18](https://github.com/swc-project/swc/commit/26aeb18c0cbb3299951be7b7a9398705d33374cd))
9
134
 
10
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -144,19 +144,19 @@
144
144
  "url": "https://opencollective.com/swc"
145
145
  },
146
146
  "optionalDependencies": {
147
- "@swc/core-win32-x64-msvc": "1.3.9",
148
- "@swc/core-darwin-x64": "1.3.9",
149
- "@swc/core-linux-x64-gnu": "1.3.9",
150
- "@swc/core-linux-x64-musl": "1.3.9",
151
- "@swc/core-freebsd-x64": "1.3.9",
152
- "@swc/core-win32-ia32-msvc": "1.3.9",
153
- "@swc/core-linux-arm64-gnu": "1.3.9",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.9",
155
- "@swc/core-darwin-arm64": "1.3.9",
156
- "@swc/core-android-arm64": "1.3.9",
157
- "@swc/core-linux-arm64-musl": "1.3.9",
158
- "@swc/core-win32-arm64-msvc": "1.3.9",
159
- "@swc/core-android-arm-eabi": "1.3.9"
147
+ "@swc/core-win32-x64-msvc": "1.3.10",
148
+ "@swc/core-darwin-x64": "1.3.10",
149
+ "@swc/core-linux-x64-gnu": "1.3.10",
150
+ "@swc/core-linux-x64-musl": "1.3.10",
151
+ "@swc/core-freebsd-x64": "1.3.10",
152
+ "@swc/core-win32-ia32-msvc": "1.3.10",
153
+ "@swc/core-linux-arm64-gnu": "1.3.10",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.10",
155
+ "@swc/core-darwin-arm64": "1.3.10",
156
+ "@swc/core-android-arm64": "1.3.10",
157
+ "@swc/core-linux-arm64-musl": "1.3.10",
158
+ "@swc/core-win32-arm64-msvc": "1.3.10",
159
+ "@swc/core-android-arm-eabi": "1.3.10"
160
160
  },
161
161
  "files": [
162
162
  "CHANGELOG.md",