@swc/core 1.3.23 → 1.3.24

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 +119 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,125 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/minifier)** Don't remove custom variables with different case (#6655) ([dd7280d](https://github.com/swc-project/swc/commit/dd7280d5bda960292bf5f4e12816d5a340277222))
9
+
10
+
11
+ - **(css/minifier)** Fix a bug with a modern hash (#6664) ([1d3e06a](https://github.com/swc-project/swc/commit/1d3e06aa886ffd8b18044c42a899fc3c780a6179))
12
+
13
+
14
+ - **(es/helpers)** Fix loose mode (#6691) ([5016ebe](https://github.com/swc-project/swc/commit/5016ebed8f68ed1afb40d5d86c13d5e787e9cc13))
15
+
16
+
17
+ - **(es/minifier)** Abort IIFE invoker completely on eval (#6659) ([bb9fab8](https://github.com/swc-project/swc/commit/bb9fab8d0358262b8236c372d62660a50b5b3417))
18
+
19
+
20
+ - **(es/minifier)** Don't inline invalid LHS into an update argument (#6680) ([7e6ec8d](https://github.com/swc-project/swc/commit/7e6ec8d587471dba1dde44ebcfd6af6d03247955))
21
+
22
+
23
+ - **(es/preset-env)** Align polyfills with `@babel/plugin-polyfill-corejs3` (#6673) ([5fed222](https://github.com/swc-project/swc/commit/5fed22282971c62af3be8bf0b858684ca90ec7fc))
24
+
25
+ ### Features
26
+
27
+
28
+
29
+ - **(css/compat)** Support function notation (#6651) ([39afc46](https://github.com/swc-project/swc/commit/39afc4627e2a1e6ca397bc22cd3d9abe68c45fe2))
30
+
31
+
32
+ - **(css/compat)** Support `not` with multiple arguments (#6668) ([352896f](https://github.com/swc-project/swc/commit/352896f4cb627c1a006ea82780f993915af7e8b1))
33
+
34
+
35
+ - **(css/compat)** Support `hwb` color (#6687) ([b23cf50](https://github.com/swc-project/swc/commit/b23cf50f4ff58a2c6d434cb03f2388e75a35d510))
36
+
37
+
38
+ - **(css/minifier)** Compress alpha in a hex (#6653) ([f6292e6](https://github.com/swc-project/swc/commit/f6292e63b51e5ad5a8d1fcc253e8342438098898))
39
+
40
+
41
+ - **(css/minifier)** Improve compression of media at-rules (#6665) ([2fd3ced](https://github.com/swc-project/swc/commit/2fd3ced40c97fbac162f70e49c76c775e66a4552))
42
+
43
+
44
+ - **(css/parser)** Normalize hex colors (#6652) ([b257d5d](https://github.com/swc-project/swc/commit/b257d5d591c04feedf2f5997a984bf2f843b9d19))
45
+
46
+
47
+ - **(css/parser)** Normalize selector AST (#6657) ([649438b](https://github.com/swc-project/swc/commit/649438b76a8ea61f2ddb2160a212d318d9d05267))
48
+
49
+
50
+ - **(css/parser)** Normalize declaration and important (#6663) ([1fc97a7](https://github.com/swc-project/swc/commit/1fc97a7cea4ddf5b70f3b9193388e481caa60731))
51
+
52
+
53
+ - **(css/parser)** Normalize dimension (#6654) ([3d3863d](https://github.com/swc-project/swc/commit/3d3863dc1f80a7a1dc141cc9fb0ed9277537a3d0))
54
+
55
+
56
+ - **(css/parser)** Normalize URL functions (#6675) ([c01464e](https://github.com/swc-project/swc/commit/c01464e4525cb8c7d4b9f000d8b76d72e8e7531a))
57
+
58
+
59
+ - **(css/parser)** Normalize at-rule names (#6676) ([7f8ba9c](https://github.com/swc-project/swc/commit/7f8ba9c22c9910e03a3b6122dd4ca4324314bbb5))
60
+
61
+
62
+ - **(css/parser)** Normalize keyframe selectors (#6688) ([d7a0524](https://github.com/swc-project/swc/commit/d7a0524fb64c97facf067281ae3a2fc4afae68fe))
63
+
64
+
65
+ - **(css/parser)** Normalize and improve function name (#6667) ([2571070](https://github.com/swc-project/swc/commit/257107014801e892a78ec68c2c0ec0899a083053))
66
+
67
+
68
+ - **(css/prefixer)** Support font-face format (#6644) ([199ac74](https://github.com/swc-project/swc/commit/199ac7461814553bab97c1f0f7b1c89f34897122))
69
+
70
+
71
+ - **(css/prefixer)** Support `word-wrap` (#6679) ([46241b4](https://github.com/swc-project/swc/commit/46241b4e554b7a6ee090db8e35acd0151e8caf2b))
72
+
73
+
74
+ - **(css/prefixer)** Support `place-*` properties (#6685) ([d8df1b5](https://github.com/swc-project/swc/commit/d8df1b53d13cb25aa8f513f9dc3baeb535fd714e))
75
+
76
+
77
+ - **(css/prefixer)** Support `overflow` (#6678) ([1c7f003](https://github.com/swc-project/swc/commit/1c7f003779fd17d3d2c372ce502cbbaabb49ed48))
78
+
79
+
80
+ - **(es/minifier)** Improve simplification of `?.` (#6681) ([707b1e3](https://github.com/swc-project/swc/commit/707b1e3cd203be22eccc60367dc3c84f62105de5))
81
+
82
+ ### Miscellaneous Tasks
83
+
84
+
85
+
86
+ - **(ci)** Fix upload of cli binaries (#6701) ([025d626](https://github.com/swc-project/swc/commit/025d6268cdcbdb2cf280ccbef7b15a6f3daf00a5))
87
+
88
+
89
+ - **(helpers)** Fix license (#6690) ([8a71dbc](https://github.com/swc-project/swc/commit/8a71dbca6d94af76c3bf7317390dd1da835cacae))
90
+
91
+ ### Performance
92
+
93
+
94
+
95
+ - **(css/prefixer)** Use `JsWord` instead of `&str` (#6658) ([d27a270](https://github.com/swc-project/swc/commit/d27a270fec7f08895c5a9ab2b56da6d77f52d5af))
96
+
97
+
98
+ - **(es/minifier)** Use rope-like structure for the name mangler (#6661) ([cb4173a](https://github.com/swc-project/swc/commit/cb4173aa73fbfd95f2411ceb97cec95e408f59ee))
99
+
100
+ ### Refactor
101
+
102
+
103
+
104
+ - **(css/compat)** Merge nesting into the compiler (#6686) ([1840e74](https://github.com/swc-project/swc/commit/1840e748af8334d244a1455a25325625b06fff93))
105
+
106
+
107
+ - **(css/prefixer)** Use `eq_ignore_span` (#6656) ([d4660a4](https://github.com/swc-project/swc/commit/d4660a4673e19d628b7720e1352fa905bdc4456a))
108
+
109
+ ### Testing
110
+
111
+
112
+
113
+ - **(css/parser)** Add a test (#6666) ([87e1efd](https://github.com/swc-project/swc/commit/87e1efd98ce3c58325ee047c2b01b0df575e921f))
114
+
115
+ ### Build
116
+
117
+
118
+
119
+ - **(bindings)** Crash in GraalVM (#6689) ([e7849db](https://github.com/swc-project/swc/commit/e7849dbc6a68274ec5f177f061da80bdf8788902))
120
+
121
+ ## [1.3.23] - 2022-12-14
122
+
123
+ ### Bug Fixes
124
+
125
+
126
+
8
127
  - **(css/minifier)** Fix compressions of transform functions (#6617) ([208fd55](https://github.com/swc-project/swc/commit/208fd559ba383b32c72ffdf5d8ad50cbf9679ec6))
9
128
 
10
129
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.23",
3
+ "version": "1.3.24",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -94,7 +94,7 @@
94
94
  "@babel/preset-react": "^7.13.13",
95
95
  "@babel/preset-typescript": "^7.13.0",
96
96
  "@babel/types": "^7.14.0",
97
- "@napi-rs/cli": "^2.10.0",
97
+ "@napi-rs/cli": "^2.13.3",
98
98
  "@swc/core": "=1.2.220",
99
99
  "@swc/helpers": "^0.4.2",
100
100
  "@swc/plugin-jest": "1.5.25",
@@ -141,16 +141,16 @@
141
141
  "url": "https://opencollective.com/swc"
142
142
  },
143
143
  "optionalDependencies": {
144
- "@swc/core-win32-x64-msvc": "1.3.23",
145
- "@swc/core-darwin-x64": "1.3.23",
146
- "@swc/core-linux-x64-gnu": "1.3.23",
147
- "@swc/core-linux-x64-musl": "1.3.23",
148
- "@swc/core-win32-ia32-msvc": "1.3.23",
149
- "@swc/core-linux-arm64-gnu": "1.3.23",
150
- "@swc/core-linux-arm-gnueabihf": "1.3.23",
151
- "@swc/core-darwin-arm64": "1.3.23",
152
- "@swc/core-linux-arm64-musl": "1.3.23",
153
- "@swc/core-win32-arm64-msvc": "1.3.23"
144
+ "@swc/core-win32-x64-msvc": "1.3.24",
145
+ "@swc/core-darwin-x64": "1.3.24",
146
+ "@swc/core-linux-x64-gnu": "1.3.24",
147
+ "@swc/core-linux-x64-musl": "1.3.24",
148
+ "@swc/core-win32-ia32-msvc": "1.3.24",
149
+ "@swc/core-linux-arm64-gnu": "1.3.24",
150
+ "@swc/core-linux-arm-gnueabihf": "1.3.24",
151
+ "@swc/core-darwin-arm64": "1.3.24",
152
+ "@swc/core-linux-arm64-musl": "1.3.24",
153
+ "@swc/core-win32-arm64-msvc": "1.3.24"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",