@nothumanwork/wit 0.1.15 → 0.1.16
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/dists/wit-checksums.txt +6 -6
- package/dists/wit-linux-aarch64.tar.gz +0 -0
- package/dists/wit-linux-x86_64.tar.gz +0 -0
- package/dists/wit-macos-aarch64.tar.gz +0 -0
- package/dists/wit-macos-x86_64.tar.gz +0 -0
- package/dists/wit-windows-aarch64.zip +0 -0
- package/dists/wit-windows-x86_64.zip +0 -0
- package/package.json +1 -1
- package/scripts/postinstall.js +3 -3
package/dists/wit-checksums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
537832c6ed342cefdaae053365d0f2da0f0e5709c66a50b4cd0cf2aca8ca7cff wit-linux-aarch64.tar.gz
|
|
2
|
+
3e426c8e5925f3614f17f609d019801c7cde6d7d4a27a3458da6879ac29013a1 wit-linux-x86_64.tar.gz
|
|
3
|
+
19c0e55a68fabce3ade9d018037df5a2678c92374f5bf6c012f9fdc13f19ff49 wit-macos-aarch64.tar.gz
|
|
4
|
+
6df40e9e9e128db4d47a272a5cdbfd315e7b6479f0f84483a7fe00eb0d5374c5 wit-macos-x86_64.tar.gz
|
|
5
|
+
cfe949d7f002547665c713f6d530b8915369651f7c2d7fe43114fd612494b8af wit-windows-aarch64.zip
|
|
6
|
+
b9ceeec230d78e0448720781c3c19446a974f3803045d96d41617abab5b77915 wit-windows-x86_64.zip
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -109,15 +109,15 @@ function extractArchive(archivePath, destination) {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
if (archivePath.endsWith(".zip")) {
|
|
112
|
+
const escapedArchivePath = archivePath.replace(/'/g, "''");
|
|
113
|
+
const escapedDestination = destination.replace(/'/g, "''");
|
|
112
114
|
runCommand(
|
|
113
115
|
"powershell.exe",
|
|
114
116
|
[
|
|
115
117
|
"-NoProfile",
|
|
116
118
|
"-NonInteractive",
|
|
117
119
|
"-Command",
|
|
118
|
-
|
|
119
|
-
archivePath,
|
|
120
|
-
destination,
|
|
120
|
+
`Expand-Archive -LiteralPath '${escapedArchivePath}' -DestinationPath '${escapedDestination}' -Force`,
|
|
121
121
|
],
|
|
122
122
|
);
|
|
123
123
|
return;
|