@swc/core 1.3.6 → 1.3.8

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 +133 -0
  2. package/package.json +16 -15
package/CHANGELOG.md CHANGED
@@ -5,6 +5,139 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/ast)** Fix AST types for simple block (#6131) ([e63fa28](https://github.com/swc-project/swc/commit/e63fa28008fc643c4ddc973d2b39d2da093b44c5))
9
+
10
+
11
+ - **(css/modules)** Fix parsing and refactor code (#6132) ([39cfade](https://github.com/swc-project/swc/commit/39cfade7f8b199b9db3240ffd561524f2f209798))
12
+
13
+
14
+ - **(es/minifier)** Preserve return values of recursive IIFE (#6142) ([3d271e8](https://github.com/swc-project/swc/commit/3d271e82a2ec3ac69ee36e5b1f090bf323f56046))
15
+
16
+ ### Features
17
+
18
+
19
+
20
+ - **(css/minifier)** Compute `calc` expressions (#5966) ([205a317](https://github.com/swc-project/swc/commit/205a317c4d44edb46f96d8b052c5e88990682638))
21
+
22
+
23
+ - **(es/minifier)** Enable `reduce_vars` by default (#6096) ([fc5d8a5](https://github.com/swc-project/swc/commit/fc5d8a5d41103adeb0293ed649789a2256b31f97))
24
+
25
+
26
+ - **(es/minifier)** Merge assignments using sequential inliner (#6103) ([5875298](https://github.com/swc-project/swc/commit/58752983775337067127f219569bd0c7fbc55564))
27
+
28
+
29
+ - **(es/minifier)** Swap more binary expressions (#6134) ([c37839f](https://github.com/swc-project/swc/commit/c37839fc628d62ec8ddb9372b45db72c6aa9e18d))
30
+
31
+
32
+ - **(es/minifier)** Change default pass limit to 3 (#6138) ([3a29bfe](https://github.com/swc-project/swc/commit/3a29bfee9b3be0e85fe9e45272b7151c449779db))
33
+
34
+
35
+ - **(es/minifier)** Improve trivial rules (#6136) ([ec0d6d5](https://github.com/swc-project/swc/commit/ec0d6d5a0d52d86824493556ac9b75237197711e))
36
+
37
+ ### Miscellaneous Tasks
38
+
39
+
40
+
41
+ - **(ci)** Deny clippy warnings (#6126) ([d6fd476](https://github.com/swc-project/swc/commit/d6fd47672150aa3a020c55b1c61c4ac593d0c9fe))
42
+
43
+ ### Performance
44
+
45
+
46
+
47
+ - **(atoms)** Use thin pointer for `Atom` (#6135) ([9c8ec0e](https://github.com/swc-project/swc/commit/9c8ec0ea560ba97abcb864d482202bd8173a4e80))
48
+
49
+ ### Refactor
50
+
51
+
52
+
53
+ - **(css/ast)** Refactor AST types (#6124) ([85b2188](https://github.com/swc-project/swc/commit/85b218820492d4567e17998513067fa6b3490346))
54
+
55
+ ## [1.3.7] - 2022-10-12
56
+
57
+ ### Bug Fixes
58
+
59
+
60
+
61
+ - **(css/ast)** Fix AST types for namespace (#6112) ([c765f0f](https://github.com/swc-project/swc/commit/c765f0ff73a6cdeeb86521427355a584a424fcc3))
62
+
63
+
64
+ - **(es/preset-env)** Update data (#6106) ([8d4d326](https://github.com/swc-project/swc/commit/8d4d32664d7f4feeba5faa3dec95691d5560ca6c))
65
+
66
+
67
+ - **(swc_core)** Reexport `swc_css_compat` correctly (#6114) ([5fd0e97](https://github.com/swc-project/swc/commit/5fd0e97c15c2f2c4feaacaf74984cca7571e4340))
68
+
69
+ ### Documentation
70
+
71
+
72
+
73
+ - **(es/parser)** Change file extension in TypeScript example (#6094) ([ca67d52](https://github.com/swc-project/swc/commit/ca67d5244dc30c47bf70266f75af2fd3231fd83d))
74
+
75
+ ### Features
76
+
77
+
78
+
79
+ - **(bindings)** Apply `resolver` to the output of `parse` apis (#6118) ([0cd8aee](https://github.com/swc-project/swc/commit/0cd8aeeb5c07e1fba76a43b78ed2e3cfabf88256))
80
+
81
+
82
+ - **(css/ast)** Support `::highlight()` (#6109) ([1938ed2](https://github.com/swc-project/swc/commit/1938ed26a158510ee15f57ca9f2599b26d0f43ac))
83
+
84
+
85
+ - **(css/ast)** Add AST types for gradients (#6111) ([6b3f4bb](https://github.com/swc-project/swc/commit/6b3f4bb1c6933990e2468c1430760bbf57180162))
86
+
87
+
88
+ - **(css/codegen)** Support lowercase case insensitivity (#6113) ([a920997](https://github.com/swc-project/swc/commit/a920997f4b1e4a194e2b74bc8a27184d0e438d31))
89
+
90
+
91
+ - **(dbg-swc)** Remove comments from the output of `terser` (#6119) ([8549c47](https://github.com/swc-project/swc/commit/8549c4780775ef329b7ea35e56a91de6c1fc9577))
92
+
93
+
94
+ - **(es/minifier)** Mark ref to fn as non-call in alias analyzer (#6088) ([b0c5745](https://github.com/swc-project/swc/commit/b0c57458c838097835fd9e1f1af1888867cc1b71))
95
+
96
+
97
+ - **(es/minifier)** Inline more lazily initialized vars (#6089) ([657e5b3](https://github.com/swc-project/swc/commit/657e5b31116974cd0c90cdb0871178e36fa41daf))
98
+
99
+
100
+ - **(es/minifier)** Enable `reduce_funcs` by default (#6097) ([3c6cdbc](https://github.com/swc-project/swc/commit/3c6cdbc61cba7dcca38251413cc9033487677dd4))
101
+
102
+
103
+ - **(es/minifier)** Detect type of `.length` (#6120) ([ad960c7](https://github.com/swc-project/swc/commit/ad960c76c059fbd33de1cdb0525aef509124e205))
104
+
105
+
106
+ - **(es/minifier)** Inline and remove vars in one pass (#6093) ([5a23949](https://github.com/swc-project/swc/commit/5a23949f1284f71447b9292a374a0cf88759a318))
107
+
108
+
109
+ - **(es/minifier)** Inline pure array literal partially (#6099) ([66196a6](https://github.com/swc-project/swc/commit/66196a65be7164bf519dbc749c687ac815f22ee7))
110
+
111
+
112
+ - **(swc_core)** Reexport `swc_css_compat` (#6102) ([16dc746](https://github.com/swc-project/swc/commit/16dc746cd3a1b6e03903d23a9ba78d0c65128710))
113
+
114
+ ### Performance
115
+
116
+
117
+
118
+ - **(atoms)** Add more atoms (#6122) ([7343cf3](https://github.com/swc-project/swc/commit/7343cf33891a96c1ac0216e14ef40b8d7b95da9c))
119
+
120
+ ### Testing
121
+
122
+
123
+
124
+ - **(css/prefixer)** Verify old gradient syntax (#6121) ([7e4d207](https://github.com/swc-project/swc/commit/7e4d20791bbd518a48570dba3386d6bf9d94e0f7))
125
+
126
+
127
+ - **(es/minifier)** Organize terser tests (#6116) ([6365acc](https://github.com/swc-project/swc/commit/6365acc9f5cb9a44671316aa03edd0e057a7d7f5))
128
+
129
+ ### Build
130
+
131
+
132
+
133
+ - **(cargo)** Remove unused deps (#6117) ([27bda13](https://github.com/swc-project/swc/commit/27bda13591a57995708f60bdcb3cbe50b9bb42ec))
134
+
135
+ ## [1.3.6] - 2022-10-08
136
+
137
+ ### Bug Fixes
138
+
139
+
140
+
8
141
  - **(es/minifier)** Improve infection analysis (#6044) ([c9427f1](https://github.com/swc-project/swc/commit/c9427f1ec4ae3bb369fa301341b856c7c298d3cd))
9
142
 
10
143
  ### Documentation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -144,19 +144,19 @@
144
144
  "url": "https://opencollective.com/swc"
145
145
  },
146
146
  "optionalDependencies": {
147
- "@swc/core-win32-x64-msvc": "1.3.6",
148
- "@swc/core-darwin-x64": "1.3.6",
149
- "@swc/core-linux-x64-gnu": "1.3.6",
150
- "@swc/core-linux-x64-musl": "1.3.6",
151
- "@swc/core-freebsd-x64": "1.3.6",
152
- "@swc/core-win32-ia32-msvc": "1.3.6",
153
- "@swc/core-linux-arm64-gnu": "1.3.6",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.6",
155
- "@swc/core-darwin-arm64": "1.3.6",
156
- "@swc/core-android-arm64": "1.3.6",
157
- "@swc/core-linux-arm64-musl": "1.3.6",
158
- "@swc/core-win32-arm64-msvc": "1.3.6",
159
- "@swc/core-android-arm-eabi": "1.3.6"
147
+ "@swc/core-win32-x64-msvc": "1.3.8",
148
+ "@swc/core-darwin-x64": "1.3.8",
149
+ "@swc/core-linux-x64-gnu": "1.3.8",
150
+ "@swc/core-linux-x64-musl": "1.3.8",
151
+ "@swc/core-freebsd-x64": "1.3.8",
152
+ "@swc/core-win32-ia32-msvc": "1.3.8",
153
+ "@swc/core-linux-arm64-gnu": "1.3.8",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.8",
155
+ "@swc/core-darwin-arm64": "1.3.8",
156
+ "@swc/core-android-arm64": "1.3.8",
157
+ "@swc/core-linux-arm64-musl": "1.3.8",
158
+ "@swc/core-win32-arm64-msvc": "1.3.8",
159
+ "@swc/core-android-arm-eabi": "1.3.8"
160
160
  },
161
161
  "files": [
162
162
  "CHANGELOG.md",
@@ -178,5 +178,6 @@
178
178
  "types.js",
179
179
  "postinstall.js",
180
180
  "bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
181
- ]
181
+ ],
182
+ "packageManager": "yarn@3.2.4"
182
183
  }