@swc/core 1.2.213 → 1.2.215
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 +55 -0
- package/package.json +18 -17
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,61 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/codegen)** Mark bigint as an item starting with number (#5207) ([387d5e4](https://github.com/swc-project/swc/commit/387d5e41db260893297b65d0fd9084f60c71443a))
|
|
9
|
+
|
|
10
|
+
## [1.2.215] - 2022-07-14
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
- **(es)** Check the syntax context of `arguments` (#5174) ([375774d](https://github.com/swc-project/swc/commit/375774d31e690142faeb8422fed4cc996bf1de16))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
- **(es/fixer)** Handle invalid numeric literals (#5201) ([436f620](https://github.com/swc-project/swc/commit/436f6200bc05d1d88c9b3fb991f793ed308f607b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
- **(es/parser)** Fix parsing of export specifiers (#5190) ([ec93783](https://github.com/swc-project/swc/commit/ec9378370dd870c304143219afed04624075141f))
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
- **(es)** Add quote to `swc_ecmascript` (#5199) ([fbfa59b](https://github.com/swc-project/swc/commit/fbfa59b5b78ed76350be246eecba86f8fe8b4234))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- **(es/plugin)** Print filename on failure (#5200) ([f69dee7](https://github.com/swc-project/swc/commit/f69dee75f208a6385b64fa79147eef57bd24944e))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- **(html/parser)** Add `raw` to comments (#5196) ([dead719](https://github.com/swc-project/swc/commit/dead719550b1ac3024e07f77905ce7b064f102c4))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- **(quote)** Support different types for variables (#5194) ([c91abb2](https://github.com/swc-project/swc/commit/c91abb2ca75ff98e8fad7a4740b6feccec62cd54))
|
|
38
|
+
|
|
39
|
+
### Miscellaneous Tasks
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(ci)** Skip plugin e2e tests for unsupported targets (#5203) ([6b6b582](https://github.com/swc-project/swc/commit/6b6b5825438bf05ac959e932a798db72dab79c69))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
- **(ci)** Disable plugin tests while publishing ([31bbf2d](https://github.com/swc-project/swc/commit/31bbf2ddbbd2babd5f2431ed39a6bcb464dbb7c4))
|
|
47
|
+
|
|
48
|
+
### Testing
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- **(css/codegen)** Add tests (#5195) ([fa4c2de](https://github.com/swc-project/swc/commit/fa4c2de7064a213eb70cc7712b50d4a41d2bfdfe))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(plugin)** Setup e2e fixture testing for plugins (#5192) ([2fa51ec](https://github.com/swc-project/swc/commit/2fa51ecd7819b460837467d2a9093730671dd3fc))
|
|
56
|
+
|
|
57
|
+
## [1.2.213] - 2022-07-13
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
8
63
|
- **(css/codegen)** Fix sourcemap of multibyte characters (#5183) ([5b70233](https://github.com/swc-project/swc/commit/5b70233400a5b67cf51650bebbd59dcd0699ba78))
|
|
9
64
|
|
|
10
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.215",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"build:wasm": "npm-run-all \"pack -- build ./crates/wasm --scope swc {1} -t {2} --features plugin\" --",
|
|
62
62
|
"build": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -p binding_core_node --release",
|
|
63
63
|
"build:dev": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -p binding_core_node",
|
|
64
|
-
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest node-swc/
|
|
64
|
+
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./node-swc/jest.config.js",
|
|
65
65
|
"version": "napi version -p scripts/npm"
|
|
66
66
|
},
|
|
67
67
|
"lint-staged": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@napi-rs/cli": "^2.10.0",
|
|
98
98
|
"@swc/helpers": "^0.4.2",
|
|
99
99
|
"@taplo/cli": "^0.3.2",
|
|
100
|
-
"@types/jest": "^
|
|
100
|
+
"@types/jest": "^28.1.4",
|
|
101
101
|
"@types/node": "^14.14.41",
|
|
102
102
|
"acorn": "^8.6.0",
|
|
103
103
|
"acorn-jsx": "^5.3.2",
|
|
@@ -110,8 +110,9 @@
|
|
|
110
110
|
"cross-env": "^7.0.3",
|
|
111
111
|
"cspell": "^5.12.3",
|
|
112
112
|
"expect": "^27.4.2",
|
|
113
|
+
"glob": "^8.0.3",
|
|
113
114
|
"husky": "^7.0.2",
|
|
114
|
-
"jest": "^
|
|
115
|
+
"jest": "^28.1.2",
|
|
115
116
|
"js-beautify": "^1.14.3",
|
|
116
117
|
"lint-staged": "^12.3.6",
|
|
117
118
|
"lodash": "^4.17.21",
|
|
@@ -135,18 +136,18 @@
|
|
|
135
136
|
"url": "https://opencollective.com/swc"
|
|
136
137
|
},
|
|
137
138
|
"optionalDependencies": {
|
|
138
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
139
|
-
"@swc/core-darwin-x64": "1.2.
|
|
140
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
141
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
142
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
143
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
144
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
145
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
146
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
147
|
-
"@swc/core-android-arm64": "1.2.
|
|
148
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
149
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
150
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
139
|
+
"@swc/core-win32-x64-msvc": "1.2.216",
|
|
140
|
+
"@swc/core-darwin-x64": "1.2.216",
|
|
141
|
+
"@swc/core-linux-x64-gnu": "1.2.216",
|
|
142
|
+
"@swc/core-linux-x64-musl": "1.2.216",
|
|
143
|
+
"@swc/core-freebsd-x64": "1.2.216",
|
|
144
|
+
"@swc/core-win32-ia32-msvc": "1.2.216",
|
|
145
|
+
"@swc/core-linux-arm64-gnu": "1.2.216",
|
|
146
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.216",
|
|
147
|
+
"@swc/core-darwin-arm64": "1.2.216",
|
|
148
|
+
"@swc/core-android-arm64": "1.2.216",
|
|
149
|
+
"@swc/core-linux-arm64-musl": "1.2.216",
|
|
150
|
+
"@swc/core-win32-arm64-msvc": "1.2.216",
|
|
151
|
+
"@swc/core-android-arm-eabi": "1.2.216"
|
|
151
152
|
}
|
|
152
153
|
}
|