@php-wasm/node 1.0.1 → 1.0.2

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.cjs +72 -72
  2. package/index.js +72 -72
  3. package/package.json +9 -8
package/index.cjs CHANGED
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
- // packages/php-wasm/node/public/jspi/php_8_3.js
33
+ // packages/php-wasm/node/jspi/php_8_3.js
34
34
  var php_8_3_exports = {};
35
35
  __export(php_8_3_exports, {
36
36
  dependenciesTotalSize: () => dependenciesTotalSize,
@@ -68,7 +68,7 @@ function init(RuntimeName, PHPLoader) {
68
68
  if (ENVIRONMENT_IS_NODE) {
69
69
  var fs = require("fs");
70
70
  var nodePath = require("path");
71
- scriptDirectory = __dirname + "/";
71
+ scriptDirectory = __dirname + "jspi/";
72
72
  read_ = (filename, binary) => {
73
73
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
74
74
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -7109,14 +7109,14 @@ function init(RuntimeName, PHPLoader) {
7109
7109
  }
7110
7110
  var dependencyFilename, dependenciesTotalSize;
7111
7111
  var init_php_8_3 = __esm({
7112
- "packages/php-wasm/node/public/jspi/php_8_3.js"() {
7112
+ "packages/php-wasm/node/jspi/php_8_3.js"() {
7113
7113
  "use strict";
7114
- dependencyFilename = __dirname + "/8_3_0/php_8_3.wasm";
7114
+ dependencyFilename = __dirname + "jspi/8_3_0/php_8_3.wasm";
7115
7115
  dependenciesTotalSize = 14909583;
7116
7116
  }
7117
7117
  });
7118
7118
 
7119
- // packages/php-wasm/node/public/jspi/php_8_2.js
7119
+ // packages/php-wasm/node/jspi/php_8_2.js
7120
7120
  var php_8_2_exports = {};
7121
7121
  __export(php_8_2_exports, {
7122
7122
  dependenciesTotalSize: () => dependenciesTotalSize2,
@@ -7154,7 +7154,7 @@ function init2(RuntimeName, PHPLoader) {
7154
7154
  if (ENVIRONMENT_IS_NODE) {
7155
7155
  var fs = require("fs");
7156
7156
  var nodePath = require("path");
7157
- scriptDirectory = __dirname + "/";
7157
+ scriptDirectory = __dirname + "jspi/";
7158
7158
  read_ = (filename, binary) => {
7159
7159
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
7160
7160
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -14195,14 +14195,14 @@ function init2(RuntimeName, PHPLoader) {
14195
14195
  }
14196
14196
  var dependencyFilename2, dependenciesTotalSize2;
14197
14197
  var init_php_8_2 = __esm({
14198
- "packages/php-wasm/node/public/jspi/php_8_2.js"() {
14198
+ "packages/php-wasm/node/jspi/php_8_2.js"() {
14199
14199
  "use strict";
14200
- dependencyFilename2 = __dirname + "/8_2_10/php_8_2.wasm";
14200
+ dependencyFilename2 = __dirname + "jspi/8_2_10/php_8_2.wasm";
14201
14201
  dependenciesTotalSize2 = 14527957;
14202
14202
  }
14203
14203
  });
14204
14204
 
14205
- // packages/php-wasm/node/public/jspi/php_8_1.js
14205
+ // packages/php-wasm/node/jspi/php_8_1.js
14206
14206
  var php_8_1_exports = {};
14207
14207
  __export(php_8_1_exports, {
14208
14208
  dependenciesTotalSize: () => dependenciesTotalSize3,
@@ -14240,7 +14240,7 @@ function init3(RuntimeName, PHPLoader) {
14240
14240
  if (ENVIRONMENT_IS_NODE) {
14241
14241
  var fs = require("fs");
14242
14242
  var nodePath = require("path");
14243
- scriptDirectory = __dirname + "/";
14243
+ scriptDirectory = __dirname + "jspi/";
14244
14244
  read_ = (filename, binary) => {
14245
14245
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
14246
14246
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -21275,14 +21275,14 @@ function init3(RuntimeName, PHPLoader) {
21275
21275
  }
21276
21276
  var dependencyFilename3, dependenciesTotalSize3;
21277
21277
  var init_php_8_1 = __esm({
21278
- "packages/php-wasm/node/public/jspi/php_8_1.js"() {
21278
+ "packages/php-wasm/node/jspi/php_8_1.js"() {
21279
21279
  "use strict";
21280
- dependencyFilename3 = __dirname + "/8_1_23/php_8_1.wasm";
21280
+ dependencyFilename3 = __dirname + "jspi/8_1_23/php_8_1.wasm";
21281
21281
  dependenciesTotalSize3 = 14271326;
21282
21282
  }
21283
21283
  });
21284
21284
 
21285
- // packages/php-wasm/node/public/jspi/php_8_0.js
21285
+ // packages/php-wasm/node/jspi/php_8_0.js
21286
21286
  var php_8_0_exports = {};
21287
21287
  __export(php_8_0_exports, {
21288
21288
  dependenciesTotalSize: () => dependenciesTotalSize4,
@@ -21320,7 +21320,7 @@ function init4(RuntimeName, PHPLoader) {
21320
21320
  if (ENVIRONMENT_IS_NODE) {
21321
21321
  var fs = require("fs");
21322
21322
  var nodePath = require("path");
21323
- scriptDirectory = __dirname + "/";
21323
+ scriptDirectory = __dirname + "jspi/";
21324
21324
  read_ = (filename, binary) => {
21325
21325
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
21326
21326
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -28311,14 +28311,14 @@ function init4(RuntimeName, PHPLoader) {
28311
28311
  }
28312
28312
  var dependencyFilename4, dependenciesTotalSize4;
28313
28313
  var init_php_8_0 = __esm({
28314
- "packages/php-wasm/node/public/jspi/php_8_0.js"() {
28314
+ "packages/php-wasm/node/jspi/php_8_0.js"() {
28315
28315
  "use strict";
28316
- dependencyFilename4 = __dirname + "/8_0_30/php_8_0.wasm";
28316
+ dependencyFilename4 = __dirname + "jspi/8_0_30/php_8_0.wasm";
28317
28317
  dependenciesTotalSize4 = 14262455;
28318
28318
  }
28319
28319
  });
28320
28320
 
28321
- // packages/php-wasm/node/public/jspi/php_7_4.js
28321
+ // packages/php-wasm/node/jspi/php_7_4.js
28322
28322
  var php_7_4_exports = {};
28323
28323
  __export(php_7_4_exports, {
28324
28324
  dependenciesTotalSize: () => dependenciesTotalSize5,
@@ -28356,7 +28356,7 @@ function init5(RuntimeName, PHPLoader) {
28356
28356
  if (ENVIRONMENT_IS_NODE) {
28357
28357
  var fs = require("fs");
28358
28358
  var nodePath = require("path");
28359
- scriptDirectory = __dirname + "/";
28359
+ scriptDirectory = __dirname + "jspi/";
28360
28360
  read_ = (filename, binary) => {
28361
28361
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
28362
28362
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -35333,14 +35333,14 @@ function init5(RuntimeName, PHPLoader) {
35333
35333
  }
35334
35334
  var dependencyFilename5, dependenciesTotalSize5;
35335
35335
  var init_php_7_4 = __esm({
35336
- "packages/php-wasm/node/public/jspi/php_7_4.js"() {
35336
+ "packages/php-wasm/node/jspi/php_7_4.js"() {
35337
35337
  "use strict";
35338
- dependencyFilename5 = __dirname + "/7_4_33/php_7_4.wasm";
35338
+ dependencyFilename5 = __dirname + "jspi/7_4_33/php_7_4.wasm";
35339
35339
  dependenciesTotalSize5 = 14693201;
35340
35340
  }
35341
35341
  });
35342
35342
 
35343
- // packages/php-wasm/node/public/jspi/php_7_3.js
35343
+ // packages/php-wasm/node/jspi/php_7_3.js
35344
35344
  var php_7_3_exports = {};
35345
35345
  __export(php_7_3_exports, {
35346
35346
  dependenciesTotalSize: () => dependenciesTotalSize6,
@@ -35378,7 +35378,7 @@ function init6(RuntimeName, PHPLoader) {
35378
35378
  if (ENVIRONMENT_IS_NODE) {
35379
35379
  var fs = require("fs");
35380
35380
  var nodePath = require("path");
35381
- scriptDirectory = __dirname + "/";
35381
+ scriptDirectory = __dirname + "jspi/";
35382
35382
  read_ = (filename, binary) => {
35383
35383
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
35384
35384
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -42329,14 +42329,14 @@ function init6(RuntimeName, PHPLoader) {
42329
42329
  }
42330
42330
  var dependencyFilename6, dependenciesTotalSize6;
42331
42331
  var init_php_7_3 = __esm({
42332
- "packages/php-wasm/node/public/jspi/php_7_3.js"() {
42332
+ "packages/php-wasm/node/jspi/php_7_3.js"() {
42333
42333
  "use strict";
42334
- dependencyFilename6 = __dirname + "/7_3_33/php_7_3.wasm";
42334
+ dependencyFilename6 = __dirname + "jspi/7_3_33/php_7_3.wasm";
42335
42335
  dependenciesTotalSize6 = 14019617;
42336
42336
  }
42337
42337
  });
42338
42338
 
42339
- // packages/php-wasm/node/public/jspi/php_7_2.js
42339
+ // packages/php-wasm/node/jspi/php_7_2.js
42340
42340
  var php_7_2_exports = {};
42341
42341
  __export(php_7_2_exports, {
42342
42342
  dependenciesTotalSize: () => dependenciesTotalSize7,
@@ -42374,7 +42374,7 @@ function init7(RuntimeName, PHPLoader) {
42374
42374
  if (ENVIRONMENT_IS_NODE) {
42375
42375
  var fs = require("fs");
42376
42376
  var nodePath = require("path");
42377
- scriptDirectory = __dirname + "/";
42377
+ scriptDirectory = __dirname + "jspi/";
42378
42378
  read_ = (filename, binary) => {
42379
42379
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
42380
42380
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -49325,14 +49325,14 @@ function init7(RuntimeName, PHPLoader) {
49325
49325
  }
49326
49326
  var dependencyFilename7, dependenciesTotalSize7;
49327
49327
  var init_php_7_2 = __esm({
49328
- "packages/php-wasm/node/public/jspi/php_7_2.js"() {
49328
+ "packages/php-wasm/node/jspi/php_7_2.js"() {
49329
49329
  "use strict";
49330
- dependencyFilename7 = __dirname + "/7_2_34/php_7_2.wasm";
49330
+ dependencyFilename7 = __dirname + "jspi/7_2_34/php_7_2.wasm";
49331
49331
  dependenciesTotalSize7 = 13889651;
49332
49332
  }
49333
49333
  });
49334
49334
 
49335
- // packages/php-wasm/node/public/jspi/php_7_1.js
49335
+ // packages/php-wasm/node/jspi/php_7_1.js
49336
49336
  var php_7_1_exports = {};
49337
49337
  __export(php_7_1_exports, {
49338
49338
  dependenciesTotalSize: () => dependenciesTotalSize8,
@@ -49370,7 +49370,7 @@ function init8(RuntimeName, PHPLoader) {
49370
49370
  if (ENVIRONMENT_IS_NODE) {
49371
49371
  var fs = require("fs");
49372
49372
  var nodePath = require("path");
49373
- scriptDirectory = __dirname + "/";
49373
+ scriptDirectory = __dirname + "jspi/";
49374
49374
  read_ = (filename, binary) => {
49375
49375
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
49376
49376
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -56321,14 +56321,14 @@ function init8(RuntimeName, PHPLoader) {
56321
56321
  }
56322
56322
  var dependencyFilename8, dependenciesTotalSize8;
56323
56323
  var init_php_7_1 = __esm({
56324
- "packages/php-wasm/node/public/jspi/php_7_1.js"() {
56324
+ "packages/php-wasm/node/jspi/php_7_1.js"() {
56325
56325
  "use strict";
56326
- dependencyFilename8 = __dirname + "/7_1_30/php_7_1.wasm";
56326
+ dependencyFilename8 = __dirname + "jspi/7_1_30/php_7_1.wasm";
56327
56327
  dependenciesTotalSize8 = 13321802;
56328
56328
  }
56329
56329
  });
56330
56330
 
56331
- // packages/php-wasm/node/public/jspi/php_7_0.js
56331
+ // packages/php-wasm/node/jspi/php_7_0.js
56332
56332
  var php_7_0_exports = {};
56333
56333
  __export(php_7_0_exports, {
56334
56334
  dependenciesTotalSize: () => dependenciesTotalSize9,
@@ -56366,7 +56366,7 @@ function init9(RuntimeName, PHPLoader) {
56366
56366
  if (ENVIRONMENT_IS_NODE) {
56367
56367
  var fs = require("fs");
56368
56368
  var nodePath = require("path");
56369
- scriptDirectory = __dirname + "/";
56369
+ scriptDirectory = __dirname + "jspi/";
56370
56370
  read_ = (filename, binary) => {
56371
56371
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
56372
56372
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -63317,14 +63317,14 @@ function init9(RuntimeName, PHPLoader) {
63317
63317
  }
63318
63318
  var dependencyFilename9, dependenciesTotalSize9;
63319
63319
  var init_php_7_0 = __esm({
63320
- "packages/php-wasm/node/public/jspi/php_7_0.js"() {
63320
+ "packages/php-wasm/node/jspi/php_7_0.js"() {
63321
63321
  "use strict";
63322
- dependencyFilename9 = __dirname + "/7_0_33/php_7_0.wasm";
63322
+ dependencyFilename9 = __dirname + "jspi/7_0_33/php_7_0.wasm";
63323
63323
  dependenciesTotalSize9 = 12843113;
63324
63324
  }
63325
63325
  });
63326
63326
 
63327
- // packages/php-wasm/node/public/asyncify/php_8_3.js
63327
+ // packages/php-wasm/node/asyncify/php_8_3.js
63328
63328
  var php_8_3_exports2 = {};
63329
63329
  __export(php_8_3_exports2, {
63330
63330
  dependenciesTotalSize: () => dependenciesTotalSize10,
@@ -63362,7 +63362,7 @@ function init10(RuntimeName, PHPLoader) {
63362
63362
  if (ENVIRONMENT_IS_NODE) {
63363
63363
  var fs = require("fs");
63364
63364
  var nodePath = require("path");
63365
- scriptDirectory = __dirname + "/";
63365
+ scriptDirectory = __dirname + "asyncify/";
63366
63366
  read_ = (filename, binary) => {
63367
63367
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
63368
63368
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -70794,14 +70794,14 @@ function init10(RuntimeName, PHPLoader) {
70794
70794
  }
70795
70795
  var dependencyFilename10, dependenciesTotalSize10;
70796
70796
  var init_php_8_32 = __esm({
70797
- "packages/php-wasm/node/public/asyncify/php_8_3.js"() {
70797
+ "packages/php-wasm/node/asyncify/php_8_3.js"() {
70798
70798
  "use strict";
70799
- dependencyFilename10 = __dirname + "/8_3_0/php_8_3.wasm";
70799
+ dependencyFilename10 = __dirname + "asyncify/8_3_0/php_8_3.wasm";
70800
70800
  dependenciesTotalSize10 = 15081983;
70801
70801
  }
70802
70802
  });
70803
70803
 
70804
- // packages/php-wasm/node/public/asyncify/php_8_2.js
70804
+ // packages/php-wasm/node/asyncify/php_8_2.js
70805
70805
  var php_8_2_exports2 = {};
70806
70806
  __export(php_8_2_exports2, {
70807
70807
  dependenciesTotalSize: () => dependenciesTotalSize11,
@@ -70839,7 +70839,7 @@ function init11(RuntimeName, PHPLoader) {
70839
70839
  if (ENVIRONMENT_IS_NODE) {
70840
70840
  var fs = require("fs");
70841
70841
  var nodePath = require("path");
70842
- scriptDirectory = __dirname + "/";
70842
+ scriptDirectory = __dirname + "asyncify/";
70843
70843
  read_ = (filename, binary) => {
70844
70844
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
70845
70845
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -78271,14 +78271,14 @@ function init11(RuntimeName, PHPLoader) {
78271
78271
  }
78272
78272
  var dependencyFilename11, dependenciesTotalSize11;
78273
78273
  var init_php_8_22 = __esm({
78274
- "packages/php-wasm/node/public/asyncify/php_8_2.js"() {
78274
+ "packages/php-wasm/node/asyncify/php_8_2.js"() {
78275
78275
  "use strict";
78276
- dependencyFilename11 = __dirname + "/8_2_10/php_8_2.wasm";
78276
+ dependencyFilename11 = __dirname + "asyncify/8_2_10/php_8_2.wasm";
78277
78277
  dependenciesTotalSize11 = 14701538;
78278
78278
  }
78279
78279
  });
78280
78280
 
78281
- // packages/php-wasm/node/public/asyncify/php_8_1.js
78281
+ // packages/php-wasm/node/asyncify/php_8_1.js
78282
78282
  var php_8_1_exports2 = {};
78283
78283
  __export(php_8_1_exports2, {
78284
78284
  dependenciesTotalSize: () => dependenciesTotalSize12,
@@ -78316,7 +78316,7 @@ function init12(RuntimeName, PHPLoader) {
78316
78316
  if (ENVIRONMENT_IS_NODE) {
78317
78317
  var fs = require("fs");
78318
78318
  var nodePath = require("path");
78319
- scriptDirectory = __dirname + "/";
78319
+ scriptDirectory = __dirname + "asyncify/";
78320
78320
  read_ = (filename, binary) => {
78321
78321
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
78322
78322
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -85742,14 +85742,14 @@ function init12(RuntimeName, PHPLoader) {
85742
85742
  }
85743
85743
  var dependencyFilename12, dependenciesTotalSize12;
85744
85744
  var init_php_8_12 = __esm({
85745
- "packages/php-wasm/node/public/asyncify/php_8_1.js"() {
85745
+ "packages/php-wasm/node/asyncify/php_8_1.js"() {
85746
85746
  "use strict";
85747
- dependencyFilename12 = __dirname + "/8_1_23/php_8_1.wasm";
85747
+ dependencyFilename12 = __dirname + "asyncify/8_1_23/php_8_1.wasm";
85748
85748
  dependenciesTotalSize12 = 14446072;
85749
85749
  }
85750
85750
  });
85751
85751
 
85752
- // packages/php-wasm/node/public/asyncify/php_8_0.js
85752
+ // packages/php-wasm/node/asyncify/php_8_0.js
85753
85753
  var php_8_0_exports2 = {};
85754
85754
  __export(php_8_0_exports2, {
85755
85755
  dependenciesTotalSize: () => dependenciesTotalSize13,
@@ -85787,7 +85787,7 @@ function init13(RuntimeName, PHPLoader) {
85787
85787
  if (ENVIRONMENT_IS_NODE) {
85788
85788
  var fs = require("fs");
85789
85789
  var nodePath = require("path");
85790
- scriptDirectory = __dirname + "/";
85790
+ scriptDirectory = __dirname + "asyncify/";
85791
85791
  read_ = (filename, binary) => {
85792
85792
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
85793
85793
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -93169,14 +93169,14 @@ function init13(RuntimeName, PHPLoader) {
93169
93169
  }
93170
93170
  var dependencyFilename13, dependenciesTotalSize13;
93171
93171
  var init_php_8_02 = __esm({
93172
- "packages/php-wasm/node/public/asyncify/php_8_0.js"() {
93172
+ "packages/php-wasm/node/asyncify/php_8_0.js"() {
93173
93173
  "use strict";
93174
- dependencyFilename13 = __dirname + "/8_0_30/php_8_0.wasm";
93174
+ dependencyFilename13 = __dirname + "asyncify/8_0_30/php_8_0.wasm";
93175
93175
  dependenciesTotalSize13 = 14465052;
93176
93176
  }
93177
93177
  });
93178
93178
 
93179
- // packages/php-wasm/node/public/asyncify/php_7_4.js
93179
+ // packages/php-wasm/node/asyncify/php_7_4.js
93180
93180
  var php_7_4_exports2 = {};
93181
93181
  __export(php_7_4_exports2, {
93182
93182
  dependenciesTotalSize: () => dependenciesTotalSize14,
@@ -93214,7 +93214,7 @@ function init14(RuntimeName, PHPLoader) {
93214
93214
  if (ENVIRONMENT_IS_NODE) {
93215
93215
  var fs = require("fs");
93216
93216
  var nodePath = require("path");
93217
- scriptDirectory = __dirname + "/";
93217
+ scriptDirectory = __dirname + "asyncify/";
93218
93218
  read_ = (filename, binary) => {
93219
93219
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
93220
93220
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -100582,14 +100582,14 @@ function init14(RuntimeName, PHPLoader) {
100582
100582
  }
100583
100583
  var dependencyFilename14, dependenciesTotalSize14;
100584
100584
  var init_php_7_42 = __esm({
100585
- "packages/php-wasm/node/public/asyncify/php_7_4.js"() {
100585
+ "packages/php-wasm/node/asyncify/php_7_4.js"() {
100586
100586
  "use strict";
100587
- dependencyFilename14 = __dirname + "/7_4_33/php_7_4.wasm";
100587
+ dependencyFilename14 = __dirname + "asyncify/7_4_33/php_7_4.wasm";
100588
100588
  dependenciesTotalSize14 = 14955932;
100589
100589
  }
100590
100590
  });
100591
100591
 
100592
- // packages/php-wasm/node/public/asyncify/php_7_3.js
100592
+ // packages/php-wasm/node/asyncify/php_7_3.js
100593
100593
  var php_7_3_exports2 = {};
100594
100594
  __export(php_7_3_exports2, {
100595
100595
  dependenciesTotalSize: () => dependenciesTotalSize15,
@@ -100627,7 +100627,7 @@ function init15(RuntimeName, PHPLoader) {
100627
100627
  if (ENVIRONMENT_IS_NODE) {
100628
100628
  var fs = require("fs");
100629
100629
  var nodePath = require("path");
100630
- scriptDirectory = __dirname + "/";
100630
+ scriptDirectory = __dirname + "asyncify/";
100631
100631
  read_ = (filename, binary) => {
100632
100632
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
100633
100633
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -107969,14 +107969,14 @@ function init15(RuntimeName, PHPLoader) {
107969
107969
  }
107970
107970
  var dependencyFilename15, dependenciesTotalSize15;
107971
107971
  var init_php_7_32 = __esm({
107972
- "packages/php-wasm/node/public/asyncify/php_7_3.js"() {
107972
+ "packages/php-wasm/node/asyncify/php_7_3.js"() {
107973
107973
  "use strict";
107974
- dependencyFilename15 = __dirname + "/7_3_33/php_7_3.wasm";
107974
+ dependencyFilename15 = __dirname + "asyncify/7_3_33/php_7_3.wasm";
107975
107975
  dependenciesTotalSize15 = 14262166;
107976
107976
  }
107977
107977
  });
107978
107978
 
107979
- // packages/php-wasm/node/public/asyncify/php_7_2.js
107979
+ // packages/php-wasm/node/asyncify/php_7_2.js
107980
107980
  var php_7_2_exports2 = {};
107981
107981
  __export(php_7_2_exports2, {
107982
107982
  dependenciesTotalSize: () => dependenciesTotalSize16,
@@ -108014,7 +108014,7 @@ function init16(RuntimeName, PHPLoader) {
108014
108014
  if (ENVIRONMENT_IS_NODE) {
108015
108015
  var fs = require("fs");
108016
108016
  var nodePath = require("path");
108017
- scriptDirectory = __dirname + "/";
108017
+ scriptDirectory = __dirname + "asyncify/";
108018
108018
  read_ = (filename, binary) => {
108019
108019
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
108020
108020
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -115356,14 +115356,14 @@ function init16(RuntimeName, PHPLoader) {
115356
115356
  }
115357
115357
  var dependencyFilename16, dependenciesTotalSize16;
115358
115358
  var init_php_7_22 = __esm({
115359
- "packages/php-wasm/node/public/asyncify/php_7_2.js"() {
115359
+ "packages/php-wasm/node/asyncify/php_7_2.js"() {
115360
115360
  "use strict";
115361
- dependencyFilename16 = __dirname + "/7_2_34/php_7_2.wasm";
115361
+ dependencyFilename16 = __dirname + "asyncify/7_2_34/php_7_2.wasm";
115362
115362
  dependenciesTotalSize16 = 14137039;
115363
115363
  }
115364
115364
  });
115365
115365
 
115366
- // packages/php-wasm/node/public/asyncify/php_7_1.js
115366
+ // packages/php-wasm/node/asyncify/php_7_1.js
115367
115367
  var php_7_1_exports2 = {};
115368
115368
  __export(php_7_1_exports2, {
115369
115369
  dependenciesTotalSize: () => dependenciesTotalSize17,
@@ -115401,7 +115401,7 @@ function init17(RuntimeName, PHPLoader) {
115401
115401
  if (ENVIRONMENT_IS_NODE) {
115402
115402
  var fs = require("fs");
115403
115403
  var nodePath = require("path");
115404
- scriptDirectory = __dirname + "/";
115404
+ scriptDirectory = __dirname + "asyncify/";
115405
115405
  read_ = (filename, binary) => {
115406
115406
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
115407
115407
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -122729,14 +122729,14 @@ function init17(RuntimeName, PHPLoader) {
122729
122729
  }
122730
122730
  var dependencyFilename17, dependenciesTotalSize17;
122731
122731
  var init_php_7_12 = __esm({
122732
- "packages/php-wasm/node/public/asyncify/php_7_1.js"() {
122732
+ "packages/php-wasm/node/asyncify/php_7_1.js"() {
122733
122733
  "use strict";
122734
- dependencyFilename17 = __dirname + "/7_1_30/php_7_1.wasm";
122734
+ dependencyFilename17 = __dirname + "asyncify/7_1_30/php_7_1.wasm";
122735
122735
  dependenciesTotalSize17 = 13566339;
122736
122736
  }
122737
122737
  });
122738
122738
 
122739
- // packages/php-wasm/node/public/asyncify/php_7_0.js
122739
+ // packages/php-wasm/node/asyncify/php_7_0.js
122740
122740
  var php_7_0_exports2 = {};
122741
122741
  __export(php_7_0_exports2, {
122742
122742
  dependenciesTotalSize: () => dependenciesTotalSize18,
@@ -122774,7 +122774,7 @@ function init18(RuntimeName, PHPLoader) {
122774
122774
  if (ENVIRONMENT_IS_NODE) {
122775
122775
  var fs = require("fs");
122776
122776
  var nodePath = require("path");
122777
- scriptDirectory = __dirname + "/";
122777
+ scriptDirectory = __dirname + "asyncify/";
122778
122778
  read_ = (filename, binary) => {
122779
122779
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
122780
122780
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -130116,9 +130116,9 @@ function init18(RuntimeName, PHPLoader) {
130116
130116
  }
130117
130117
  var dependencyFilename18, dependenciesTotalSize18;
130118
130118
  var init_php_7_02 = __esm({
130119
- "packages/php-wasm/node/public/asyncify/php_7_0.js"() {
130119
+ "packages/php-wasm/node/asyncify/php_7_0.js"() {
130120
130120
  "use strict";
130121
- dependencyFilename18 = __dirname + "/7_0_33/php_7_0.wasm";
130121
+ dependencyFilename18 = __dirname + "asyncify/7_0_33/php_7_0.wasm";
130122
130122
  dependenciesTotalSize18 = 13086044;
130123
130123
  }
130124
130124
  });
package/index.js CHANGED
@@ -20,7 +20,7 @@ var __export = (target, all) => {
20
20
  __defProp(target, name, { get: all[name], enumerable: true });
21
21
  };
22
22
 
23
- // packages/php-wasm/node/public/jspi/php_8_3.js
23
+ // packages/php-wasm/node/jspi/php_8_3.js
24
24
  var php_8_3_exports = {};
25
25
  __export(php_8_3_exports, {
26
26
  dependenciesTotalSize: () => dependenciesTotalSize,
@@ -58,7 +58,7 @@ function init(RuntimeName, PHPLoader) {
58
58
  if (ENVIRONMENT_IS_NODE) {
59
59
  var fs = __require("fs");
60
60
  var nodePath = __require("path");
61
- scriptDirectory = __dirname + "/";
61
+ scriptDirectory = __dirname + "jspi/";
62
62
  read_ = (filename, binary) => {
63
63
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
64
64
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -7099,14 +7099,14 @@ function init(RuntimeName, PHPLoader) {
7099
7099
  }
7100
7100
  var dependencyFilename, dependenciesTotalSize;
7101
7101
  var init_php_8_3 = __esm({
7102
- "packages/php-wasm/node/public/jspi/php_8_3.js"() {
7102
+ "packages/php-wasm/node/jspi/php_8_3.js"() {
7103
7103
  "use strict";
7104
- dependencyFilename = __dirname + "/8_3_0/php_8_3.wasm";
7104
+ dependencyFilename = __dirname + "jspi/8_3_0/php_8_3.wasm";
7105
7105
  dependenciesTotalSize = 14909583;
7106
7106
  }
7107
7107
  });
7108
7108
 
7109
- // packages/php-wasm/node/public/jspi/php_8_2.js
7109
+ // packages/php-wasm/node/jspi/php_8_2.js
7110
7110
  var php_8_2_exports = {};
7111
7111
  __export(php_8_2_exports, {
7112
7112
  dependenciesTotalSize: () => dependenciesTotalSize2,
@@ -7144,7 +7144,7 @@ function init2(RuntimeName, PHPLoader) {
7144
7144
  if (ENVIRONMENT_IS_NODE) {
7145
7145
  var fs = __require("fs");
7146
7146
  var nodePath = __require("path");
7147
- scriptDirectory = __dirname + "/";
7147
+ scriptDirectory = __dirname + "jspi/";
7148
7148
  read_ = (filename, binary) => {
7149
7149
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
7150
7150
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -14185,14 +14185,14 @@ function init2(RuntimeName, PHPLoader) {
14185
14185
  }
14186
14186
  var dependencyFilename2, dependenciesTotalSize2;
14187
14187
  var init_php_8_2 = __esm({
14188
- "packages/php-wasm/node/public/jspi/php_8_2.js"() {
14188
+ "packages/php-wasm/node/jspi/php_8_2.js"() {
14189
14189
  "use strict";
14190
- dependencyFilename2 = __dirname + "/8_2_10/php_8_2.wasm";
14190
+ dependencyFilename2 = __dirname + "jspi/8_2_10/php_8_2.wasm";
14191
14191
  dependenciesTotalSize2 = 14527957;
14192
14192
  }
14193
14193
  });
14194
14194
 
14195
- // packages/php-wasm/node/public/jspi/php_8_1.js
14195
+ // packages/php-wasm/node/jspi/php_8_1.js
14196
14196
  var php_8_1_exports = {};
14197
14197
  __export(php_8_1_exports, {
14198
14198
  dependenciesTotalSize: () => dependenciesTotalSize3,
@@ -14230,7 +14230,7 @@ function init3(RuntimeName, PHPLoader) {
14230
14230
  if (ENVIRONMENT_IS_NODE) {
14231
14231
  var fs = __require("fs");
14232
14232
  var nodePath = __require("path");
14233
- scriptDirectory = __dirname + "/";
14233
+ scriptDirectory = __dirname + "jspi/";
14234
14234
  read_ = (filename, binary) => {
14235
14235
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
14236
14236
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -21265,14 +21265,14 @@ function init3(RuntimeName, PHPLoader) {
21265
21265
  }
21266
21266
  var dependencyFilename3, dependenciesTotalSize3;
21267
21267
  var init_php_8_1 = __esm({
21268
- "packages/php-wasm/node/public/jspi/php_8_1.js"() {
21268
+ "packages/php-wasm/node/jspi/php_8_1.js"() {
21269
21269
  "use strict";
21270
- dependencyFilename3 = __dirname + "/8_1_23/php_8_1.wasm";
21270
+ dependencyFilename3 = __dirname + "jspi/8_1_23/php_8_1.wasm";
21271
21271
  dependenciesTotalSize3 = 14271326;
21272
21272
  }
21273
21273
  });
21274
21274
 
21275
- // packages/php-wasm/node/public/jspi/php_8_0.js
21275
+ // packages/php-wasm/node/jspi/php_8_0.js
21276
21276
  var php_8_0_exports = {};
21277
21277
  __export(php_8_0_exports, {
21278
21278
  dependenciesTotalSize: () => dependenciesTotalSize4,
@@ -21310,7 +21310,7 @@ function init4(RuntimeName, PHPLoader) {
21310
21310
  if (ENVIRONMENT_IS_NODE) {
21311
21311
  var fs = __require("fs");
21312
21312
  var nodePath = __require("path");
21313
- scriptDirectory = __dirname + "/";
21313
+ scriptDirectory = __dirname + "jspi/";
21314
21314
  read_ = (filename, binary) => {
21315
21315
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
21316
21316
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -28301,14 +28301,14 @@ function init4(RuntimeName, PHPLoader) {
28301
28301
  }
28302
28302
  var dependencyFilename4, dependenciesTotalSize4;
28303
28303
  var init_php_8_0 = __esm({
28304
- "packages/php-wasm/node/public/jspi/php_8_0.js"() {
28304
+ "packages/php-wasm/node/jspi/php_8_0.js"() {
28305
28305
  "use strict";
28306
- dependencyFilename4 = __dirname + "/8_0_30/php_8_0.wasm";
28306
+ dependencyFilename4 = __dirname + "jspi/8_0_30/php_8_0.wasm";
28307
28307
  dependenciesTotalSize4 = 14262455;
28308
28308
  }
28309
28309
  });
28310
28310
 
28311
- // packages/php-wasm/node/public/jspi/php_7_4.js
28311
+ // packages/php-wasm/node/jspi/php_7_4.js
28312
28312
  var php_7_4_exports = {};
28313
28313
  __export(php_7_4_exports, {
28314
28314
  dependenciesTotalSize: () => dependenciesTotalSize5,
@@ -28346,7 +28346,7 @@ function init5(RuntimeName, PHPLoader) {
28346
28346
  if (ENVIRONMENT_IS_NODE) {
28347
28347
  var fs = __require("fs");
28348
28348
  var nodePath = __require("path");
28349
- scriptDirectory = __dirname + "/";
28349
+ scriptDirectory = __dirname + "jspi/";
28350
28350
  read_ = (filename, binary) => {
28351
28351
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
28352
28352
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -35323,14 +35323,14 @@ function init5(RuntimeName, PHPLoader) {
35323
35323
  }
35324
35324
  var dependencyFilename5, dependenciesTotalSize5;
35325
35325
  var init_php_7_4 = __esm({
35326
- "packages/php-wasm/node/public/jspi/php_7_4.js"() {
35326
+ "packages/php-wasm/node/jspi/php_7_4.js"() {
35327
35327
  "use strict";
35328
- dependencyFilename5 = __dirname + "/7_4_33/php_7_4.wasm";
35328
+ dependencyFilename5 = __dirname + "jspi/7_4_33/php_7_4.wasm";
35329
35329
  dependenciesTotalSize5 = 14693201;
35330
35330
  }
35331
35331
  });
35332
35332
 
35333
- // packages/php-wasm/node/public/jspi/php_7_3.js
35333
+ // packages/php-wasm/node/jspi/php_7_3.js
35334
35334
  var php_7_3_exports = {};
35335
35335
  __export(php_7_3_exports, {
35336
35336
  dependenciesTotalSize: () => dependenciesTotalSize6,
@@ -35368,7 +35368,7 @@ function init6(RuntimeName, PHPLoader) {
35368
35368
  if (ENVIRONMENT_IS_NODE) {
35369
35369
  var fs = __require("fs");
35370
35370
  var nodePath = __require("path");
35371
- scriptDirectory = __dirname + "/";
35371
+ scriptDirectory = __dirname + "jspi/";
35372
35372
  read_ = (filename, binary) => {
35373
35373
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
35374
35374
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -42319,14 +42319,14 @@ function init6(RuntimeName, PHPLoader) {
42319
42319
  }
42320
42320
  var dependencyFilename6, dependenciesTotalSize6;
42321
42321
  var init_php_7_3 = __esm({
42322
- "packages/php-wasm/node/public/jspi/php_7_3.js"() {
42322
+ "packages/php-wasm/node/jspi/php_7_3.js"() {
42323
42323
  "use strict";
42324
- dependencyFilename6 = __dirname + "/7_3_33/php_7_3.wasm";
42324
+ dependencyFilename6 = __dirname + "jspi/7_3_33/php_7_3.wasm";
42325
42325
  dependenciesTotalSize6 = 14019617;
42326
42326
  }
42327
42327
  });
42328
42328
 
42329
- // packages/php-wasm/node/public/jspi/php_7_2.js
42329
+ // packages/php-wasm/node/jspi/php_7_2.js
42330
42330
  var php_7_2_exports = {};
42331
42331
  __export(php_7_2_exports, {
42332
42332
  dependenciesTotalSize: () => dependenciesTotalSize7,
@@ -42364,7 +42364,7 @@ function init7(RuntimeName, PHPLoader) {
42364
42364
  if (ENVIRONMENT_IS_NODE) {
42365
42365
  var fs = __require("fs");
42366
42366
  var nodePath = __require("path");
42367
- scriptDirectory = __dirname + "/";
42367
+ scriptDirectory = __dirname + "jspi/";
42368
42368
  read_ = (filename, binary) => {
42369
42369
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
42370
42370
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -49315,14 +49315,14 @@ function init7(RuntimeName, PHPLoader) {
49315
49315
  }
49316
49316
  var dependencyFilename7, dependenciesTotalSize7;
49317
49317
  var init_php_7_2 = __esm({
49318
- "packages/php-wasm/node/public/jspi/php_7_2.js"() {
49318
+ "packages/php-wasm/node/jspi/php_7_2.js"() {
49319
49319
  "use strict";
49320
- dependencyFilename7 = __dirname + "/7_2_34/php_7_2.wasm";
49320
+ dependencyFilename7 = __dirname + "jspi/7_2_34/php_7_2.wasm";
49321
49321
  dependenciesTotalSize7 = 13889651;
49322
49322
  }
49323
49323
  });
49324
49324
 
49325
- // packages/php-wasm/node/public/jspi/php_7_1.js
49325
+ // packages/php-wasm/node/jspi/php_7_1.js
49326
49326
  var php_7_1_exports = {};
49327
49327
  __export(php_7_1_exports, {
49328
49328
  dependenciesTotalSize: () => dependenciesTotalSize8,
@@ -49360,7 +49360,7 @@ function init8(RuntimeName, PHPLoader) {
49360
49360
  if (ENVIRONMENT_IS_NODE) {
49361
49361
  var fs = __require("fs");
49362
49362
  var nodePath = __require("path");
49363
- scriptDirectory = __dirname + "/";
49363
+ scriptDirectory = __dirname + "jspi/";
49364
49364
  read_ = (filename, binary) => {
49365
49365
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
49366
49366
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -56311,14 +56311,14 @@ function init8(RuntimeName, PHPLoader) {
56311
56311
  }
56312
56312
  var dependencyFilename8, dependenciesTotalSize8;
56313
56313
  var init_php_7_1 = __esm({
56314
- "packages/php-wasm/node/public/jspi/php_7_1.js"() {
56314
+ "packages/php-wasm/node/jspi/php_7_1.js"() {
56315
56315
  "use strict";
56316
- dependencyFilename8 = __dirname + "/7_1_30/php_7_1.wasm";
56316
+ dependencyFilename8 = __dirname + "jspi/7_1_30/php_7_1.wasm";
56317
56317
  dependenciesTotalSize8 = 13321802;
56318
56318
  }
56319
56319
  });
56320
56320
 
56321
- // packages/php-wasm/node/public/jspi/php_7_0.js
56321
+ // packages/php-wasm/node/jspi/php_7_0.js
56322
56322
  var php_7_0_exports = {};
56323
56323
  __export(php_7_0_exports, {
56324
56324
  dependenciesTotalSize: () => dependenciesTotalSize9,
@@ -56356,7 +56356,7 @@ function init9(RuntimeName, PHPLoader) {
56356
56356
  if (ENVIRONMENT_IS_NODE) {
56357
56357
  var fs = __require("fs");
56358
56358
  var nodePath = __require("path");
56359
- scriptDirectory = __dirname + "/";
56359
+ scriptDirectory = __dirname + "jspi/";
56360
56360
  read_ = (filename, binary) => {
56361
56361
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
56362
56362
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -63307,14 +63307,14 @@ function init9(RuntimeName, PHPLoader) {
63307
63307
  }
63308
63308
  var dependencyFilename9, dependenciesTotalSize9;
63309
63309
  var init_php_7_0 = __esm({
63310
- "packages/php-wasm/node/public/jspi/php_7_0.js"() {
63310
+ "packages/php-wasm/node/jspi/php_7_0.js"() {
63311
63311
  "use strict";
63312
- dependencyFilename9 = __dirname + "/7_0_33/php_7_0.wasm";
63312
+ dependencyFilename9 = __dirname + "jspi/7_0_33/php_7_0.wasm";
63313
63313
  dependenciesTotalSize9 = 12843113;
63314
63314
  }
63315
63315
  });
63316
63316
 
63317
- // packages/php-wasm/node/public/asyncify/php_8_3.js
63317
+ // packages/php-wasm/node/asyncify/php_8_3.js
63318
63318
  var php_8_3_exports2 = {};
63319
63319
  __export(php_8_3_exports2, {
63320
63320
  dependenciesTotalSize: () => dependenciesTotalSize10,
@@ -63352,7 +63352,7 @@ function init10(RuntimeName, PHPLoader) {
63352
63352
  if (ENVIRONMENT_IS_NODE) {
63353
63353
  var fs = __require("fs");
63354
63354
  var nodePath = __require("path");
63355
- scriptDirectory = __dirname + "/";
63355
+ scriptDirectory = __dirname + "asyncify/";
63356
63356
  read_ = (filename, binary) => {
63357
63357
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
63358
63358
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -70784,14 +70784,14 @@ function init10(RuntimeName, PHPLoader) {
70784
70784
  }
70785
70785
  var dependencyFilename10, dependenciesTotalSize10;
70786
70786
  var init_php_8_32 = __esm({
70787
- "packages/php-wasm/node/public/asyncify/php_8_3.js"() {
70787
+ "packages/php-wasm/node/asyncify/php_8_3.js"() {
70788
70788
  "use strict";
70789
- dependencyFilename10 = __dirname + "/8_3_0/php_8_3.wasm";
70789
+ dependencyFilename10 = __dirname + "asyncify/8_3_0/php_8_3.wasm";
70790
70790
  dependenciesTotalSize10 = 15081983;
70791
70791
  }
70792
70792
  });
70793
70793
 
70794
- // packages/php-wasm/node/public/asyncify/php_8_2.js
70794
+ // packages/php-wasm/node/asyncify/php_8_2.js
70795
70795
  var php_8_2_exports2 = {};
70796
70796
  __export(php_8_2_exports2, {
70797
70797
  dependenciesTotalSize: () => dependenciesTotalSize11,
@@ -70829,7 +70829,7 @@ function init11(RuntimeName, PHPLoader) {
70829
70829
  if (ENVIRONMENT_IS_NODE) {
70830
70830
  var fs = __require("fs");
70831
70831
  var nodePath = __require("path");
70832
- scriptDirectory = __dirname + "/";
70832
+ scriptDirectory = __dirname + "asyncify/";
70833
70833
  read_ = (filename, binary) => {
70834
70834
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
70835
70835
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -78261,14 +78261,14 @@ function init11(RuntimeName, PHPLoader) {
78261
78261
  }
78262
78262
  var dependencyFilename11, dependenciesTotalSize11;
78263
78263
  var init_php_8_22 = __esm({
78264
- "packages/php-wasm/node/public/asyncify/php_8_2.js"() {
78264
+ "packages/php-wasm/node/asyncify/php_8_2.js"() {
78265
78265
  "use strict";
78266
- dependencyFilename11 = __dirname + "/8_2_10/php_8_2.wasm";
78266
+ dependencyFilename11 = __dirname + "asyncify/8_2_10/php_8_2.wasm";
78267
78267
  dependenciesTotalSize11 = 14701538;
78268
78268
  }
78269
78269
  });
78270
78270
 
78271
- // packages/php-wasm/node/public/asyncify/php_8_1.js
78271
+ // packages/php-wasm/node/asyncify/php_8_1.js
78272
78272
  var php_8_1_exports2 = {};
78273
78273
  __export(php_8_1_exports2, {
78274
78274
  dependenciesTotalSize: () => dependenciesTotalSize12,
@@ -78306,7 +78306,7 @@ function init12(RuntimeName, PHPLoader) {
78306
78306
  if (ENVIRONMENT_IS_NODE) {
78307
78307
  var fs = __require("fs");
78308
78308
  var nodePath = __require("path");
78309
- scriptDirectory = __dirname + "/";
78309
+ scriptDirectory = __dirname + "asyncify/";
78310
78310
  read_ = (filename, binary) => {
78311
78311
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
78312
78312
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -85732,14 +85732,14 @@ function init12(RuntimeName, PHPLoader) {
85732
85732
  }
85733
85733
  var dependencyFilename12, dependenciesTotalSize12;
85734
85734
  var init_php_8_12 = __esm({
85735
- "packages/php-wasm/node/public/asyncify/php_8_1.js"() {
85735
+ "packages/php-wasm/node/asyncify/php_8_1.js"() {
85736
85736
  "use strict";
85737
- dependencyFilename12 = __dirname + "/8_1_23/php_8_1.wasm";
85737
+ dependencyFilename12 = __dirname + "asyncify/8_1_23/php_8_1.wasm";
85738
85738
  dependenciesTotalSize12 = 14446072;
85739
85739
  }
85740
85740
  });
85741
85741
 
85742
- // packages/php-wasm/node/public/asyncify/php_8_0.js
85742
+ // packages/php-wasm/node/asyncify/php_8_0.js
85743
85743
  var php_8_0_exports2 = {};
85744
85744
  __export(php_8_0_exports2, {
85745
85745
  dependenciesTotalSize: () => dependenciesTotalSize13,
@@ -85777,7 +85777,7 @@ function init13(RuntimeName, PHPLoader) {
85777
85777
  if (ENVIRONMENT_IS_NODE) {
85778
85778
  var fs = __require("fs");
85779
85779
  var nodePath = __require("path");
85780
- scriptDirectory = __dirname + "/";
85780
+ scriptDirectory = __dirname + "asyncify/";
85781
85781
  read_ = (filename, binary) => {
85782
85782
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
85783
85783
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -93159,14 +93159,14 @@ function init13(RuntimeName, PHPLoader) {
93159
93159
  }
93160
93160
  var dependencyFilename13, dependenciesTotalSize13;
93161
93161
  var init_php_8_02 = __esm({
93162
- "packages/php-wasm/node/public/asyncify/php_8_0.js"() {
93162
+ "packages/php-wasm/node/asyncify/php_8_0.js"() {
93163
93163
  "use strict";
93164
- dependencyFilename13 = __dirname + "/8_0_30/php_8_0.wasm";
93164
+ dependencyFilename13 = __dirname + "asyncify/8_0_30/php_8_0.wasm";
93165
93165
  dependenciesTotalSize13 = 14465052;
93166
93166
  }
93167
93167
  });
93168
93168
 
93169
- // packages/php-wasm/node/public/asyncify/php_7_4.js
93169
+ // packages/php-wasm/node/asyncify/php_7_4.js
93170
93170
  var php_7_4_exports2 = {};
93171
93171
  __export(php_7_4_exports2, {
93172
93172
  dependenciesTotalSize: () => dependenciesTotalSize14,
@@ -93204,7 +93204,7 @@ function init14(RuntimeName, PHPLoader) {
93204
93204
  if (ENVIRONMENT_IS_NODE) {
93205
93205
  var fs = __require("fs");
93206
93206
  var nodePath = __require("path");
93207
- scriptDirectory = __dirname + "/";
93207
+ scriptDirectory = __dirname + "asyncify/";
93208
93208
  read_ = (filename, binary) => {
93209
93209
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
93210
93210
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -100572,14 +100572,14 @@ function init14(RuntimeName, PHPLoader) {
100572
100572
  }
100573
100573
  var dependencyFilename14, dependenciesTotalSize14;
100574
100574
  var init_php_7_42 = __esm({
100575
- "packages/php-wasm/node/public/asyncify/php_7_4.js"() {
100575
+ "packages/php-wasm/node/asyncify/php_7_4.js"() {
100576
100576
  "use strict";
100577
- dependencyFilename14 = __dirname + "/7_4_33/php_7_4.wasm";
100577
+ dependencyFilename14 = __dirname + "asyncify/7_4_33/php_7_4.wasm";
100578
100578
  dependenciesTotalSize14 = 14955932;
100579
100579
  }
100580
100580
  });
100581
100581
 
100582
- // packages/php-wasm/node/public/asyncify/php_7_3.js
100582
+ // packages/php-wasm/node/asyncify/php_7_3.js
100583
100583
  var php_7_3_exports2 = {};
100584
100584
  __export(php_7_3_exports2, {
100585
100585
  dependenciesTotalSize: () => dependenciesTotalSize15,
@@ -100617,7 +100617,7 @@ function init15(RuntimeName, PHPLoader) {
100617
100617
  if (ENVIRONMENT_IS_NODE) {
100618
100618
  var fs = __require("fs");
100619
100619
  var nodePath = __require("path");
100620
- scriptDirectory = __dirname + "/";
100620
+ scriptDirectory = __dirname + "asyncify/";
100621
100621
  read_ = (filename, binary) => {
100622
100622
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
100623
100623
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -107959,14 +107959,14 @@ function init15(RuntimeName, PHPLoader) {
107959
107959
  }
107960
107960
  var dependencyFilename15, dependenciesTotalSize15;
107961
107961
  var init_php_7_32 = __esm({
107962
- "packages/php-wasm/node/public/asyncify/php_7_3.js"() {
107962
+ "packages/php-wasm/node/asyncify/php_7_3.js"() {
107963
107963
  "use strict";
107964
- dependencyFilename15 = __dirname + "/7_3_33/php_7_3.wasm";
107964
+ dependencyFilename15 = __dirname + "asyncify/7_3_33/php_7_3.wasm";
107965
107965
  dependenciesTotalSize15 = 14262166;
107966
107966
  }
107967
107967
  });
107968
107968
 
107969
- // packages/php-wasm/node/public/asyncify/php_7_2.js
107969
+ // packages/php-wasm/node/asyncify/php_7_2.js
107970
107970
  var php_7_2_exports2 = {};
107971
107971
  __export(php_7_2_exports2, {
107972
107972
  dependenciesTotalSize: () => dependenciesTotalSize16,
@@ -108004,7 +108004,7 @@ function init16(RuntimeName, PHPLoader) {
108004
108004
  if (ENVIRONMENT_IS_NODE) {
108005
108005
  var fs = __require("fs");
108006
108006
  var nodePath = __require("path");
108007
- scriptDirectory = __dirname + "/";
108007
+ scriptDirectory = __dirname + "asyncify/";
108008
108008
  read_ = (filename, binary) => {
108009
108009
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
108010
108010
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -115346,14 +115346,14 @@ function init16(RuntimeName, PHPLoader) {
115346
115346
  }
115347
115347
  var dependencyFilename16, dependenciesTotalSize16;
115348
115348
  var init_php_7_22 = __esm({
115349
- "packages/php-wasm/node/public/asyncify/php_7_2.js"() {
115349
+ "packages/php-wasm/node/asyncify/php_7_2.js"() {
115350
115350
  "use strict";
115351
- dependencyFilename16 = __dirname + "/7_2_34/php_7_2.wasm";
115351
+ dependencyFilename16 = __dirname + "asyncify/7_2_34/php_7_2.wasm";
115352
115352
  dependenciesTotalSize16 = 14137039;
115353
115353
  }
115354
115354
  });
115355
115355
 
115356
- // packages/php-wasm/node/public/asyncify/php_7_1.js
115356
+ // packages/php-wasm/node/asyncify/php_7_1.js
115357
115357
  var php_7_1_exports2 = {};
115358
115358
  __export(php_7_1_exports2, {
115359
115359
  dependenciesTotalSize: () => dependenciesTotalSize17,
@@ -115391,7 +115391,7 @@ function init17(RuntimeName, PHPLoader) {
115391
115391
  if (ENVIRONMENT_IS_NODE) {
115392
115392
  var fs = __require("fs");
115393
115393
  var nodePath = __require("path");
115394
- scriptDirectory = __dirname + "/";
115394
+ scriptDirectory = __dirname + "asyncify/";
115395
115395
  read_ = (filename, binary) => {
115396
115396
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
115397
115397
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -122719,14 +122719,14 @@ function init17(RuntimeName, PHPLoader) {
122719
122719
  }
122720
122720
  var dependencyFilename17, dependenciesTotalSize17;
122721
122721
  var init_php_7_12 = __esm({
122722
- "packages/php-wasm/node/public/asyncify/php_7_1.js"() {
122722
+ "packages/php-wasm/node/asyncify/php_7_1.js"() {
122723
122723
  "use strict";
122724
- dependencyFilename17 = __dirname + "/7_1_30/php_7_1.wasm";
122724
+ dependencyFilename17 = __dirname + "asyncify/7_1_30/php_7_1.wasm";
122725
122725
  dependenciesTotalSize17 = 13566339;
122726
122726
  }
122727
122727
  });
122728
122728
 
122729
- // packages/php-wasm/node/public/asyncify/php_7_0.js
122729
+ // packages/php-wasm/node/asyncify/php_7_0.js
122730
122730
  var php_7_0_exports2 = {};
122731
122731
  __export(php_7_0_exports2, {
122732
122732
  dependenciesTotalSize: () => dependenciesTotalSize18,
@@ -122764,7 +122764,7 @@ function init18(RuntimeName, PHPLoader) {
122764
122764
  if (ENVIRONMENT_IS_NODE) {
122765
122765
  var fs = __require("fs");
122766
122766
  var nodePath = __require("path");
122767
- scriptDirectory = __dirname + "/";
122767
+ scriptDirectory = __dirname + "asyncify/";
122768
122768
  read_ = (filename, binary) => {
122769
122769
  filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
122770
122770
  return fs.readFileSync(filename, binary ? void 0 : "utf8");
@@ -130106,9 +130106,9 @@ function init18(RuntimeName, PHPLoader) {
130106
130106
  }
130107
130107
  var dependencyFilename18, dependenciesTotalSize18;
130108
130108
  var init_php_7_02 = __esm({
130109
- "packages/php-wasm/node/public/asyncify/php_7_0.js"() {
130109
+ "packages/php-wasm/node/asyncify/php_7_0.js"() {
130110
130110
  "use strict";
130111
- dependencyFilename18 = __dirname + "/7_0_33/php_7_0.wasm";
130111
+ dependencyFilename18 = __dirname + "asyncify/7_0_33/php_7_0.wasm";
130112
130112
  dependenciesTotalSize18 = 13086044;
130113
130113
  }
130114
130114
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/node",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "PHP.wasm for Node.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,23 +38,24 @@
38
38
  },
39
39
  "license": "GPL-2.0-or-later",
40
40
  "types": "index.d.ts",
41
- "gitHead": "55aa00a7ccb5b1b0996aa49d8b37a6ce67b055d4",
41
+ "gitHead": "dbf1c413c29eeeafe97a286008c146dd5e0c2740",
42
42
  "engines": {
43
43
  "node": ">=18.18.0",
44
44
  "npm": ">=8.11.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "comlink": "^4.4.1",
48
+ "events": "3.3.0",
48
49
  "express": "4.19.2",
49
50
  "ini": "4.1.2",
50
51
  "wasm-feature-detect": "1.8.0",
51
52
  "ws": "8.18.0",
52
53
  "yargs": "17.7.2",
53
- "@php-wasm/node-polyfills": "1.0.1",
54
- "@php-wasm/universal": "1.0.1",
55
- "@php-wasm/logger": "1.0.1",
56
- "@php-wasm/util": "1.0.1",
57
- "@wp-playground/common": "1.0.1",
58
- "@wp-playground/wordpress": "1.0.1"
54
+ "@php-wasm/node-polyfills": "1.0.2",
55
+ "@php-wasm/universal": "1.0.2",
56
+ "@php-wasm/logger": "1.0.2",
57
+ "@php-wasm/util": "1.0.2",
58
+ "@wp-playground/common": "1.0.2",
59
+ "@wp-playground/wordpress": "1.0.2"
59
60
  }
60
61
  }