@swc/core 1.3.14 → 1.3.16

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 +127 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,127 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/utils)** Verify the name of an alias (#6423) ([68ffc5b](https://github.com/swc-project/swc/commit/68ffc5bc3e676340cda1ee76265e12420d52473e))
9
+
10
+ ## [1.3.15] - 2022-11-12
11
+
12
+ ### Bug Fixes
13
+
14
+
15
+
16
+ - **(css/parser)** Fix parsing of `supports()` (#6333) ([f483224](https://github.com/swc-project/swc/commit/f4832247bc5a831658d8a6c15678eaf6412fa0c1))
17
+
18
+
19
+ - **(css/parser)** Fix parsing of `<general-enclosed>` (#6380) ([d18eaf1](https://github.com/swc-project/swc/commit/d18eaf169858705975f3954e89177532ff39b125))
20
+
21
+
22
+ - **(es)** Use `unresolved_mark` for preset-env (#6386) ([156f370](https://github.com/swc-project/swc/commit/156f370af935f563129fa9952fa2f8c3a865e5de))
23
+
24
+
25
+ - **(es/compat)** Fix chained op-assignment of super properties (#6319) ([064baa3](https://github.com/swc-project/swc/commit/064baa3052425dca7db869195252acee0f1350b6))
26
+
27
+
28
+ - **(es/compat)** Handle super access in a private static property (#6361) ([6cc9e90](https://github.com/swc-project/swc/commit/6cc9e90ef4eaa658919237fb183ee3bbce286968))
29
+
30
+
31
+ - **(es/compat)** Handle a nullish coalescing in a switch case (#6363) ([2de45fb](https://github.com/swc-project/swc/commit/2de45fb0f7f0afbf2a15a6a27776a43faacebffc))
32
+
33
+
34
+ - **(es/compat)** Fix `this` in computed class method names (#6364) ([9820122](https://github.com/swc-project/swc/commit/982012289fe4e40d3404f17f55d96b1ea32c796f))
35
+
36
+
37
+ - **(es/fixer)** Handle more expressions in postfix operator (#6359) ([8123bf0](https://github.com/swc-project/swc/commit/8123bf09b58785f1e972b1e31b312a00d5535f4e))
38
+
39
+
40
+ - **(es/helpers)** Fix import `_typeof` in `__decorate` (#6377) ([25333b9](https://github.com/swc-project/swc/commit/25333b989efb86297a895fe44f4f6ddbb2357daa))
41
+
42
+
43
+ - **(es/lints)** Disallow reassignment to a class (#6362) ([3793e83](https://github.com/swc-project/swc/commit/3793e83fbb89d7710c3b85862b895ef7c78053cf))
44
+
45
+
46
+ - **(es/modules)** Preserve extensions (#6339) ([91e863c](https://github.com/swc-project/swc/commit/91e863c8dff55e8742695eb5ec4c2cbe9b667177))
47
+
48
+
49
+ - **(es/parser)** Fix parsing of `await` (#6316) ([28af15e](https://github.com/swc-project/swc/commit/28af15e4757c77e1cc9c75e99abcdad23b87da5f))
50
+
51
+
52
+ - **(es/parser)** Fix parsing of TS `satisfies` expressions (#6354) ([f6faeb3](https://github.com/swc-project/swc/commit/f6faeb3bad6c2df2007e6565e646219b778b9db6))
53
+
54
+
55
+ - **(es/plugin)** Print more details on pointer conversion failures (#6378) ([b6c1cc4](https://github.com/swc-project/swc/commit/b6c1cc49e142cba6715ac2f7099c3102ffe9273c))
56
+
57
+
58
+ - **(es/resolver)** Resolve interfaces correctly (#6387) ([6b876c4](https://github.com/swc-project/swc/commit/6b876c4c4ff618cc6652f3178284c596d24400f3))
59
+
60
+
61
+ - **(html/minifier)** Fix merging of scripts (#6393) ([a923e52](https://github.com/swc-project/swc/commit/a923e52d8fcc4b5f789be16aeb9265b23848e12b))
62
+
63
+ ### Documentation
64
+
65
+
66
+
67
+ - **(contributing)** Change feature flags for running all tests (#6396) ([6e443d4](https://github.com/swc-project/swc/commit/6e443d4409c3a5692df1698aee2412d69c3f4925))
68
+
69
+ ### Features
70
+
71
+
72
+
73
+ - **(css/parser)** Improve error recovery (#6336) ([0bc682f](https://github.com/swc-project/swc/commit/0bc682f5290cd9c9b1ad2b41ece529814e9699d0))
74
+
75
+
76
+ - **(css/parser)** Support new nesting spec (#6337) ([e0967ef](https://github.com/swc-project/swc/commit/e0967efa6eb640341e640b2703b7a96da2f5acdb))
77
+
78
+
79
+ - **(es/utils)** Use more unique names for aliases (#6399) ([574502a](https://github.com/swc-project/swc/commit/574502a81684e42e2ee60e362544d32d8ddf717d))
80
+
81
+
82
+ - **(html/minifier)** Improve merging of group elements (#6349) ([34b3710](https://github.com/swc-project/swc/commit/34b3710c9ca85bf65ec3cf23d2d3ae838d218f52))
83
+
84
+
85
+ - **(swc_core)** Expose `swc_css_modules` (#6394) ([26b21b1](https://github.com/swc-project/swc/commit/26b21b1d21e1f8d538bfb3c54dd1d528d8586ad2))
86
+
87
+ ### Miscellaneous Tasks
88
+
89
+
90
+
91
+ - **(ci)** Fix CI (#6340) ([6094994](https://github.com/swc-project/swc/commit/60949946296c5f999fbbf704281e9e3bc863ce5f))
92
+
93
+ ### Performance
94
+
95
+
96
+
97
+ - **(css)** Reduce size of tokens (#6384) ([bea6cce](https://github.com/swc-project/swc/commit/bea6cce0c6442891e6cfe3df5982c13ea3dda5a3))
98
+
99
+
100
+ - **(css/ast)** Use `Atom` for `raw` values (#6401) ([ec2c021](https://github.com/swc-project/swc/commit/ec2c021255f36f94352b70070d103e320fefe29b))
101
+
102
+ ### Refactor
103
+
104
+
105
+
106
+ - **(css/parser)** Avoid unnecessary checks (#6383) ([4d49b9f](https://github.com/swc-project/swc/commit/4d49b9f61f226551d96e8e3210702366a5a1b885))
107
+
108
+
109
+ - **(css/parser)** Union input types (#6385) ([434a765](https://github.com/swc-project/swc/commit/434a7657ed7d1705c90711853b1dcdf3579528c8))
110
+
111
+
112
+ - **(css/parser)** Skip whitespaces in correct places (#6382) ([56bc6b8](https://github.com/swc-project/swc/commit/56bc6b87948a41ccf8e6e7ac2da0c19ead2b451b))
113
+
114
+
115
+ - **(css/parser)** Refactor parser (#6395) ([983ab91](https://github.com/swc-project/swc/commit/983ab9143514a08f3448062ab6b0e97dec31e679))
116
+
117
+ ### Testing
118
+
119
+
120
+
121
+ - **(es/resolver)** Add a test about hoisting of functions in a switch (#6341) ([2513862](https://github.com/swc-project/swc/commit/25138624a6ec8d55b247db8b36aa56e2a5b4f966))
122
+
123
+ ## [1.3.14] - 2022-11-03
124
+
125
+ ### Bug Fixes
126
+
127
+
128
+
8
129
  - **(common)** Remove `&mut` from `build_source_map_from` (#6276) ([47d7fca](https://github.com/swc-project/swc/commit/47d7fcaaedb97d1ce28727de6c22698fc2d0d11b))
9
130
 
10
131
 
@@ -77,6 +198,12 @@
77
198
  - **(ci)** Enforce clippy for all targets (#6299) ([0967e8f](https://github.com/swc-project/swc/commit/0967e8f06d81e498de5c830b766906e5aaaff2fc))
78
199
 
79
200
 
201
+ - **(ci)** Fix publish action ([2737143](https://github.com/swc-project/swc/commit/27371431a9c4f0881beaced6c5e131af546f038d))
202
+
203
+
204
+ - **(ci)** Fix publish action ([13b4d31](https://github.com/swc-project/swc/commit/13b4d317a5fc595f7446250ca9da570e3586cff4))
205
+
206
+
80
207
  - **(common)** Switch to `new_debug_unreachable` (#6265) ([2f61332](https://github.com/swc-project/swc/commit/2f613321779cfa7a3ccb9d3fd6c7789459723f0f))
81
208
 
82
209
  ### Performance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.14",
3
+ "version": "1.3.16",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -141,16 +141,16 @@
141
141
  "url": "https://opencollective.com/swc"
142
142
  },
143
143
  "optionalDependencies": {
144
- "@swc/core-win32-x64-msvc": "1.3.14",
145
- "@swc/core-darwin-x64": "1.3.14",
146
- "@swc/core-linux-x64-gnu": "1.3.14",
147
- "@swc/core-linux-x64-musl": "1.3.14",
148
- "@swc/core-win32-ia32-msvc": "1.3.14",
149
- "@swc/core-linux-arm64-gnu": "1.3.14",
150
- "@swc/core-linux-arm-gnueabihf": "1.3.14",
151
- "@swc/core-darwin-arm64": "1.3.14",
152
- "@swc/core-linux-arm64-musl": "1.3.14",
153
- "@swc/core-win32-arm64-msvc": "1.3.14"
144
+ "@swc/core-win32-x64-msvc": "1.3.16",
145
+ "@swc/core-darwin-x64": "1.3.16",
146
+ "@swc/core-linux-x64-gnu": "1.3.16",
147
+ "@swc/core-linux-x64-musl": "1.3.16",
148
+ "@swc/core-win32-ia32-msvc": "1.3.16",
149
+ "@swc/core-linux-arm64-gnu": "1.3.16",
150
+ "@swc/core-linux-arm-gnueabihf": "1.3.16",
151
+ "@swc/core-darwin-arm64": "1.3.16",
152
+ "@swc/core-linux-arm64-musl": "1.3.16",
153
+ "@swc/core-win32-arm64-msvc": "1.3.16"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",