@swc/core 1.2.130 → 1.2.131

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 +65 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,71 @@
5
5
 
6
6
 
7
7
 
8
+ - **(common)** Use `siphasher` directly and upgrade transitive dependencies to avoid UB (#3299) ([641265b](https://github.com/swc-project/swc/commit/641265b147da9478f5d205ddc0c7c16ed94b8676))
9
+
10
+
11
+ - **(es/compat)** Apply `static_blocks` before `class_properties` (#3292) ([89235b8](https://github.com/swc-project/swc/commit/89235b8294dedb4dd50c85e2a3b3ce41bddac85e))
12
+
13
+
14
+ - **(es/minifier)** Fix analysis of unary expressions (#3286) ([b55ae4b](https://github.com/swc-project/swc/commit/b55ae4b312b5677efeb9f3e9697dc2bcff81e322))
15
+
16
+
17
+ - **(es/minifier)** Inline into interpolations in tagged template literals (#3287) ([fa5c063](https://github.com/swc-project/swc/commit/fa5c063144246ce634305399787e08498765eb8f))
18
+
19
+
20
+ - **(es/minifier)** Remove more side-effect-free expressions. (#3301) ([18a11d7](https://github.com/swc-project/swc/commit/18a11d7c8f6582df2a486ef8fdafca85d323bee7))
21
+
22
+
23
+ - **(es/minifier)** Don't emit invalid code (#3302) ([8e796cd](https://github.com/swc-project/swc/commit/8e796cdc0ac59d7cab7e9e845afc2f98ee89c3ae))
24
+
25
+
26
+ - **(es/minifier)** Fix logic for checking `arguments` (#3313) ([1aa494b](https://github.com/swc-project/swc/commit/1aa494b1c0d26151c56500dd2bab283b7a4222c5))
27
+
28
+
29
+ - **(es/minifier)** Prevent infinite loop due to negation (#3310) ([b4d21bf](https://github.com/swc-project/swc/commit/b4d21bf0778d973d651b6f1825c4eb27dc150ea2))
30
+
31
+
32
+ - **(es/resolver)** Ignore names of jsx attributes (#3289) ([9a89895](https://github.com/swc-project/swc/commit/9a898951bc14e96af926e8a47a87d9220eaf4826))
33
+
34
+ ### Documentation
35
+
36
+
37
+
38
+ - **(swc)** Document `typescript::strip` (#3305) ([18cd98e](https://github.com/swc-project/swc/commit/18cd98e54cdd3c651fc12815aa59a6640a1c0dcb))
39
+
40
+ ### Features
41
+
42
+
43
+
44
+ - **(es/compat)** Use remove useless source map entries generated by `classes` (#3242) ([2352920](https://github.com/swc-project/swc/commit/2352920889c217be41dd5d18c2af6088e1cd0473))
45
+
46
+
47
+ - **(es/minifier)** Drop more expressions from parallel optimizer (#3303) ([210ecf8](https://github.com/swc-project/swc/commit/210ecf83bb2d23d72f903243c173a249cf4ffccb))
48
+
49
+
50
+ - **(plugin)** Add `PluginError` (#3300) ([c6ffdc8](https://github.com/swc-project/swc/commit/c6ffdc87172e504adff5757ebbb6ec2014136cf1))
51
+
52
+ ### Refactor
53
+
54
+
55
+
56
+ - **(es)** Add `visit_obj_and_computed` macro (#3304) ([9e636c7](https://github.com/swc-project/swc/commit/9e636c7e582ff898ca2e374f0b3938dda98a5b67))
57
+
58
+
59
+ - **(es/minifier)** Fix clippy warnings (#3312) ([2891220](https://github.com/swc-project/swc/commit/289122009bff1e8d57178ca2cc1706f52335d1c5))
60
+
61
+ ### Testing
62
+
63
+
64
+
65
+ - **(plugin/runner)** Pin dependencies for the integration test (#3306) ([7ba8a83](https://github.com/swc-project/swc/commit/7ba8a838819ae40f54801808a41af3d5334421b6))
66
+
67
+ ## [1.2.130] - 2022-01-17
68
+
69
+ ### Bug Fixes
70
+
71
+
72
+
8
73
  - **(css/lexer)** Resolve a `TODO` (#3260) ([ade8ab8](https://github.com/swc-project/swc/commit/ade8ab8c35b9d1c61d740f42672fb4d27977346d))
9
74
 
10
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.130",
3
+ "version": "1.2.131",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -51,19 +51,19 @@
51
51
  "@node-rs/helper": "^1.0.0"
52
52
  },
53
53
  "optionalDependencies": {
54
- "@swc/core-win32-x64-msvc": "1.2.130",
55
- "@swc/core-darwin-x64": "1.2.130",
56
- "@swc/core-linux-x64-gnu": "1.2.130",
57
- "@swc/core-linux-x64-musl": "1.2.130",
58
- "@swc/core-freebsd-x64": "1.2.130",
59
- "@swc/core-win32-ia32-msvc": "1.2.130",
60
- "@swc/core-linux-arm64-gnu": "1.2.130",
61
- "@swc/core-linux-arm-gnueabihf": "1.2.130",
62
- "@swc/core-darwin-arm64": "1.2.130",
63
- "@swc/core-android-arm64": "1.2.130",
64
- "@swc/core-linux-arm64-musl": "1.2.130",
65
- "@swc/core-win32-arm64-msvc": "1.2.130",
66
- "@swc/core-android-arm-eabi": "1.2.130"
54
+ "@swc/core-win32-x64-msvc": "1.2.131",
55
+ "@swc/core-darwin-x64": "1.2.131",
56
+ "@swc/core-linux-x64-gnu": "1.2.131",
57
+ "@swc/core-linux-x64-musl": "1.2.131",
58
+ "@swc/core-freebsd-x64": "1.2.131",
59
+ "@swc/core-win32-ia32-msvc": "1.2.131",
60
+ "@swc/core-linux-arm64-gnu": "1.2.131",
61
+ "@swc/core-linux-arm-gnueabihf": "1.2.131",
62
+ "@swc/core-darwin-arm64": "1.2.131",
63
+ "@swc/core-android-arm64": "1.2.131",
64
+ "@swc/core-linux-arm64-musl": "1.2.131",
65
+ "@swc/core-win32-arm64-msvc": "1.2.131",
66
+ "@swc/core-android-arm-eabi": "1.2.131"
67
67
  },
68
68
  "types": "./index.d.ts",
69
69
  "scripts": {