@php-wasm/node 1.1.0 → 1.1.1

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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/noop.js +2 -2
  3. package/package.json +8 -8
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createRequire as topLevelCreateRequire } from 'module';
2
2
  const require = topLevelCreateRequire(import.meta.url);
3
- const __dirname = new URL('.', import.meta.url).pathname;
4
- const __filename = new URL(import.meta.url).pathname;
3
+ const __filename = import.meta.filename;
4
+ const __dirname = import.meta.dirname;
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
package/noop.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createRequire as topLevelCreateRequire } from 'module';
2
2
  const require = topLevelCreateRequire(import.meta.url);
3
- const __dirname = new URL('.', import.meta.url).pathname;
4
- const __filename = new URL(import.meta.url).pathname;
3
+ const __filename = import.meta.filename;
4
+ const __dirname = import.meta.dirname;
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "PHP.wasm for Node.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "license": "GPL-2.0-or-later",
40
40
  "types": "index.d.ts",
41
- "gitHead": "9dbbe2b22ccbacda9c0da4444c51d5739e784302",
41
+ "gitHead": "8bff9428d68d3c4a5e84c6cd633e82bf8512a4e3",
42
42
  "engines": {
43
43
  "node": ">=20.18.3",
44
44
  "npm": ">=10.1.0"
@@ -50,12 +50,12 @@
50
50
  "wasm-feature-detect": "1.8.0",
51
51
  "ws": "8.18.1",
52
52
  "yargs": "17.7.2",
53
- "@php-wasm/node-polyfills": "1.1.0",
54
- "@php-wasm/universal": "1.1.0",
55
- "@php-wasm/util": "1.1.0",
56
- "@php-wasm/logger": "1.1.0",
57
- "@wp-playground/common": "1.1.0",
58
- "@wp-playground/wordpress": "1.1.0"
53
+ "@php-wasm/node-polyfills": "1.1.1",
54
+ "@php-wasm/universal": "1.1.1",
55
+ "@php-wasm/util": "1.1.1",
56
+ "@php-wasm/logger": "1.1.1",
57
+ "@wp-playground/common": "1.1.1",
58
+ "@wp-playground/wordpress": "1.1.1"
59
59
  },
60
60
  "overrides": {
61
61
  "rollup": "^4.34.6",