@php-wasm/web-5-2 3.1.56 → 3.1.57

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.
@@ -1,4 +1,5 @@
1
- import dependencyFilename from './5_2_17/php_5_2.wasm';
1
+ const dependencyFilename = new URL('./5_2_17/php_5_2.wasm', import.meta.url)
2
+ .href;
2
3
  export { dependencyFilename };
3
4
  export const dependenciesTotalSize = 9781068;
4
5
  const phpVersionString = '5.2.17';
@@ -4716,7 +4717,7 @@ export function init(RuntimeName, PHPLoader) {
4716
4717
  O_NONBLOCK: 2048,
4717
4718
  POLLHUP: 16,
4718
4719
  SETFL_MASK: 3072,
4719
- socketTimeouts: new Map,
4720
+ socketTimeouts: new Map(),
4720
4721
  init: function () {
4721
4722
  if (PHPLoader.bindUserSpace) {
4722
4723
  addOnInit(() => {
package/jspi/php_5_2.js CHANGED
@@ -1,4 +1,5 @@
1
- import dependencyFilename from './5_2_17/php_5_2.wasm';
1
+ const dependencyFilename = new URL('./5_2_17/php_5_2.wasm', import.meta.url)
2
+ .href;
2
3
  export { dependencyFilename };
3
4
  export const dependenciesTotalSize = 9428070;
4
5
  const phpVersionString = '5.2.17';
@@ -4673,7 +4674,7 @@ export function init(RuntimeName, PHPLoader) {
4673
4674
  O_NONBLOCK: 2048,
4674
4675
  POLLHUP: 16,
4675
4676
  SETFL_MASK: 3072,
4676
- socketTimeouts: new Map,
4677
+ socketTimeouts: new Map(),
4677
4678
  init: function () {
4678
4679
  if (PHPLoader.bindUserSpace) {
4679
4680
  addOnInit(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/web-5-2",
3
- "version": "3.1.56",
3
+ "version": "3.1.57",
4
4
  "description": "PHP 5.2 WebAssembly binaries for web (legacy)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,10 +35,10 @@
35
35
  "node": ">=24.18.0",
36
36
  "npm": ">=11.16.0"
37
37
  },
38
- "gitHead": "d5f85094eeee6c77339ec6365618f233c099cf00",
38
+ "gitHead": "4f66608c1fbc0228d4e5c33de9930238be57fb25",
39
39
  "dependencies": {
40
40
  "wasm-feature-detect": "1.8.0",
41
- "@php-wasm/universal": "3.1.56"
41
+ "@php-wasm/universal": "3.1.57"
42
42
  },
43
43
  "packageManager": "npm@10.9.2",
44
44
  "overrides": {