You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@php-wasm/node-8-4

Package Overview
Dependencies
Maintainers
7
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@php-wasm/node-8-4 - npm Package Compare versions

Comparing version
3.0.44
to
3.0.45
jspi/extensions/memcached/8_4/memcached.la

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

+20
-0

@@ -33,3 +33,5 @@ var __create = Object.create;

getIntlExtensionPath: () => getIntlExtensionPath,
getMemcachedExtensionPath: () => getMemcachedExtensionPath,
getPHPLoaderModule: () => getPHPLoaderModule,
getRedisExtensionPath: () => getRedisExtensionPath,
getXdebugExtensionPath: () => getXdebugExtensionPath,

@@ -67,8 +69,26 @@ jspi: () => import_wasm_feature_detect.jspi

}
async function getRedisExtensionPath() {
if (await (0, import_wasm_feature_detect.jspi)()) {
return (0, import_node_path.join)(packageDir, "jspi/extensions/redis/8_4/redis.so");
}
throw new Error(
"The Redis extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Redis network operations. Please use Node.js 23+ or a browser with JSPI support to use the Redis extension."
);
}
async function getMemcachedExtensionPath() {
if (await (0, import_wasm_feature_detect.jspi)()) {
return (0, import_node_path.join)(packageDir, "jspi/extensions/memcached/8_4/memcached.so");
}
throw new Error(
"The Memcached extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Memcached network operations. Please use Node.js 23+ or a browser with JSPI support to use the Memcached extension."
);
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
getIntlExtensionPath,
getMemcachedExtensionPath,
getPHPLoaderModule,
getRedisExtensionPath,
getXdebugExtensionPath,
jspi
});

@@ -29,7 +29,25 @@ // packages/php-wasm/node-builds/8-4/src/index.ts

}
async function getRedisExtensionPath() {
if (await jspi()) {
return join(packageDir, "jspi/extensions/redis/8_4/redis.so");
}
throw new Error(
"The Redis extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Redis network operations. Please use Node.js 23+ or a browser with JSPI support to use the Redis extension."
);
}
async function getMemcachedExtensionPath() {
if (await jspi()) {
return join(packageDir, "jspi/extensions/memcached/8_4/memcached.so");
}
throw new Error(
"The Memcached extension requires JSPI (JavaScript Promise Integration) support. Your current environment is using asyncify, which cannot properly handle exceptions during Memcached network operations. Please use Node.js 23+ or a browser with JSPI support to use the Memcached extension."
);
}
export {
getIntlExtensionPath,
getMemcachedExtensionPath,
getPHPLoaderModule,
getRedisExtensionPath,
getXdebugExtensionPath,
jspi
};
+3
-3
{
"name": "@php-wasm/node-8-4",
"version": "3.0.44",
"version": "3.0.45",
"description": "PHP 8.4 WebAssembly binaries for node",

@@ -38,3 +38,3 @@ "repository": {

},
"gitHead": "16881b9b024e961a5254be5b366fad096585c310",
"gitHead": "90da64a5068b13069ea9faf8ff9f5b1e36fd6099",
"dependencies": {

@@ -44,3 +44,3 @@ "ini": "4.1.2",

"ws": "8.18.3",
"@php-wasm/universal": "3.0.44"
"@php-wasm/universal": "3.0.45"
},

@@ -47,0 +47,0 @@ "packageManager": "npm@10.9.2",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display