plasmite 0.1.14 → 0.3.0
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/bin/plasmite.js +3 -1
- package/index.js +1 -0
- package/native/darwin-arm64/index.node +0 -0
- package/native/darwin-arm64/libplasmite.dylib +0 -0
- package/native/darwin-arm64/plasmite +0 -0
- package/native/darwin-x64/index.node +0 -0
- package/native/darwin-x64/libplasmite.dylib +0 -0
- package/native/darwin-x64/plasmite +0 -0
- package/native/linux-arm64/index.node +0 -0
- package/native/linux-arm64/libplasmite.so +0 -0
- package/native/linux-arm64/plasmite +0 -0
- package/native/linux-x64/index.node +0 -0
- package/native/linux-x64/libplasmite.so +0 -0
- package/native/linux-x64/plasmite +0 -0
- package/native/win32-x64/index.node +0 -0
- package/native/win32-x64/plasmite.dll +0 -0
- package/native/win32-x64/plasmite.exe +0 -0
- package/package.json +3 -2
package/bin/plasmite.js
CHANGED
|
@@ -15,6 +15,7 @@ const path = require("node:path");
|
|
|
15
15
|
const PLATFORM_DIRS = Object.freeze({
|
|
16
16
|
linux: Object.freeze({ x64: "linux-x64", arm64: "linux-arm64" }),
|
|
17
17
|
darwin: Object.freeze({ x64: "darwin-x64", arm64: "darwin-arm64" }),
|
|
18
|
+
win32: Object.freeze({ x64: "win32-x64" }),
|
|
18
19
|
});
|
|
19
20
|
|
|
20
21
|
function resolvePlatformDir() {
|
|
@@ -27,8 +28,9 @@ function resolvePlatformDir() {
|
|
|
27
28
|
|
|
28
29
|
const packageRoot = path.resolve(__dirname, "..");
|
|
29
30
|
const platformDir = resolvePlatformDir();
|
|
31
|
+
const cliName = process.platform === "win32" ? "plasmite.exe" : "plasmite";
|
|
30
32
|
const target = platformDir
|
|
31
|
-
? path.join(packageRoot, "native", platformDir,
|
|
33
|
+
? path.join(packageRoot, "native", platformDir, cliName)
|
|
32
34
|
: null;
|
|
33
35
|
|
|
34
36
|
if (!target || !fs.existsSync(target)) {
|
package/index.js
CHANGED
|
@@ -14,6 +14,7 @@ const path = require("node:path");
|
|
|
14
14
|
const PLATFORM_DIRS = Object.freeze({
|
|
15
15
|
linux: Object.freeze({ x64: "linux-x64", arm64: "linux-arm64" }),
|
|
16
16
|
darwin: Object.freeze({ x64: "darwin-x64", arm64: "darwin-arm64" }),
|
|
17
|
+
win32: Object.freeze({ x64: "win32-x64" }),
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
function resolvePlatformDir() {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plasmite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Persistent JSON message queues for Node.js - native bindings for local and remote IPC",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"native/linux-x64/**",
|
|
19
19
|
"native/linux-arm64/**",
|
|
20
20
|
"native/darwin-x64/**",
|
|
21
|
-
"native/darwin-arm64/**"
|
|
21
|
+
"native/darwin-arm64/**",
|
|
22
|
+
"native/win32-x64/**"
|
|
22
23
|
],
|
|
23
24
|
"keywords": [
|
|
24
25
|
"ipc",
|