@oxidezap/baileyrs 0.3.17 → 0.3.18
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.
|
@@ -24,7 +24,7 @@ const isAbsent = (error) => error?.code === 'MODULE_NOT_FOUND';
|
|
|
24
24
|
export const loadOptionalPeer = (specifier, loader) => {
|
|
25
25
|
const effectiveLoader = loader ??
|
|
26
26
|
(typeof globalThis.process
|
|
27
|
-
?.getBuiltinModule === 'function'
|
|
27
|
+
?.getBuiltinModule === 'function' && import.meta.url
|
|
28
28
|
? nodePeerLoader(import.meta.url)
|
|
29
29
|
: undefined);
|
|
30
30
|
if (!effectiveLoader)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxidezap/baileyrs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.18",
|
|
5
5
|
"description": "A Rust-powered WhatsApp Web library for JavaScript, with a Baileys-compatible API",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"whatsapp",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"@oxidezap/whatsapp-rust-bridge": "0.26.8",
|
|
100
100
|
"events": "^3.3.0",
|
|
101
|
-
"fs-native-extensions": "1.5.
|
|
101
|
+
"fs-native-extensions": "1.5.4",
|
|
102
102
|
"long": "^5.3.2"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
@@ -121,8 +121,8 @@
|
|
|
121
121
|
"typescript-compat-auditor": "npm:typescript@6.0.3",
|
|
122
122
|
"undici": "7.30.2",
|
|
123
123
|
"vite": "8.3.8",
|
|
124
|
-
"vitest": "5.1.
|
|
125
|
-
"wrangler": "4.
|
|
124
|
+
"vitest": "5.1.1",
|
|
125
|
+
"wrangler": "4.166.0"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
128
|
"@hapi/boom": "^9.1.0 || ^10.0.0",
|