dprint 0.29.1 → 0.30.2
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/info.json +6 -5
- package/install.js +7 -1
- package/package.json +1 -1
package/info.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.30.2",
|
|
3
3
|
"checksums": {
|
|
4
|
-
"windows-x86_64": "
|
|
5
|
-
"darwin-x86_64": "
|
|
6
|
-
"darwin-aarch64": "
|
|
7
|
-
"linux-x86_64": "
|
|
4
|
+
"windows-x86_64": "0dff7eb4e64d144cd3ce34c34a12bbaa479af3b4835a2d661166bec2072e6b83",
|
|
5
|
+
"darwin-x86_64": "48341fd22590234380cd870abf7a4e707875ed04ccedcedf682a7d3afbc88f70",
|
|
6
|
+
"darwin-aarch64": "2a00262de9becf2d3446d6bec0d3545be27e196fcb550966cee6f100ba972be7",
|
|
7
|
+
"linux-x86_64": "c2a2c8dbc7b8f2e5e3ad2d3f7640f11df4e4745a54b5ba066b3bd6288265f6f4",
|
|
8
|
+
"linux-aarch64": "62a73b78c98d266e67e98871e596d788bd531a909ce6f56cbe0115714bdb3ef6"
|
|
8
9
|
}
|
|
9
10
|
}
|
package/install.js
CHANGED
|
@@ -65,7 +65,13 @@ function getTarget() {
|
|
|
65
65
|
throw new Error("Unsupported architecture " + os.arch() + ". Only x64 and M1 binaries are available.");
|
|
66
66
|
}
|
|
67
67
|
} else {
|
|
68
|
-
|
|
68
|
+
if (os.arch() === "arm64") {
|
|
69
|
+
return "aarch64-unknown-linux-gnu";
|
|
70
|
+
} else if (os.arch() === "x64") {
|
|
71
|
+
return "x86_64-unknown-linux-gnu";
|
|
72
|
+
} else {
|
|
73
|
+
throw new Error("Unsupported architecture " + os.arch() + ". Only x64 and aarch64 binaries are available.");
|
|
74
|
+
}
|
|
69
75
|
}
|
|
70
76
|
}
|
|
71
77
|
|