@swc/core 1.15.18 → 1.15.21
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/binding.js +12 -0
- package/package.json +15 -11
package/binding.js
CHANGED
|
@@ -283,6 +283,18 @@ function requireNative() {
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
}
|
|
286
|
+
} else if (process.arch === 'ppc64') {
|
|
287
|
+
try {
|
|
288
|
+
return require('./swc.linux-ppc64-gnu.node')
|
|
289
|
+
} catch (e) {
|
|
290
|
+
loadErrors.push(e)
|
|
291
|
+
}
|
|
292
|
+
try {
|
|
293
|
+
return require('@swc/core-linux-ppc64-gnu')
|
|
294
|
+
} catch (e) {
|
|
295
|
+
loadErrors.push(e)
|
|
296
|
+
}
|
|
297
|
+
|
|
286
298
|
} else if (process.arch === 's390x') {
|
|
287
299
|
try {
|
|
288
300
|
return require('./swc.linux-s390x-gnu.node')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.21",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
"x86_64-apple-darwin",
|
|
33
33
|
"x86_64-pc-windows-msvc",
|
|
34
34
|
"x86_64-unknown-linux-gnu",
|
|
35
|
+
"powerpc64le-unknown-linux-gnu",
|
|
36
|
+
"s390x-unknown-linux-gnu",
|
|
35
37
|
"x86_64-unknown-linux-musl",
|
|
36
38
|
"i686-pc-windows-msvc",
|
|
37
39
|
"armv7-unknown-linux-gnueabihf",
|
|
@@ -102,15 +104,17 @@
|
|
|
102
104
|
"typescript": "^5.3.3"
|
|
103
105
|
},
|
|
104
106
|
"optionalDependencies": {
|
|
105
|
-
"@swc/core-darwin-x64": "1.15.
|
|
106
|
-
"@swc/core-win32-x64-msvc": "1.15.
|
|
107
|
-
"@swc/core-linux-x64-gnu": "1.15.
|
|
108
|
-
"@swc/core-linux-
|
|
109
|
-
"@swc/core-
|
|
110
|
-
"@swc/core-linux-
|
|
111
|
-
"@swc/core-
|
|
112
|
-
"@swc/core-linux-
|
|
113
|
-
"@swc/core-
|
|
114
|
-
"@swc/core-
|
|
107
|
+
"@swc/core-darwin-x64": "1.15.21",
|
|
108
|
+
"@swc/core-win32-x64-msvc": "1.15.21",
|
|
109
|
+
"@swc/core-linux-x64-gnu": "1.15.21",
|
|
110
|
+
"@swc/core-linux-ppc64-gnu": "1.15.21",
|
|
111
|
+
"@swc/core-linux-s390x-gnu": "1.15.21",
|
|
112
|
+
"@swc/core-linux-x64-musl": "1.15.21",
|
|
113
|
+
"@swc/core-win32-ia32-msvc": "1.15.21",
|
|
114
|
+
"@swc/core-linux-arm-gnueabihf": "1.15.21",
|
|
115
|
+
"@swc/core-darwin-arm64": "1.15.21",
|
|
116
|
+
"@swc/core-linux-arm64-gnu": "1.15.21",
|
|
117
|
+
"@swc/core-linux-arm64-musl": "1.15.21",
|
|
118
|
+
"@swc/core-win32-arm64-msvc": "1.15.21"
|
|
115
119
|
}
|
|
116
120
|
}
|