@swc/core 1.2.143 → 1.2.144

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 +101 -0
  2. package/package.json +15 -15
package/CHANGELOG.md CHANGED
@@ -1,6 +1,107 @@
1
1
  # Changelog
2
2
  ## [unreleased]
3
3
 
4
+ ### Bug Fixes
5
+
6
+
7
+
8
+ - **(es/ast)** Fix definition of `Expr::TsInstantiation` (#3657) ([68a1551](https://github.com/swc-project/swc/commit/68a155165bd04530e97ef62ecede617d954fa98d))
9
+
10
+
11
+ - **(es/parser)** Allow type arguments inside optional chaining (#3653) ([581b63c](https://github.com/swc-project/swc/commit/581b63cf3640f5cfc35a09819dd927c87a7db2b7))
12
+
13
+ ### Features
14
+
15
+
16
+
17
+ - **(cli)** Improve the template `package.json` for plugins (#3641) ([f237aee](https://github.com/swc-project/swc/commit/f237aeea79e140e5b6e105304fccfc48960462bf))
18
+
19
+
20
+ - **(css/ast)** Improve parsing of colors (#3680) ([003a7b8](https://github.com/swc-project/swc/commit/003a7b85a4b458f50d057af06c9cc6ec69b592da))
21
+
22
+
23
+ - **(css/minifier)** Compress selectors (#3623) ([9e691fe](https://github.com/swc-project/swc/commit/9e691fe75b60c73ff3ab2a7939c36f6cea167d06))
24
+
25
+
26
+ - **(css/minifier)** Compress declarations (#3649) ([7d15316](https://github.com/swc-project/swc/commit/7d15316ee12506327b25d0ab6aaf972ac687709b))
27
+
28
+
29
+ - **(css/minifier)** Compress degrees to zero (#3664) ([0b5f554](https://github.com/swc-project/swc/commit/0b5f5544c60136bde3bd07c9c75459086cf4b0d5))
30
+
31
+
32
+ - **(css/minifier)** Compress urls (#3666) ([fab6473](https://github.com/swc-project/swc/commit/fab6473183e6c3c4a8541e0146514da1264a2db6))
33
+
34
+
35
+ - **(css/minifier)** Compress transform functions (#3663) ([1afbd1b](https://github.com/swc-project/swc/commit/1afbd1b6e961869b001a03a90a9e24f0fe7304a6))
36
+
37
+
38
+ - **(css/minifier)** Compress frequency (#3669) ([9b28d4d](https://github.com/swc-project/swc/commit/9b28d4da792a67275ed5d1e33acafc929f67d86f))
39
+
40
+
41
+ - **(es/ast)** Support TypeScript Instantiation Expression (#3642) ([61e711c](https://github.com/swc-project/swc/commit/61e711c912bc31453a24dce2d1e1d98044aab3df))
42
+
43
+
44
+ - **(es/lints)** Implement `no-new` rule (#3634) ([7ff4cbc](https://github.com/swc-project/swc/commit/7ff4cbcbe12b26ff54ffa2db9d30592f770132a2))
45
+
46
+
47
+ - **(es/lints)** Implement `no-bitwise` rule (#3635) ([5a9d0cf](https://github.com/swc-project/swc/commit/5a9d0cf8a75275f457ae60157f34a14ada2fe852))
48
+
49
+
50
+ - **(es/lints)** Add `no-loop-func` rule (#3630) ([f4af363](https://github.com/swc-project/swc/commit/f4af3634de94076e571836a65b491210e096b2b8))
51
+
52
+
53
+ - **(es/lints)** Implement `no-empty-function` rule (#3565) ([319d501](https://github.com/swc-project/swc/commit/319d501f1733febb5861b55782dc5fe742015d2f))
54
+
55
+
56
+ - **(es/minifier)** Merge exports (#3643) ([10adf1e](https://github.com/swc-project/swc/commit/10adf1e548c381d3ff6beef7929d409b1ff1fb60))
57
+
58
+
59
+ - **(es/minifier)** Improve name mangler (#3638) ([e9fabd6](https://github.com/swc-project/swc/commit/e9fabd61e883edc9089cd7ddca44fda5e387b3b8))
60
+
61
+
62
+ - **(es/minifier)** Drop more unused vars (#3656) ([de6effc](https://github.com/swc-project/swc/commit/de6effc6e16665a0f18f23014aec15c66603a039))
63
+
64
+
65
+ - **(es/preset-env)** Upgrade `browserslist-rs` (#3670) ([3199966](https://github.com/swc-project/swc/commit/319996698d5531ea04afe8a6b3f3ed657620f8b4))
66
+
67
+
68
+ - **(plugin)** Pass `NODE_ENV` to plugins using the plugin context (#3677) ([ca0a448](https://github.com/swc-project/swc/commit/ca0a448e8ff85a4a0d02e3229ebcb2603a0b5d9a))
69
+
70
+ ### Miscellaneous Tasks
71
+
72
+
73
+
74
+ - **(ci)** Kill previous runs (#3678) ([f733c9c](https://github.com/swc-project/swc/commit/f733c9c82f0ab942e4a02e7f97d2fda0ef88bfc1))
75
+
76
+
77
+ - **(cli)** Improve the plugin template (#3632) ([0f1afcb](https://github.com/swc-project/swc/commit/0f1afcb8963b27bc04145bc3e947f7408c8d9a18))- **general**: Typo (#3646) ([c5f0e87](https://github.com/swc-project/swc/commit/c5f0e87ebf20259eae230c478da200530f9430e0))
78
+
79
+ ### Performance
80
+
81
+
82
+
83
+ - **(es/minifier)** Parallelize `join_vars` (#3655) ([da2c77d](https://github.com/swc-project/swc/commit/da2c77d9afe179b4f4f0ca1921294ba311f9306e))
84
+
85
+ ### Refactor
86
+
87
+
88
+
89
+ - **(es/ast)** Change definition of optional chaining expressions (#3645) ([2cb66ae](https://github.com/swc-project/swc/commit/2cb66ae075ba45968f302d5cd756b0ce0dbcee41))
90
+
91
+
92
+ - **(preset-env)** Extract common logic for `browserslist` support (#3674) ([b1d2470](https://github.com/swc-project/swc/commit/b1d24702e3ca857c60b0c91d7f81652fd178ea31))
93
+
94
+ ### Build
95
+
96
+
97
+
98
+ - **(cargo)** Use `lld` for windows-x64 (#3683) ([82914d4](https://github.com/swc-project/swc/commit/82914d4edf709c47e0c3338c961b81b6613b5db7))
99
+
100
+
101
+ - **(swc)** Remove unused dependencies (#3673) ([210f17a](https://github.com/swc-project/swc/commit/210f17af8c028dd9742a2e0ff46ce3b3869c6064))
102
+
103
+ ## [1.2.143] - 2022-02-19
104
+
4
105
  ### Features
5
106
 
6
107
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.143",
3
+ "version": "1.2.144",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
7
7
  "author": "강동윤 <kdy1997.dev@gmail.com>",
8
- "license": "Apache-2.0 AND MIT",
8
+ "license": "Apache-2.0",
9
9
  "keywords": [
10
10
  "swc",
11
11
  "swcpack",
@@ -104,18 +104,18 @@
104
104
  "url": "https://opencollective.com/swc"
105
105
  },
106
106
  "optionalDependencies": {
107
- "@swc/core-win32-x64-msvc": "1.2.143",
108
- "@swc/core-darwin-x64": "1.2.143",
109
- "@swc/core-linux-x64-gnu": "1.2.143",
110
- "@swc/core-linux-x64-musl": "1.2.143",
111
- "@swc/core-freebsd-x64": "1.2.143",
112
- "@swc/core-win32-ia32-msvc": "1.2.143",
113
- "@swc/core-linux-arm64-gnu": "1.2.143",
114
- "@swc/core-linux-arm-gnueabihf": "1.2.143",
115
- "@swc/core-darwin-arm64": "1.2.143",
116
- "@swc/core-android-arm64": "1.2.143",
117
- "@swc/core-linux-arm64-musl": "1.2.143",
118
- "@swc/core-win32-arm64-msvc": "1.2.143",
119
- "@swc/core-android-arm-eabi": "1.2.143"
107
+ "@swc/core-win32-x64-msvc": "1.2.144",
108
+ "@swc/core-darwin-x64": "1.2.144",
109
+ "@swc/core-linux-x64-gnu": "1.2.144",
110
+ "@swc/core-linux-x64-musl": "1.2.144",
111
+ "@swc/core-freebsd-x64": "1.2.144",
112
+ "@swc/core-win32-ia32-msvc": "1.2.144",
113
+ "@swc/core-linux-arm64-gnu": "1.2.144",
114
+ "@swc/core-linux-arm-gnueabihf": "1.2.144",
115
+ "@swc/core-darwin-arm64": "1.2.144",
116
+ "@swc/core-android-arm64": "1.2.144",
117
+ "@swc/core-linux-arm64-musl": "1.2.144",
118
+ "@swc/core-win32-arm64-msvc": "1.2.144",
119
+ "@swc/core-android-arm-eabi": "1.2.144"
120
120
  }
121
121
  }