@antprofuse/veri-bubble 0.1.49 → 0.1.51
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/vb +0 -0
- package/lib/resolve.js +2 -2
- package/lib/vb-fake-urandom +0 -0
- package/lib/vb-mock-bolt +0 -0
- package/lib/vb-mock-dns +0 -0
- package/lib/vb-mock-lindorm +0 -0
- package/lib/vb-mock-rocketmq +0 -0
- package/package.json +1 -1
package/bin/vb
CHANGED
|
Binary file
|
package/lib/resolve.js
CHANGED
|
@@ -5,8 +5,8 @@ const fs = require("fs");
|
|
|
5
5
|
|
|
6
6
|
function resolveBinary(name) {
|
|
7
7
|
// All binaries are bundled in this package
|
|
8
|
-
const
|
|
9
|
-
const subdir =
|
|
8
|
+
const isLib = name.startsWith("vb-mock-") || name.startsWith("vb-fake-") || name.endsWith(".so");
|
|
9
|
+
const subdir = isLib ? "lib" : "bin";
|
|
10
10
|
const binPath = path.join(__dirname, "..", subdir, name);
|
|
11
11
|
|
|
12
12
|
if (!fs.existsSync(binPath)) {
|
|
Binary file
|
package/lib/vb-mock-bolt
CHANGED
|
Binary file
|
package/lib/vb-mock-dns
CHANGED
|
Binary file
|
package/lib/vb-mock-lindorm
CHANGED
|
Binary file
|
package/lib/vb-mock-rocketmq
CHANGED
|
Binary file
|
package/package.json
CHANGED