@swc/core 1.2.133 → 1.2.135
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.
- package/CHANGELOG.md +119 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,122 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(css)** Fix the type definition of `@support` at-rules (#3330) ([34943ff](https://github.com/swc-project/swc/commit/34943ffa15ddecb56ee0889a598dfd3d0aa4025c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(css)** Fix `@keyframes` at-rule (#3331) ([f89ffa6](https://github.com/swc-project/swc/commit/f89ffa67aea6c99ec61a961754001e7fa85b86b5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(css)** Fix `@supports` at-rule (#3329) ([9f38060](https://github.com/swc-project/swc/commit/9f3806029c4aa47944f38e1b1c4c8feac4ace4c1))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(css/parser)** Fix parsing of at rules (#3328) ([506a310](https://github.com/swc-project/swc/commit/506a31078aaebf50129658f096bbd5929995205f))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/block-scoping)** Pop scope correctly on early returns (#3360) ([b1a8db6](https://github.com/swc-project/swc/commit/b1a8db61943d022bcbed583eb3562510d1ed727c))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/compat)** Fix regression of `destructuring` (#3326) ([6d1ad36](https://github.com/swc-project/swc/commit/6d1ad368aca53ee64a63ae565cd015909f2f4458))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/compat)** Handle nested functions in `private_field` (#3355) ([29aaac1](https://github.com/swc-project/swc/commit/29aaac1f15f747ea3f938bcab1d536168e9d36a6))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/loader)** Add an option to resolve symlinks with `true` as a default (#3340) ([afdb168](https://github.com/swc-project/swc/commit/afdb168aad9096e4653580a52cc7736915cd2b69))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/minifier)** Consider capturing while inlining (#3322) ([4f23d65](https://github.com/swc-project/swc/commit/4f23d651d1a8855f9383c5306d5e417c273c5c22))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/minifier)** Don't inline a var if the initializer is reassigned (#3333) ([d52a1f3](https://github.com/swc-project/swc/commit/d52a1f3899d7d782917ea1c8701e951fcd6c214f))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/minifier)** Respect block scoping while negating if statements (#3344) ([6921ffb](https://github.com/swc-project/swc/commit/6921ffbbda110384524114dc2d3230b8432e34cc))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Prepend/append correctly (#3367) ([703972d](https://github.com/swc-project/swc/commit/703972dc296fbdfc319d48d43ef3841ebfa56eb3))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/minifier)** Improve minifier (#3350) ([68e9017](https://github.com/swc-project/swc/commit/68e90173762feb2aa6744ca46f5d1185a89da271))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/module)** Remove `.jsx` file extension (#3334) ([b2bf38d](https://github.com/swc-project/swc/commit/b2bf38d025064a42c398ab321fc2e69401a3f74b))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/typescript)** Handle typescript enums with string values (#3339) ([da709fe](https://github.com/swc-project/swc/commit/da709fe3d351f76b51b526cfd0718d8e6cb8f2a0))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(swc)** Respect `jsc.experimental.keepImportAssertions` (#3352) ([d9dc2b9](https://github.com/swc-project/swc/commit/d9dc2b99dde69792db4f5a31ffc983f8b04c0bef))
|
|
54
|
+
|
|
55
|
+
### Documentation
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(contributing)** Fix formatting (#3376) ([90cf073](https://github.com/swc-project/swc/commit/90cf073ab91d44718235d8e0bc38953f7a4c1970))
|
|
60
|
+
|
|
61
|
+
### Features
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(css/ast)** Add `Ratio`, which is defined by spec (#3335) ([c7e5fae](https://github.com/swc-project/swc/commit/c7e5faea5c49333a3141111f92e3b36e29f6202c))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(css/ast)** Add types for dashed identifiers and `@color-profile` at-rules (#3364) ([dfa0286](https://github.com/swc-project/swc/commit/dfa0286aca8aeca49820ebb6a3b0e4461d30fe29))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(css/parser)** Improve parsing of urls (#3362) ([50521d8](https://github.com/swc-project/swc/commit/50521d8ffa3425ad26eb4630698f06b69c41ef2b))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(es/bugfix)** Add `bugfix-safari-id-destructuring-collision-in-function-expression` (#3109) ([d1c90a4](https://github.com/swc-project/swc/commit/d1c90a4e5f2ddfc71c6143ef07e16af352da25fa))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- **(es/codegen)** Emit comments of `Module` and `Script` (#3358) ([fcb7288](https://github.com/swc-project/swc/commit/fcb7288eb66e027fa7278b8f028e4486059241cd))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
- **(es/lints)** Implement "no-console" rule (#3269) ([9872137](https://github.com/swc-project/swc/commit/987213797f71f9b5e0a0ac19edfbd18fe96a7ce5))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
- **(es/minifier)** Handle array literals in `sequences` (#3348) ([8007b2d](https://github.com/swc-project/swc/commit/8007b2dc9338e34a1e9780606fd35181890af990))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
- **(es/preset-env)** Upgrade `browserslist-rs` (#3375) ([d3d754b](https://github.com/swc-project/swc/commit/d3d754bd174bfbd0f6fc25276c40e46e3a3da01f))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
- **(plugin)** Pass host context to plugins for diagnostics emission (#3359) ([a8debc1](https://github.com/swc-project/swc/commit/a8debc17f6082c033d3734a8e2c0cccc598c1d08))
|
|
90
|
+
|
|
91
|
+
### Miscellaneous Tasks
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
- **(ci)** Update `thread_local` (#3357) ([a635e9f](https://github.com/swc-project/swc/commit/a635e9f35bb2a718abad56286d7b6fcecdfe4e58))
|
|
96
|
+
|
|
97
|
+
### Performance
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
- **(node)** Avoid cloning options (#3325) ([8a76935](https://github.com/swc-project/swc/commit/8a76935ca261579f23519d1e2c3b7849ba75a6e0))
|
|
102
|
+
|
|
103
|
+
### Refactor
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
- **(css/ast)** Merge several kinds of blocks into a single type (#3336) ([c664eaf](https://github.com/swc-project/swc/commit/c664eafdefe2b8a65d3d745e4538063a33f93346))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
- **(css/ast)** Fix type definitions related to `@import` at-rule (#3351) ([7787f90](https://github.com/swc-project/swc/commit/7787f90da02d198b26bc2236229446a19628c794))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
- **(css/ast)** Rename `PercentValue` to `Percent` (#3363) ([6fc7562](https://github.com/swc-project/swc/commit/6fc7562686b0915c7a1280620ffe183de66e113f))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
- **(plugin)** Remove multivalue polyfill (#3346) ([4386498](https://github.com/swc-project/swc/commit/438649818fb7e7b1ef6cddf5ba244f80cf7e69a9))
|
|
117
|
+
|
|
118
|
+
## [1.2.133] - 2022-01-20
|
|
119
|
+
|
|
120
|
+
### Bug Fixes
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
8
124
|
- **(css)** Fix parsing of media queries (#3318) ([0723ee2](https://github.com/swc-project/swc/commit/0723ee282861a1e648490989c122d5f4e683dc35))
|
|
9
125
|
|
|
10
126
|
|
|
@@ -28,6 +144,9 @@
|
|
|
28
144
|
|
|
29
145
|
- **(node-swc)** Fix GLIBC < 2.18 compatible issues and android arm binary loading issue (#3314) ([9608605](https://github.com/swc-project/swc/commit/9608605772351a2406870e19ed8738adf2147374))
|
|
30
146
|
|
|
147
|
+
|
|
148
|
+
- **(node-swc)** Fix Windows arm64 build OOM (#3324) ([c069c78](https://github.com/swc-project/swc/commit/c069c78b21b9b4bf150d22e8ff333053f2039e3b))
|
|
149
|
+
|
|
31
150
|
## [1.2.131] - 2022-01-19
|
|
32
151
|
|
|
33
152
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.135",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
53
|
-
"@swc/core-darwin-x64": "1.2.
|
|
54
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
55
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
56
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
57
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
58
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
59
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
60
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
61
|
-
"@swc/core-android-arm64": "1.2.
|
|
62
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
63
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
64
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
52
|
+
"@swc/core-win32-x64-msvc": "1.2.135",
|
|
53
|
+
"@swc/core-darwin-x64": "1.2.135",
|
|
54
|
+
"@swc/core-linux-x64-gnu": "1.2.135",
|
|
55
|
+
"@swc/core-linux-x64-musl": "1.2.135",
|
|
56
|
+
"@swc/core-freebsd-x64": "1.2.135",
|
|
57
|
+
"@swc/core-win32-ia32-msvc": "1.2.135",
|
|
58
|
+
"@swc/core-linux-arm64-gnu": "1.2.135",
|
|
59
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.135",
|
|
60
|
+
"@swc/core-darwin-arm64": "1.2.135",
|
|
61
|
+
"@swc/core-android-arm64": "1.2.135",
|
|
62
|
+
"@swc/core-linux-arm64-musl": "1.2.135",
|
|
63
|
+
"@swc/core-win32-arm64-msvc": "1.2.135",
|
|
64
|
+
"@swc/core-android-arm-eabi": "1.2.135"
|
|
65
65
|
},
|
|
66
66
|
"types": "./index.d.ts",
|
|
67
67
|
"scripts": {
|