New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@php-wasm/node

Package Overview
Dependencies
Maintainers
4
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@php-wasm/node - npm Package Compare versions

Comparing version 0.6.7 to 0.6.8

18

index.d.ts

@@ -57,2 +57,9 @@ // Generated by dts-bundle-generator v7.2.0

/**
* Represents an error event related to the PHP request.
*/
export interface PHPRequestErrorEvent {
type: "request.error";
error: Error;
}
/**
* Represents a PHP runtime initialization event.

@@ -74,3 +81,3 @@ */

*/
export type PHPEvent = PHPRequestEndEvent | PHPRuntimeInitializedEvent | PHPRuntimeBeforeDestroyEvent;
export type PHPEvent = PHPRequestEndEvent | PHPRequestErrorEvent | PHPRuntimeInitializedEvent | PHPRuntimeBeforeDestroyEvent;
/**

@@ -552,2 +559,6 @@ * A callback function that handles PHP events.

export type SupportedPHPVersion = (typeof SupportedPHPVersions)[number];
export type RewriteRule = {
match: RegExp;
replacement: string;
};
export interface PHPRequestHandlerConfiguration {

@@ -563,5 +574,10 @@ /**

absoluteUrl?: string;
/**
* Rewrite rules
*/
rewriteRules?: RewriteRule[];
}
declare class PHPRequestHandler implements RequestHandler {
#private;
rewriteRules: RewriteRule[];
/**

@@ -568,0 +584,0 @@ * The PHP instance

10

package.json
{
"name": "@php-wasm/node",
"version": "0.6.7",
"version": "0.6.8",
"description": "PHP.wasm for Node.js",

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

"types": "index.d.ts",
"gitHead": "c4c52563eee8997b94cd4a0875e10fb5d8ccda42",
"gitHead": "cb7b1af260489022238495a2fc0d96f767a1294a",
"engines": {

@@ -42,6 +42,6 @@ "node": ">=18.18.2",

"yargs": "17.7.2",
"@php-wasm/node-polyfills": "0.6.7",
"@php-wasm/universal": "0.6.7",
"@php-wasm/util": "0.6.7"
"@php-wasm/node-polyfills": "0.6.8",
"@php-wasm/universal": "0.6.8",
"@php-wasm/util": "0.6.8"
}
}

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

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

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 too big to display

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

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

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

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

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

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc