dprint 0.30.2 → 0.31.1
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 -6
- package/install.js +5 -1
- package/package.json +1 -1
package/info.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.31.1",
|
|
3
3
|
"checksums": {
|
|
4
|
-
"windows-x86_64": "
|
|
5
|
-
"darwin-x86_64": "
|
|
6
|
-
"darwin-aarch64": "
|
|
7
|
-
"linux-x86_64": "
|
|
8
|
-
"linux-aarch64": "
|
|
4
|
+
"windows-x86_64": "e39935a409d58c985de3d9b6c17d60f308d36b149da2665ae771d490b0c4f65d",
|
|
5
|
+
"darwin-x86_64": "dbdd120419cbba2219c27eca188400f02a025671c827148292708ecd3555a46c",
|
|
6
|
+
"darwin-aarch64": "6d03dbe17dc0ceaecaba3a0a1779d64381044c93f9bf48b2f45841f81d8dca6c",
|
|
7
|
+
"linux-x86_64": "50ac53a230b44ac4c6f1259dc7223fdfa142bb0b8f15626008b2b770e7ee8e6b",
|
|
8
|
+
"linux-aarch64": "de1ec7294ddbaabea485ea1f40801d48888d86b6d260ecf4af92467b9d97d5a5"
|
|
9
9
|
}
|
|
10
10
|
}
|
package/install.js
CHANGED
|
@@ -140,7 +140,11 @@ function verifyZipChecksum() {
|
|
|
140
140
|
return info.checksums["darwin-x86_64"];
|
|
141
141
|
}
|
|
142
142
|
default:
|
|
143
|
-
|
|
143
|
+
if (os.arch() === "arm64") {
|
|
144
|
+
return info.checksums["linux-aarch64"];
|
|
145
|
+
} else {
|
|
146
|
+
return info.checksums["linux-x86_64"];
|
|
147
|
+
}
|
|
144
148
|
}
|
|
145
149
|
}
|
|
146
150
|
}
|