@swc/core 1.3.75 → 1.3.76
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 +35 -0
- package/binding.js +15 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/ast)** Bump version (#7793) ([13bedc0](https://github.com/swc-project/swc/commit/13bedc084e46db193b3fd0b7930046b2f013742b))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/minifier)** Abort seq inliner if a same var is defined in outer scope (#7772) ([ef8d121](https://github.com/swc-project/swc/commit/ef8d12154ddaad47eddb41298bae14460834be0c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Do not drop properties used via `this` (#7785) ([552d9aa](https://github.com/swc-project/swc/commit/552d9aa344cb6db2dff1e20011411a56f92d4f06))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/module)** Use `jsc.baseUrl` while resolving absolute paths (#7775) ([5c4bfa6](https://github.com/swc-project/swc/commit/5c4bfa61f9e4f7732bc1a9da6cd25f52e593a374))
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Support `mangle.eval` (#7777) ([eff0cac](https://github.com/swc-project/swc/commit/eff0caca2b6bfd383c8369cf0f4cdad86bb9e575))
|
|
24
|
+
|
|
25
|
+
### Miscellaneous Tasks
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(ci)** Cleanup CI (#7787) ([ab39f1c](https://github.com/swc-project/swc/commit/ab39f1c3c83c7156e6e9979773bf542a59d9b4f4))
|
|
30
|
+
|
|
31
|
+
### Performance
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/compat)** Improve time complexity of `class_properties` (#7786) ([76c6258](https://github.com/swc-project/swc/commit/76c6258d1544ede09cb4f281c42e1fc80ad4145b))
|
|
36
|
+
|
|
37
|
+
## [1.3.75] - 2023-08-08
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
8
43
|
- **(es/codegen)** Don't strip necessary escape characters (#7687) ([b45649b](https://github.com/swc-project/swc/commit/b45649b8d6484bd872f6443fc729f6b1998ff44d))
|
|
9
44
|
|
|
10
45
|
|
package/binding.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* prettier-ignore */
|
|
5
|
+
/* auto-generated by NAPI-RS */
|
|
2
6
|
const { existsSync, readFileSync } = require('fs');
|
|
3
7
|
const { join } = require('path');
|
|
4
8
|
const { platform, arch } = process;
|
|
@@ -105,6 +109,17 @@ switch (platform) {
|
|
|
105
109
|
}
|
|
106
110
|
break;
|
|
107
111
|
case 'darwin':
|
|
112
|
+
localFileExisted = existsSync(join(__dirname, 'swc.darwin-universal.node'));
|
|
113
|
+
try {
|
|
114
|
+
if (localFileExisted) {
|
|
115
|
+
nativeBinding = require('./swc.darwin-universal.node');
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
nativeBinding = require('@swc/core-darwin-universal');
|
|
119
|
+
}
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
catch (_a) { }
|
|
108
123
|
switch (arch) {
|
|
109
124
|
case 'x64':
|
|
110
125
|
localFileExisted = existsSync(join(__dirname, 'swc.darwin-x64.node'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.76",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
"url": "https://opencollective.com/swc"
|
|
146
146
|
},
|
|
147
147
|
"optionalDependencies": {
|
|
148
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
149
|
-
"@swc/core-darwin-x64": "1.3.
|
|
150
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
151
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
152
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
153
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
154
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
155
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
156
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
157
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
148
|
+
"@swc/core-win32-x64-msvc": "1.3.76",
|
|
149
|
+
"@swc/core-darwin-x64": "1.3.76",
|
|
150
|
+
"@swc/core-linux-x64-gnu": "1.3.76",
|
|
151
|
+
"@swc/core-linux-x64-musl": "1.3.76",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.76",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.76",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.76",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.76",
|
|
156
|
+
"@swc/core-linux-arm64-musl": "1.3.76",
|
|
157
|
+
"@swc/core-win32-arm64-msvc": "1.3.76"
|
|
158
158
|
},
|
|
159
159
|
"files": [
|
|
160
160
|
"CHANGELOG.md",
|