dprint 0.47.4 → 0.47.6
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/install_api.js +2 -2
- package/package.json +10 -9
package/install_api.js
CHANGED
|
@@ -81,8 +81,8 @@ function getTarget() {
|
|
|
81
81
|
|
|
82
82
|
function getArch() {
|
|
83
83
|
const arch = os.arch();
|
|
84
|
-
if (arch !== "arm64" && arch !== "x64") {
|
|
85
|
-
throw new Error("Unsupported architecture " + os.arch() + ". Only x64 and
|
|
84
|
+
if (arch !== "arm64" && arch !== "x64" && arch !== "riscv64") {
|
|
85
|
+
throw new Error("Unsupported architecture " + os.arch() + ". Only x64, aarch64, and riscv64 binaries are available.");
|
|
86
86
|
}
|
|
87
87
|
return arch;
|
|
88
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dprint",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.6",
|
|
4
4
|
"description": "Pluggable and configurable code formatting platform written in Rust.",
|
|
5
5
|
"bin": "bin.js",
|
|
6
6
|
"repository": {
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"postinstall": "node ./install.js"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@dprint/win32-x64": "0.47.
|
|
26
|
-
"@dprint/win32-arm64": "0.47.
|
|
27
|
-
"@dprint/darwin-x64": "0.47.
|
|
28
|
-
"@dprint/darwin-arm64": "0.47.
|
|
29
|
-
"@dprint/linux-x64-glibc": "0.47.
|
|
30
|
-
"@dprint/linux-x64-musl": "0.47.
|
|
31
|
-
"@dprint/linux-arm64-glibc": "0.47.
|
|
32
|
-
"@dprint/linux-arm64-musl": "0.47.
|
|
25
|
+
"@dprint/win32-x64": "0.47.6",
|
|
26
|
+
"@dprint/win32-arm64": "0.47.6",
|
|
27
|
+
"@dprint/darwin-x64": "0.47.6",
|
|
28
|
+
"@dprint/darwin-arm64": "0.47.6",
|
|
29
|
+
"@dprint/linux-x64-glibc": "0.47.6",
|
|
30
|
+
"@dprint/linux-x64-musl": "0.47.6",
|
|
31
|
+
"@dprint/linux-arm64-glibc": "0.47.6",
|
|
32
|
+
"@dprint/linux-arm64-musl": "0.47.6",
|
|
33
|
+
"@dprint/linux-riscv64-glibc": "0.47.6"
|
|
33
34
|
}
|
|
34
35
|
}
|