@swc/core 1.2.198 → 1.2.203

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 +94 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,100 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/parser)** Don't assume the length of char (#4967) ([3e03ebf](https://github.com/swc-project/swc/commit/3e03ebf8bb527d3237b309c3df3a24bc9ebf7314))
9
+
10
+ ### Features
11
+
12
+
13
+
14
+ - **(html)** Support self-closing flag (#4950) ([5c2a918](https://github.com/swc-project/swc/commit/5c2a918946105d26d107b8bd869ee5dc76c9c04d))
15
+
16
+ ### Miscellaneous Tasks
17
+
18
+
19
+
20
+ - **(ci)** Use macos for release builds (#4968) ([1bf2b80](https://github.com/swc-project/swc/commit/1bf2b80f97c736cc7aae1a9c04325044839d0a3b))
21
+
22
+
23
+ - **(ci)** Fix publish build on Windows (#4970) ([db9f7a5](https://github.com/swc-project/swc/commit/db9f7a5ad4d830b1b1e42e7aa09a2edc935a8ad1))
24
+
25
+ ## [1.2.202] - 2022-06-14
26
+
27
+ ### Bug Fixes
28
+
29
+
30
+
31
+ - **(ci)** Revert malloc changes ([709ad3e](https://github.com/swc-project/swc/commit/709ad3e087e833c5bc69c887ca963e4b7a9a81f7))
32
+
33
+
34
+ - **(common)** Don't use `get_unchecked` after setting the length to 0 (#4943) ([f479951](https://github.com/swc-project/swc/commit/f479951ef2f1c9eff8e020c9fc46e78e16855a24))
35
+
36
+
37
+ - **(css/parser)** Fix input buffer and improve error recovery (#4948) ([bf74d05](https://github.com/swc-project/swc/commit/bf74d05f3fb6ddb2f29a4808b64860021cbd4f5b))
38
+
39
+
40
+ - **(es/helpers)** Allow using external helpers with `type: module` (#4962) ([4a27e6f](https://github.com/swc-project/swc/commit/4a27e6f84a9a4e99d161664fa1441b1278756023))
41
+
42
+ ### Features
43
+
44
+
45
+
46
+ - **(es/lints)** Add `constructor-super` rule (#4912) ([6daeeb0](https://github.com/swc-project/swc/commit/6daeeb0652513af7435c2197d74734c89965d66e))
47
+
48
+
49
+ - **(es/minifier)** Turn `Array`/`Object` calls into literals (#4947) ([47bdc6a](https://github.com/swc-project/swc/commit/47bdc6a6b13c5a4d6b85d4e3a0e729126c7b5f9d))
50
+
51
+
52
+ - **(html/minifier)** Compress whitespaces (#4916) ([f2690cc](https://github.com/swc-project/swc/commit/f2690cce08bf2e922b7eb9146288ca78ad0eeed4))
53
+
54
+
55
+ - **(html/minifier)** Add `remove_empty_attributes` option (#4958) ([63d630d](https://github.com/swc-project/swc/commit/63d630d47761f1ab9c60a40c5bedf8542366f975))
56
+
57
+
58
+ - **(html/minifier)** Add `collapse_boolean_attributes` option (#4960) ([3957bc6](https://github.com/swc-project/swc/commit/3957bc64b7d278cdf737e9da514fa94780044be2))
59
+
60
+ ### Miscellaneous Tasks
61
+
62
+
63
+
64
+ - **(ci)** Test `concurrent` (#4955) ([1a9f935](https://github.com/swc-project/swc/commit/1a9f93546bf1c9192baa562a419648cfe5d199fc))
65
+
66
+ ### Performance
67
+
68
+
69
+
70
+ - **(common)** Add `Atom` type (#4945) ([4ada9c7](https://github.com/swc-project/swc/commit/4ada9c7e05d1d61e061bf6af5830d10580d671eb))
71
+
72
+
73
+ - **(css/parser)** Improve performance of lexer (#4921) ([327969d](https://github.com/swc-project/swc/commit/327969d0d96159ed45a45a92e943d9d426de303c))
74
+
75
+
76
+ - **(es/minifier)** Make more things parallel and reduce call stacks (#4915) ([3580638](https://github.com/swc-project/swc/commit/35806385eab405a3a03d88172c94dfefb2599240))
77
+
78
+
79
+ - **(es/transforms)** Make rename operator parallel (#4951) ([445d585](https://github.com/swc-project/swc/commit/445d58518dc1ea5ab670f4e3d9e8b833108e1cf7))
80
+
81
+ ### Refactor
82
+
83
+
84
+
85
+ - **(es/resolver)** Prepare parallel `resolver` (#4957) ([ea92a6a](https://github.com/swc-project/swc/commit/ea92a6ab8a17a03d6f8d301fe3373d8282d09218))
86
+
87
+
88
+ - **(html/parser)** Remove unused code (#4949) ([42a1d7c](https://github.com/swc-project/swc/commit/42a1d7c7a11120b8be8dbd7a29a6401d60062d70))
89
+
90
+ ### Testing
91
+
92
+
93
+
94
+ - **(css/parser)** Improve tests (#4963) ([1b7b4f0](https://github.com/swc-project/swc/commit/1b7b4f0cb4b331d5ad861e3721c2fcd14322b2e4))
95
+
96
+ ## [1.2.199] - 2022-06-11
97
+
98
+ ### Bug Fixes
99
+
100
+
101
+
8
102
  - **(ci)** Fix android build issue caused by NDK 21 -> 23 (#4942) ([52e2347](https://github.com/swc-project/swc/commit/52e23470e71e769e980f1e0d291ebf4a984bbfb8))
9
103
 
10
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.198",
3
+ "version": "1.2.203",
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.199",
139
- "@swc/core-darwin-x64": "1.2.199",
140
- "@swc/core-linux-x64-gnu": "1.2.199",
141
- "@swc/core-linux-x64-musl": "1.2.199",
142
- "@swc/core-freebsd-x64": "1.2.199",
143
- "@swc/core-win32-ia32-msvc": "1.2.199",
144
- "@swc/core-linux-arm64-gnu": "1.2.199",
145
- "@swc/core-linux-arm-gnueabihf": "1.2.199",
146
- "@swc/core-darwin-arm64": "1.2.199",
147
- "@swc/core-android-arm64": "1.2.199",
148
- "@swc/core-linux-arm64-musl": "1.2.199",
149
- "@swc/core-win32-arm64-msvc": "1.2.199",
150
- "@swc/core-android-arm-eabi": "1.2.199"
138
+ "@swc/core-win32-x64-msvc": "1.2.203",
139
+ "@swc/core-darwin-x64": "1.2.203",
140
+ "@swc/core-linux-x64-gnu": "1.2.203",
141
+ "@swc/core-linux-x64-musl": "1.2.203",
142
+ "@swc/core-freebsd-x64": "1.2.203",
143
+ "@swc/core-win32-ia32-msvc": "1.2.203",
144
+ "@swc/core-linux-arm64-gnu": "1.2.203",
145
+ "@swc/core-linux-arm-gnueabihf": "1.2.203",
146
+ "@swc/core-darwin-arm64": "1.2.203",
147
+ "@swc/core-android-arm64": "1.2.203",
148
+ "@swc/core-linux-arm64-musl": "1.2.203",
149
+ "@swc/core-win32-arm64-msvc": "1.2.203",
150
+ "@swc/core-android-arm-eabi": "1.2.203"
151
151
  }
152
152
  }