@swc/core 1.2.161 → 1.2.162

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 +68 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,74 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/compat)** Handle spreads of string literials (#4191) ([4f5c5cf](https://github.com/swc-project/swc/commit/4f5c5cf8429bb6c10b48aefdc3440b563f21d836))
9
+
10
+
11
+ - **(es/compat)** Handle `new.target` in getter/setter properties (#4194) ([3426dda](https://github.com/swc-project/swc/commit/3426dda4f7d662c758d7cb9a15527029f369779f))
12
+
13
+
14
+ - **(es/compat)** Fix label handling of `block_scoping` (#4198) ([c946236](https://github.com/swc-project/swc/commit/c946236fcc911da8bdc213dc8674b48c5d0a41e7))
15
+
16
+
17
+ - **(es/compat)** Hoist env in function params (#4210) ([6a27a0c](https://github.com/swc-project/swc/commit/6a27a0ce882269df7da71c431a8f8026b698cd60))
18
+
19
+
20
+ - **(es/minifier)** Fix `react-ace` (#4183) ([9a9a4f3](https://github.com/swc-project/swc/commit/9a9a4f37d82336f53bf6efbdf4ee38a63d45e278))
21
+
22
+
23
+ - **(es/minifier)** Fix evaluation of IIFEs (#4207) ([1071854](https://github.com/swc-project/swc/commit/10718547e0724271f7b8e06292647ec6faa035f7))
24
+
25
+
26
+ - **(es/optimization)** Support jsx in `dce` (#4203) ([073751f](https://github.com/swc-project/swc/commit/073751f70d7eb557d0f865aa997cbc36396d923d))
27
+
28
+
29
+ - **(es/parser)** Fix parsing of an arrow and a conditional expression (#4199) ([99a0d34](https://github.com/swc-project/swc/commit/99a0d34a1e13a69f5bc1ecf51a6279adab6c20cc))
30
+
31
+
32
+ - **(node-swc)** Initialize custom trace subscriber only once (#4209) ([eecda21](https://github.com/swc-project/swc/commit/eecda21d9a36fc2c4b98c2cae4933adb300cdaa0))
33
+
34
+ ### Features
35
+
36
+
37
+
38
+ - **(common/preset-env)** Dedup `arrayvec` (#4201) ([1ad357c](https://github.com/swc-project/swc/commit/1ad357cb32147ea95ccce534076b87ea5ae76ebd))
39
+
40
+
41
+ - **(es/minifier)** Evaluate trivial expressions (#4179) ([a6f6799](https://github.com/swc-project/swc/commit/a6f679981140867bd36e887249ae63d75186ca5a))
42
+
43
+
44
+ - **(es/minifier)** Optimize switches more correctly (#4180) ([6d3ea17](https://github.com/swc-project/swc/commit/6d3ea17aa6b708c7819a6769dccd920bd3fe2efe))
45
+
46
+
47
+ - **(es/minifier)** Evaluate more iifes (#4200) ([11fe5fa](https://github.com/swc-project/swc/commit/11fe5fabd8280f7cf2c3ef0d6a12e0f3803ef3e8))
48
+
49
+
50
+ - **(es/parser)** Allow parsing files with missing close braces (#4187) ([cffe5ca](https://github.com/swc-project/swc/commit/cffe5ca58e933253f69eb9befd77243c9b81775f))
51
+
52
+
53
+ - **(plugin)** Implement PoC of comments api (#4206) ([536a190](https://github.com/swc-project/swc/commit/536a190dc940b89ebb21aa3ee78b90dfbadbf622))
54
+
55
+ ### Miscellaneous Tasks
56
+
57
+
58
+
59
+ - **(es/parser)** Add span tests back (#4186) ([1759567](https://github.com/swc-project/swc/commit/1759567fc46c93f963b2fbe54997197f00bc884a))
60
+
61
+ ### Refactor
62
+
63
+
64
+
65
+ - **(*)** Remove `fastmem` (#4211) ([3b1da22](https://github.com/swc-project/swc/commit/3b1da220e2c148725a646064519165f2be2a0036))
66
+
67
+
68
+ - **(cli)** Alias plugin build with wasm target (#4181) ([8ca4e67](https://github.com/swc-project/swc/commit/8ca4e674515b77341f77f180235fcfb396dac26d))
69
+
70
+ ## [1.2.161] - 2022-03-28
71
+
72
+ ### Bug Fixes
73
+
74
+
75
+
8
76
  - **(cli)** Fix executable permission (#4154) ([e1d1d82](https://github.com/swc-project/swc/commit/e1d1d82fdb6504f3d6d53a0a8dbc3f3ec3eead70))
9
77
 
10
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.161",
3
+ "version": "1.2.162",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -121,18 +121,18 @@
121
121
  "url": "https://opencollective.com/swc"
122
122
  },
123
123
  "optionalDependencies": {
124
- "@swc/core-win32-x64-msvc": "1.2.161",
125
- "@swc/core-darwin-x64": "1.2.161",
126
- "@swc/core-linux-x64-gnu": "1.2.161",
127
- "@swc/core-linux-x64-musl": "1.2.161",
128
- "@swc/core-freebsd-x64": "1.2.161",
129
- "@swc/core-win32-ia32-msvc": "1.2.161",
130
- "@swc/core-linux-arm64-gnu": "1.2.161",
131
- "@swc/core-linux-arm-gnueabihf": "1.2.161",
132
- "@swc/core-darwin-arm64": "1.2.161",
133
- "@swc/core-android-arm64": "1.2.161",
134
- "@swc/core-linux-arm64-musl": "1.2.161",
135
- "@swc/core-win32-arm64-msvc": "1.2.161",
136
- "@swc/core-android-arm-eabi": "1.2.161"
124
+ "@swc/core-win32-x64-msvc": "1.2.162",
125
+ "@swc/core-darwin-x64": "1.2.162",
126
+ "@swc/core-linux-x64-gnu": "1.2.162",
127
+ "@swc/core-linux-x64-musl": "1.2.162",
128
+ "@swc/core-freebsd-x64": "1.2.162",
129
+ "@swc/core-win32-ia32-msvc": "1.2.162",
130
+ "@swc/core-linux-arm64-gnu": "1.2.162",
131
+ "@swc/core-linux-arm-gnueabihf": "1.2.162",
132
+ "@swc/core-darwin-arm64": "1.2.162",
133
+ "@swc/core-android-arm64": "1.2.162",
134
+ "@swc/core-linux-arm64-musl": "1.2.162",
135
+ "@swc/core-win32-arm64-msvc": "1.2.162",
136
+ "@swc/core-android-arm-eabi": "1.2.162"
137
137
  }
138
138
  }