🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@php-wasm/universal

Package Overview
Dependencies
Maintainers
5
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@php-wasm/universal - npm Package Compare versions

Comparing version
3.0.15
to
3.0.16
+1
-1
lib/index.d.ts

@@ -25,3 +25,3 @@ export type { MessageListener, PHPOutput, PHPRunOptions, UniversalPHP, PHPEvent, PHPEventListener, HTTPMethod, PHPRequest, PHPRequestHeaders, SpawnHandler, } from './universal-php';

export type { PHPRequestHandlerConfiguration, RewriteRule, } from './php-request-handler';
export { PHPRequestHandler, applyRewriteRules } from './php-request-handler';
export { PHPRequestHandler, applyRewriteRules, inferMimeType, } from './php-request-handler';
export type { FileNotFoundGetActionCallback, FileNotFoundToInternalRedirect, FileNotFoundToResponse, FileNotFoundAction, CookieStore, } from './php-request-handler';

@@ -28,0 +28,0 @@ export { rotatePHPRuntime } from './rotate-php-runtime';

@@ -234,2 +234,13 @@ import type { PHP } from './php';

/**
* Naively infer a file mime type from its path.
*
* @todo Infer the mime type based on the file contents.
* A naive function like this one can be inaccurate
* and potentially have negative security consequences.
*
* @param path - The file path
* @returns The inferred mime type.
*/
export declare function inferMimeType(path: string): string;
/**
* Applies the given rewrite rules to the given path.

@@ -236,0 +247,0 @@ *

{
"name": "@php-wasm/universal",
"version": "3.0.15",
"version": "3.0.16",
"description": "PHP.wasm – emscripten bindings for PHP",

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

"license": "GPL-2.0-or-later",
"gitHead": "4e8addef4a0fa0e76f26785689a1a676bbb823e1",
"gitHead": "1f96a559fda4946f36f8543a2715cee411a5c8f2",
"engines": {

@@ -48,7 +48,7 @@ "node": ">=20.18.3",

"ini": "4.1.2",
"@php-wasm/node-polyfills": "3.0.15",
"@php-wasm/logger": "3.0.15",
"@php-wasm/util": "3.0.15",
"@php-wasm/stream-compression": "3.0.15",
"@php-wasm/progress": "3.0.15"
"@php-wasm/node-polyfills": "3.0.16",
"@php-wasm/logger": "3.0.16",
"@php-wasm/util": "3.0.16",
"@php-wasm/stream-compression": "3.0.16",
"@php-wasm/progress": "3.0.16"
},

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

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