@rspack/dev-middleware 2.0.0 → 2.0.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.
- package/README.md +8 -5
- package/dist/index.js +258 -281
- package/package.json +19 -19
- package/types/index.d.ts +2 -2
- package/types/utils/getPaths.d.ts +4 -4
- package/dist/rslib-runtime.js +0 -29
package/dist/index.js
CHANGED
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
/*! LICENSE: index.js.LICENSE.txt */
|
|
2
|
-
import * as __rspack_external_async_hooks from "async_hooks";
|
|
3
|
-
import * as __rspack_external_node_buffer_fb286294 from "node:buffer";
|
|
4
|
-
import * as __rspack_external_node_events_0a6aefe7 from "node:events";
|
|
5
|
-
import * as __rspack_external_node_path_c5b9b54f from "node:path";
|
|
6
|
-
import * as __rspack_external_node_stream_444d1c2b from "node:stream";
|
|
7
|
-
import * as __rspack_external_process from "process";
|
|
8
|
-
import * as __rspack_external_url from "url";
|
|
9
|
-
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
10
2
|
import node_path from "node:path";
|
|
11
3
|
import node_crypto from "node:crypto";
|
|
12
4
|
import node_querystring from "node:querystring";
|
|
13
5
|
import node_fs from "node:fs";
|
|
6
|
+
import { createRequire as __rspack_createRequire } from "node:module";
|
|
7
|
+
const __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
|
|
8
|
+
var __webpack_modules__ = {};
|
|
9
|
+
var __webpack_module_cache__ = {};
|
|
10
|
+
function __webpack_require__(moduleId) {
|
|
11
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
12
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
13
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
14
|
+
exports: {}
|
|
15
|
+
};
|
|
16
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
17
|
+
return module.exports;
|
|
18
|
+
}
|
|
19
|
+
__webpack_require__.m = __webpack_modules__;
|
|
20
|
+
(()=>{
|
|
21
|
+
__webpack_require__.d = (exports, definition)=>{
|
|
22
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: definition[key]
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
})();
|
|
28
|
+
(()=>{
|
|
29
|
+
__webpack_require__.add = function(modules) {
|
|
30
|
+
Object.assign(__webpack_require__.m, modules);
|
|
31
|
+
};
|
|
32
|
+
})();
|
|
33
|
+
(()=>{
|
|
34
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
35
|
+
})();
|
|
14
36
|
__webpack_require__.add({
|
|
15
37
|
"./node_modules/.pnpm/@jsonjoy.com+base64@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/base64/lib/constants.js" (__unused_rspack_module, exports) {
|
|
16
38
|
exports.alphabet = void 0;
|
|
@@ -816,12 +838,12 @@ __webpack_require__.add({
|
|
|
816
838
|
const CachedUtf8Decoder_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+buffers@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/buffers/lib/utf8/CachedUtf8Decoder.js");
|
|
817
839
|
exports["default"] = new CachedUtf8Decoder_1.CachedUtf8Decoder();
|
|
818
840
|
},
|
|
819
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
841
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/File.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
820
842
|
Object.defineProperty(exports, "__esModule", {
|
|
821
843
|
value: true
|
|
822
844
|
});
|
|
823
845
|
exports.File = void 0;
|
|
824
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
846
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
825
847
|
const { O_APPEND } = fs_node_utils_1.constants;
|
|
826
848
|
class File {
|
|
827
849
|
constructor(link, node, flags, fd){
|
|
@@ -874,12 +896,12 @@ __webpack_require__.add({
|
|
|
874
896
|
}
|
|
875
897
|
exports.File = File;
|
|
876
898
|
},
|
|
877
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
899
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Link.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
878
900
|
Object.defineProperty(exports, "__esModule", {
|
|
879
901
|
value: true
|
|
880
902
|
});
|
|
881
903
|
exports.Link = void 0;
|
|
882
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
904
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
883
905
|
const fanout_1 = __webpack_require__("./node_modules/.pnpm/thingies@2.5.0_tslib@2.8.1/node_modules/thingies/lib/fanout.js");
|
|
884
906
|
const { S_IFREG } = fs_node_utils_1.constants;
|
|
885
907
|
class Link {
|
|
@@ -981,21 +1003,21 @@ __webpack_require__.add({
|
|
|
981
1003
|
}
|
|
982
1004
|
exports.Link = Link;
|
|
983
1005
|
},
|
|
984
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1006
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Node.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
985
1007
|
Object.defineProperty(exports, "__esModule", {
|
|
986
1008
|
value: true
|
|
987
1009
|
});
|
|
988
1010
|
exports.Node = void 0;
|
|
989
1011
|
const fanout_1 = __webpack_require__("./node_modules/.pnpm/thingies@2.5.0_tslib@2.8.1/node_modules/thingies/lib/fanout.js");
|
|
990
|
-
const process_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
991
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
992
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
1012
|
+
const process_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/process.js");
|
|
1013
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
1014
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
993
1015
|
const { S_IFMT, S_IFDIR, S_IFREG, S_IFLNK, S_IFCHR } = fs_node_utils_1.constants;
|
|
994
1016
|
const getuid = ()=>process_1.default.getuid?.() ?? 0;
|
|
995
1017
|
const getgid = ()=>process_1.default.getgid?.() ?? 0;
|
|
996
1018
|
const EMPTY_BUFFER = (0, buffer_1.bufferAllocUnsafe)(0);
|
|
997
1019
|
class Node {
|
|
998
|
-
constructor(ino, mode = 438){
|
|
1020
|
+
constructor(ino, mode = 438, uid = getuid(), gid = getgid()){
|
|
999
1021
|
this.changes = new fanout_1.FanOut();
|
|
1000
1022
|
this._uid = getuid();
|
|
1001
1023
|
this._gid = getgid();
|
|
@@ -1009,6 +1031,8 @@ __webpack_require__.add({
|
|
|
1009
1031
|
this._nlink = 1;
|
|
1010
1032
|
this.mode = mode;
|
|
1011
1033
|
this.ino = ino;
|
|
1034
|
+
this._uid = uid;
|
|
1035
|
+
this._gid = gid;
|
|
1012
1036
|
}
|
|
1013
1037
|
set ctime(ctime) {
|
|
1014
1038
|
this._ctime = ctime;
|
|
@@ -1223,38 +1247,38 @@ __webpack_require__.add({
|
|
|
1223
1247
|
}
|
|
1224
1248
|
exports.Node = Node;
|
|
1225
1249
|
},
|
|
1226
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1250
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Superblock.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1227
1251
|
Object.defineProperty(exports, "__esModule", {
|
|
1228
1252
|
value: true
|
|
1229
1253
|
});
|
|
1230
1254
|
exports.Superblock = void 0;
|
|
1231
|
-
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1232
|
-
const Node_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1233
|
-
const Link_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1234
|
-
const File_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1235
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1236
|
-
const process_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1237
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
1238
|
-
const fs_node_utils_2 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
1239
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1240
|
-
const json_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1241
|
-
const result_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1255
|
+
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js");
|
|
1256
|
+
const Node_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Node.js");
|
|
1257
|
+
const Link_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Link.js");
|
|
1258
|
+
const File_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/File.js");
|
|
1259
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
1260
|
+
const process_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/process.js");
|
|
1261
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
1262
|
+
const fs_node_utils_2 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
1263
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/util.js");
|
|
1264
|
+
const json_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/json.js");
|
|
1265
|
+
const result_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/result.js");
|
|
1242
1266
|
const pathSep = path_1.posix ? path_1.posix.sep : path_1.sep;
|
|
1243
1267
|
const pathRelative = path_1.posix ? path_1.posix.relative : path_1.relative;
|
|
1244
1268
|
const pathJoin = path_1.posix ? path_1.posix.join : path_1.join;
|
|
1245
1269
|
const { O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_EXCL, O_TRUNC, O_APPEND, O_DIRECTORY } = fs_node_utils_1.constants;
|
|
1246
1270
|
class Superblock {
|
|
1247
|
-
static fromJSON(json, cwd) {
|
|
1248
|
-
const vol = new Superblock();
|
|
1271
|
+
static fromJSON(json, cwd, opts) {
|
|
1272
|
+
const vol = new Superblock(opts);
|
|
1249
1273
|
vol.fromJSON(json, cwd);
|
|
1250
1274
|
return vol;
|
|
1251
1275
|
}
|
|
1252
|
-
static fromNestedJSON(json, cwd) {
|
|
1253
|
-
const vol = new Superblock();
|
|
1276
|
+
static fromNestedJSON(json, cwd, opts) {
|
|
1277
|
+
const vol = new Superblock(opts);
|
|
1254
1278
|
vol.fromNestedJSON(json, cwd);
|
|
1255
1279
|
return vol;
|
|
1256
1280
|
}
|
|
1257
|
-
constructor(
|
|
1281
|
+
constructor(opts = {}){
|
|
1258
1282
|
this.ino = 0;
|
|
1259
1283
|
this.inodes = {};
|
|
1260
1284
|
this.releasedInos = [];
|
|
@@ -1436,6 +1460,7 @@ __webpack_require__.add({
|
|
|
1436
1460
|
const file = this.getFileByFdOrThrow(fd, 'close');
|
|
1437
1461
|
this.closeFile(file);
|
|
1438
1462
|
};
|
|
1463
|
+
this.process = opts.process ?? process_1.default;
|
|
1439
1464
|
const root = this.createLink();
|
|
1440
1465
|
root.setNode(this.createNode(511 | fs_node_utils_1.constants.S_IFDIR));
|
|
1441
1466
|
root.setChild('.', root);
|
|
@@ -1472,7 +1497,9 @@ __webpack_require__.add({
|
|
|
1472
1497
|
return 'number' == typeof releasedFd ? releasedFd : Superblock.fd--;
|
|
1473
1498
|
}
|
|
1474
1499
|
createNode(mode) {
|
|
1475
|
-
const
|
|
1500
|
+
const uid = this.process.getuid?.() ?? 0;
|
|
1501
|
+
const gid = this.process.getgid?.() ?? 0;
|
|
1502
|
+
const node = new Node_1.Node(this.newInoNumber(), mode, uid, gid);
|
|
1476
1503
|
this.inodes[node.ino] = node;
|
|
1477
1504
|
return node;
|
|
1478
1505
|
}
|
|
@@ -1496,10 +1523,12 @@ __webpack_require__.add({
|
|
|
1496
1523
|
}
|
|
1497
1524
|
let curr = this.root;
|
|
1498
1525
|
let i = 0;
|
|
1526
|
+
const uid = this.process.getuid?.() ?? 0;
|
|
1527
|
+
const gid = this.process.getgid?.() ?? 0;
|
|
1499
1528
|
while(i < steps.length){
|
|
1500
1529
|
let node = curr.getNode();
|
|
1501
1530
|
if (node.isDirectory()) {
|
|
1502
|
-
if (checkAccess && !node.canExecute()) return (0, result_1.Err)((0, util_1.createStatError)("EACCES", funcName, filename));
|
|
1531
|
+
if (checkAccess && !node.canExecute(uid, gid)) return (0, result_1.Err)((0, util_1.createStatError)("EACCES", funcName, filename));
|
|
1503
1532
|
} else if (i < steps.length - 1) return (0, result_1.Err)((0, util_1.createStatError)("ENOTDIR", funcName, filename));
|
|
1504
1533
|
curr = curr.getChild(steps[i]) ?? null;
|
|
1505
1534
|
if (!curr) if (checkExistence) return (0, result_1.Err)((0, util_1.createStatError)("ENOENT", funcName, filename));
|
|
@@ -1513,7 +1542,7 @@ __webpack_require__.add({
|
|
|
1513
1542
|
continue;
|
|
1514
1543
|
}
|
|
1515
1544
|
if (checkExistence && !node.isDirectory() && i < steps.length - 1) {
|
|
1516
|
-
const errorCode = 'win32' ===
|
|
1545
|
+
const errorCode = 'win32' === this.process.platform ? "ENOENT" : "ENOTDIR";
|
|
1517
1546
|
return (0, result_1.Err)((0, util_1.createStatError)(errorCode, funcName, filename));
|
|
1518
1547
|
}
|
|
1519
1548
|
i++;
|
|
@@ -1617,7 +1646,7 @@ __webpack_require__.add({
|
|
|
1617
1646
|
for (const link of links)this._toJSON(link, json, isRelative ? link.getPath() : '', asBuffer);
|
|
1618
1647
|
return json;
|
|
1619
1648
|
}
|
|
1620
|
-
fromJSON(json, cwd =
|
|
1649
|
+
fromJSON(json, cwd = this.process.cwd()) {
|
|
1621
1650
|
for(let filename in json){
|
|
1622
1651
|
const data = json[filename];
|
|
1623
1652
|
filename = (0, util_1.resolve)(filename, cwd);
|
|
@@ -1700,69 +1729,56 @@ __webpack_require__.add({
|
|
|
1700
1729
|
exports.Superblock = Superblock;
|
|
1701
1730
|
Superblock.fd = 0x7fffffff;
|
|
1702
1731
|
},
|
|
1703
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1732
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/constants.js" (__unused_rspack_module, exports) {
|
|
1704
1733
|
Object.defineProperty(exports, "__esModule", {
|
|
1705
1734
|
value: true
|
|
1706
1735
|
});
|
|
1707
1736
|
},
|
|
1708
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1709
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1710
|
-
value: true
|
|
1711
|
-
});
|
|
1737
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/encoding.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1712
1738
|
exports.ENCODING_UTF8 = void 0;
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.56.11_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
1716
|
-
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.56.11_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
1739
|
+
__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
1740
|
+
__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
1717
1741
|
exports.ENCODING_UTF8 = 'utf8';
|
|
1718
|
-
function assertEncoding(encoding) {
|
|
1719
|
-
if (encoding && !buffer_1.Buffer.isEncoding(encoding)) throw new errors.TypeError('ERR_INVALID_OPT_VALUE_ENCODING', encoding);
|
|
1720
|
-
}
|
|
1721
|
-
function strToEncoding(str, encoding) {
|
|
1722
|
-
if (!encoding || encoding === exports.ENCODING_UTF8) return str;
|
|
1723
|
-
if ('buffer' === encoding) return new buffer_1.Buffer(str);
|
|
1724
|
-
return new buffer_1.Buffer(str).toString(encoding);
|
|
1725
|
-
}
|
|
1726
1742
|
},
|
|
1727
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1743
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1728
1744
|
Object.defineProperty(exports, "__esModule", {
|
|
1729
1745
|
value: true
|
|
1730
1746
|
});
|
|
1731
1747
|
exports.resolve = exports.pathToFilename = exports.createStatError = exports.createError = exports.validateFd = exports.isFd = exports.filenameToSteps = exports.dataToBuffer = exports.Superblock = exports.File = exports.Link = exports.Node = void 0;
|
|
1732
1748
|
const tslib_1 = __webpack_require__("./node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs");
|
|
1733
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1734
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1735
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1736
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1737
|
-
var Node_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1749
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/types.js"), exports);
|
|
1750
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/json.js"), exports);
|
|
1751
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/constants.js"), exports);
|
|
1752
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/result.js"), exports);
|
|
1753
|
+
var Node_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Node.js");
|
|
1738
1754
|
Object.defineProperty(exports, "Node", {
|
|
1739
1755
|
enumerable: true,
|
|
1740
1756
|
get: function() {
|
|
1741
1757
|
return Node_1.Node;
|
|
1742
1758
|
}
|
|
1743
1759
|
});
|
|
1744
|
-
var Link_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1760
|
+
var Link_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Link.js");
|
|
1745
1761
|
Object.defineProperty(exports, "Link", {
|
|
1746
1762
|
enumerable: true,
|
|
1747
1763
|
get: function() {
|
|
1748
1764
|
return Link_1.Link;
|
|
1749
1765
|
}
|
|
1750
1766
|
});
|
|
1751
|
-
var File_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1767
|
+
var File_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/File.js");
|
|
1752
1768
|
Object.defineProperty(exports, "File", {
|
|
1753
1769
|
enumerable: true,
|
|
1754
1770
|
get: function() {
|
|
1755
1771
|
return File_1.File;
|
|
1756
1772
|
}
|
|
1757
1773
|
});
|
|
1758
|
-
var Superblock_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1774
|
+
var Superblock_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/Superblock.js");
|
|
1759
1775
|
Object.defineProperty(exports, "Superblock", {
|
|
1760
1776
|
enumerable: true,
|
|
1761
1777
|
get: function() {
|
|
1762
1778
|
return Superblock_1.Superblock;
|
|
1763
1779
|
}
|
|
1764
1780
|
});
|
|
1765
|
-
var util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1781
|
+
var util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/util.js");
|
|
1766
1782
|
Object.defineProperty(exports, "dataToBuffer", {
|
|
1767
1783
|
enumerable: true,
|
|
1768
1784
|
get: function() {
|
|
@@ -1812,13 +1828,13 @@ __webpack_require__.add({
|
|
|
1812
1828
|
}
|
|
1813
1829
|
});
|
|
1814
1830
|
},
|
|
1815
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1831
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/json.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1816
1832
|
Object.defineProperty(exports, "__esModule", {
|
|
1817
1833
|
value: true
|
|
1818
1834
|
});
|
|
1819
1835
|
exports.flattenJSON = void 0;
|
|
1820
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1821
|
-
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1836
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
1837
|
+
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js");
|
|
1822
1838
|
const pathJoin = path_1.posix ? path_1.posix.join : path_1.join;
|
|
1823
1839
|
const flattenJSON = (nestedJSON)=>{
|
|
1824
1840
|
const flatJSON = {};
|
|
@@ -1836,7 +1852,7 @@ __webpack_require__.add({
|
|
|
1836
1852
|
};
|
|
1837
1853
|
exports.flattenJSON = flattenJSON;
|
|
1838
1854
|
},
|
|
1839
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1855
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/process.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1840
1856
|
const maybeReturnProcess = ()=>{
|
|
1841
1857
|
if ("u" > typeof process) return process;
|
|
1842
1858
|
try {
|
|
@@ -1856,7 +1872,7 @@ __webpack_require__.add({
|
|
|
1856
1872
|
}
|
|
1857
1873
|
exports["default"] = createProcess();
|
|
1858
1874
|
},
|
|
1859
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1875
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/result.js" (__unused_rspack_module, exports) {
|
|
1860
1876
|
Object.defineProperty(exports, "__esModule", {
|
|
1861
1877
|
value: true
|
|
1862
1878
|
});
|
|
@@ -1875,12 +1891,12 @@ __webpack_require__.add({
|
|
|
1875
1891
|
};
|
|
1876
1892
|
}
|
|
1877
1893
|
},
|
|
1878
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1894
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/types.js" (__unused_rspack_module, exports) {
|
|
1879
1895
|
Object.defineProperty(exports, "__esModule", {
|
|
1880
1896
|
value: true
|
|
1881
1897
|
});
|
|
1882
1898
|
},
|
|
1883
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1899
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/util.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1884
1900
|
Object.defineProperty(exports, "__esModule", {
|
|
1885
1901
|
value: true
|
|
1886
1902
|
});
|
|
@@ -1892,12 +1908,12 @@ __webpack_require__.add({
|
|
|
1892
1908
|
exports.pathToFilename = pathToFilename;
|
|
1893
1909
|
exports.createError = createError;
|
|
1894
1910
|
exports.createStatError = createStatError;
|
|
1895
|
-
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1896
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1897
|
-
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
1898
|
-
const process_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1899
|
-
const encoding_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
1900
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
1911
|
+
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js");
|
|
1912
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
1913
|
+
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
1914
|
+
const process_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/process.js");
|
|
1915
|
+
const encoding_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/encoding.js");
|
|
1916
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
1901
1917
|
exports.isWin = 'win32' === process_1.default.platform;
|
|
1902
1918
|
const resolveCrossPlatform = path_1.resolve;
|
|
1903
1919
|
const pathSep = path_1.posix ? path_1.posix.sep : path_1.sep;
|
|
@@ -2054,7 +2070,7 @@ __webpack_require__.add({
|
|
|
2054
2070
|
};
|
|
2055
2071
|
}
|
|
2056
2072
|
},
|
|
2057
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2073
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/buffer.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2058
2074
|
exports.Buffer = void 0;
|
|
2059
2075
|
var node_buffer_1 = __webpack_require__("node:buffer");
|
|
2060
2076
|
Object.defineProperty(exports, "Buffer", {
|
|
@@ -2064,7 +2080,7 @@ __webpack_require__.add({
|
|
|
2064
2080
|
}
|
|
2065
2081
|
});
|
|
2066
2082
|
},
|
|
2067
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2083
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/events.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2068
2084
|
exports.EventEmitter = void 0;
|
|
2069
2085
|
var node_events_1 = __webpack_require__("node:events");
|
|
2070
2086
|
Object.defineProperty(exports, "EventEmitter", {
|
|
@@ -2074,9 +2090,9 @@ __webpack_require__.add({
|
|
|
2074
2090
|
}
|
|
2075
2091
|
});
|
|
2076
2092
|
},
|
|
2077
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2093
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2078
2094
|
exports.bufferFrom = exports.bufferAllocUnsafe = exports.Buffer = void 0;
|
|
2079
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2095
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/buffer.js");
|
|
2080
2096
|
Object.defineProperty(exports, "Buffer", {
|
|
2081
2097
|
enumerable: true,
|
|
2082
2098
|
get: function() {
|
|
@@ -2091,14 +2107,9 @@ __webpack_require__.add({
|
|
|
2091
2107
|
const bufferFrom = buffer_1.Buffer.from || bufferV0P12Ponyfill;
|
|
2092
2108
|
exports.bufferFrom = bufferFrom;
|
|
2093
2109
|
},
|
|
2094
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
});
|
|
2098
|
-
exports.AssertionError = exports.RangeError = exports.TypeError = exports.Error = void 0;
|
|
2099
|
-
exports.message = message;
|
|
2100
|
-
exports.E = E;
|
|
2101
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.56.11_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/util.js");
|
|
2110
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2111
|
+
exports.TypeError = exports.Error = void 0;
|
|
2112
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/util.js");
|
|
2102
2113
|
const kCode = "u" < typeof Symbol ? '_kCode' : Symbol('code');
|
|
2103
2114
|
const messages = {};
|
|
2104
2115
|
function makeNodeError(Base) {
|
|
@@ -2112,21 +2123,7 @@ __webpack_require__.add({
|
|
|
2112
2123
|
};
|
|
2113
2124
|
}
|
|
2114
2125
|
const g = "u" > typeof globalThis ? globalThis : global;
|
|
2115
|
-
|
|
2116
|
-
constructor(options){
|
|
2117
|
-
if ('object' != typeof options || null === options) throw new exports.TypeError('ERR_INVALID_ARG_TYPE', 'options', 'object');
|
|
2118
|
-
if (options.message) super(options.message);
|
|
2119
|
-
else super(`${(0, util_1.inspect)(options.actual).slice(0, 128)} ${options.operator} ${(0, util_1.inspect)(options.expected).slice(0, 128)}`);
|
|
2120
|
-
this.generatedMessage = !options.message;
|
|
2121
|
-
this.name = 'AssertionError [ERR_ASSERTION]';
|
|
2122
|
-
this.code = 'ERR_ASSERTION';
|
|
2123
|
-
this.actual = options.actual;
|
|
2124
|
-
this.expected = options.expected;
|
|
2125
|
-
this.operator = options.operator;
|
|
2126
|
-
exports.Error.captureStackTrace(this, options.stackStartFunction);
|
|
2127
|
-
}
|
|
2128
|
-
}
|
|
2129
|
-
exports.AssertionError = AssertionError;
|
|
2126
|
+
g.Error;
|
|
2130
2127
|
function message(key, args) {
|
|
2131
2128
|
if ('string' != typeof key) throw new exports.Error('Error message key must be a string');
|
|
2132
2129
|
const msg = messages[key];
|
|
@@ -2145,7 +2142,7 @@ __webpack_require__.add({
|
|
|
2145
2142
|
}
|
|
2146
2143
|
exports.Error = makeNodeError(g.Error);
|
|
2147
2144
|
exports.TypeError = makeNodeError(g.TypeError);
|
|
2148
|
-
|
|
2145
|
+
makeNodeError(g.RangeError);
|
|
2149
2146
|
E('ERR_DIR_CLOSED', 'Directory handle was closed');
|
|
2150
2147
|
E('ERR_DIR_CONCURRENT_OPERATION', 'Cannot do synchronous work on directory handle with concurrent asynchronous operations');
|
|
2151
2148
|
E('ERR_INVALID_FILE_URL_HOST', 'File URL host must be "localhost" or empty on %s');
|
|
@@ -2154,9 +2151,9 @@ __webpack_require__.add({
|
|
|
2154
2151
|
E('ERR_INVALID_OPT_VALUE_ENCODING', (value)=>`The value "${String(value)}" is invalid for option "encoding"`);
|
|
2155
2152
|
E('ERR_INVALID_ARG_VALUE', 'Unable to open file as blob');
|
|
2156
2153
|
},
|
|
2157
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2154
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2158
2155
|
exports.basename = exports.isAbsolute = exports.normalize = exports.dirname = exports.relative = exports.join = exports.posix = exports.sep = exports.resolve = void 0;
|
|
2159
|
-
var node_path_1 = __webpack_require__("node:path?
|
|
2156
|
+
var node_path_1 = __webpack_require__("node:path?435f");
|
|
2160
2157
|
Object.defineProperty(exports, "resolve", {
|
|
2161
2158
|
enumerable: true,
|
|
2162
2159
|
get: function() {
|
|
@@ -2212,7 +2209,7 @@ __webpack_require__.add({
|
|
|
2212
2209
|
}
|
|
2213
2210
|
});
|
|
2214
2211
|
},
|
|
2215
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2212
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/stream.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2216
2213
|
exports.Writable = exports.Readable = void 0;
|
|
2217
2214
|
var node_stream_1 = __webpack_require__("node:stream");
|
|
2218
2215
|
Object.defineProperty(exports, "Readable", {
|
|
@@ -2228,7 +2225,7 @@ __webpack_require__.add({
|
|
|
2228
2225
|
}
|
|
2229
2226
|
});
|
|
2230
2227
|
},
|
|
2231
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2228
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/util.js" (__unused_rspack_module, exports) {
|
|
2232
2229
|
exports.inherits = inherits;
|
|
2233
2230
|
exports.inspect = inspect;
|
|
2234
2231
|
exports.format = format;
|
|
@@ -2288,7 +2285,7 @@ __webpack_require__.add({
|
|
|
2288
2285
|
return result;
|
|
2289
2286
|
}
|
|
2290
2287
|
},
|
|
2291
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2288
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/constants.js" (__unused_rspack_module, exports) {
|
|
2292
2289
|
Object.defineProperty(exports, "__esModule", {
|
|
2293
2290
|
value: true
|
|
2294
2291
|
});
|
|
@@ -2382,12 +2379,12 @@ __webpack_require__.add({
|
|
|
2382
2379
|
FLAGS[FLAGS["xa+"] = FLAGS['ax+']] = "xa+";
|
|
2383
2380
|
})(FLAGS || (exports.FLAGS = FLAGS = {}));
|
|
2384
2381
|
},
|
|
2385
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2382
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/consts/AMODE.js" (__unused_rspack_module, exports) {
|
|
2386
2383
|
Object.defineProperty(exports, "__esModule", {
|
|
2387
2384
|
value: true
|
|
2388
2385
|
});
|
|
2389
2386
|
},
|
|
2390
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2387
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/consts/FLAG.js" (__unused_rspack_module, exports) {
|
|
2391
2388
|
Object.defineProperty(exports, "__esModule", {
|
|
2392
2389
|
value: true
|
|
2393
2390
|
});
|
|
@@ -2416,15 +2413,15 @@ __webpack_require__.add({
|
|
|
2416
2413
|
FLAG[FLAG["O_NDELAY"] = 2048] = "O_NDELAY";
|
|
2417
2414
|
})(FLAG || (exports.FLAG = FLAG = {}));
|
|
2418
2415
|
},
|
|
2419
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2416
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/encoding.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2420
2417
|
Object.defineProperty(exports, "__esModule", {
|
|
2421
2418
|
value: true
|
|
2422
2419
|
});
|
|
2423
2420
|
exports.ENCODING_UTF8 = void 0;
|
|
2424
2421
|
exports.assertEncoding = assertEncoding;
|
|
2425
2422
|
exports.strToEncoding = strToEncoding;
|
|
2426
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2427
|
-
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2423
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
2424
|
+
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
2428
2425
|
exports.ENCODING_UTF8 = 'utf8';
|
|
2429
2426
|
function assertEncoding(encoding) {
|
|
2430
2427
|
if (encoding && !buffer_1.Buffer.isEncoding(encoding)) throw new errors.TypeError('ERR_INVALID_OPT_VALUE_ENCODING', encoding);
|
|
@@ -2435,19 +2432,19 @@ __webpack_require__.add({
|
|
|
2435
2432
|
return new buffer_1.Buffer(str).toString(encoding);
|
|
2436
2433
|
}
|
|
2437
2434
|
},
|
|
2438
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2435
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2439
2436
|
Object.defineProperty(exports, "__esModule", {
|
|
2440
2437
|
value: true
|
|
2441
2438
|
});
|
|
2442
2439
|
const tslib_1 = __webpack_require__("./node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs");
|
|
2443
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2444
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2445
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2446
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2447
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2448
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2440
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/types/index.js"), exports);
|
|
2441
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/constants.js"), exports);
|
|
2442
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/consts/AMODE.js"), exports);
|
|
2443
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/consts/FLAG.js"), exports);
|
|
2444
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/path.js"), exports);
|
|
2445
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/encoding.js"), exports);
|
|
2449
2446
|
},
|
|
2450
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2447
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/path.js" (__unused_rspack_module, exports) {
|
|
2451
2448
|
Object.defineProperty(exports, "__esModule", {
|
|
2452
2449
|
value: true
|
|
2453
2450
|
});
|
|
@@ -2459,7 +2456,7 @@ __webpack_require__.add({
|
|
|
2459
2456
|
};
|
|
2460
2457
|
exports.basename = basename;
|
|
2461
2458
|
},
|
|
2462
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2459
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/setTimeoutUnref.js" (__unused_rspack_module, exports) {
|
|
2463
2460
|
function setTimeoutUnref(callback, time, args) {
|
|
2464
2461
|
const ref = setTimeout.apply("u" > typeof globalThis ? globalThis : global, arguments);
|
|
2465
2462
|
if (ref && 'object' == typeof ref && 'function' == typeof ref.unref) ref.unref();
|
|
@@ -2467,19 +2464,19 @@ __webpack_require__.add({
|
|
|
2467
2464
|
}
|
|
2468
2465
|
exports["default"] = setTimeoutUnref;
|
|
2469
2466
|
},
|
|
2470
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2467
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/types/index.js" (__unused_rspack_module, exports) {
|
|
2471
2468
|
Object.defineProperty(exports, "__esModule", {
|
|
2472
2469
|
value: true
|
|
2473
2470
|
});
|
|
2474
2471
|
},
|
|
2475
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2472
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dir.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2476
2473
|
Object.defineProperty(exports, "__esModule", {
|
|
2477
2474
|
value: true
|
|
2478
2475
|
});
|
|
2479
2476
|
exports.Dir = void 0;
|
|
2480
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2481
|
-
const Dirent_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2482
|
-
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2477
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js");
|
|
2478
|
+
const Dirent_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dirent.js");
|
|
2479
|
+
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
2483
2480
|
class Dir {
|
|
2484
2481
|
constructor(link, options){
|
|
2485
2482
|
this.link = link;
|
|
@@ -2608,12 +2605,12 @@ __webpack_require__.add({
|
|
|
2608
2605
|
}
|
|
2609
2606
|
exports.Dir = Dir;
|
|
2610
2607
|
},
|
|
2611
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2608
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dirent.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2612
2609
|
Object.defineProperty(exports, "__esModule", {
|
|
2613
2610
|
value: true
|
|
2614
2611
|
});
|
|
2615
2612
|
exports.Dirent = void 0;
|
|
2616
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2613
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
2617
2614
|
const { S_IFMT, S_IFDIR, S_IFREG, S_IFBLK, S_IFCHR, S_IFLNK, S_IFIFO, S_IFSOCK } = fs_node_utils_1.constants;
|
|
2618
2615
|
class Dirent {
|
|
2619
2616
|
constructor(){
|
|
@@ -2659,13 +2656,13 @@ __webpack_require__.add({
|
|
|
2659
2656
|
exports.Dirent = Dirent;
|
|
2660
2657
|
exports["default"] = Dirent;
|
|
2661
2658
|
},
|
|
2662
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2659
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/FileHandle.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2663
2660
|
Object.defineProperty(exports, "__esModule", {
|
|
2664
2661
|
value: true
|
|
2665
2662
|
});
|
|
2666
2663
|
exports.FileHandle = void 0;
|
|
2667
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2668
|
-
const events_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
2664
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js");
|
|
2665
|
+
const events_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/events.js");
|
|
2669
2666
|
class FileHandle extends events_1.EventEmitter {
|
|
2670
2667
|
constructor(fs, fd){
|
|
2671
2668
|
super();
|
|
@@ -2838,13 +2835,13 @@ __webpack_require__.add({
|
|
|
2838
2835
|
}
|
|
2839
2836
|
exports.FileHandle = FileHandle;
|
|
2840
2837
|
},
|
|
2841
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2838
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/FsPromises.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
2842
2839
|
Object.defineProperty(exports, "__esModule", {
|
|
2843
2840
|
value: true
|
|
2844
2841
|
});
|
|
2845
2842
|
exports.FsPromises = void 0;
|
|
2846
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2847
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
2843
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js");
|
|
2844
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
2848
2845
|
class FSWatchAsyncIterator {
|
|
2849
2846
|
constructor(fs, path, options = {}){
|
|
2850
2847
|
this.fs = fs;
|
|
@@ -2991,7 +2988,7 @@ __webpack_require__.add({
|
|
|
2991
2988
|
}
|
|
2992
2989
|
exports.FsPromises = FsPromises;
|
|
2993
2990
|
},
|
|
2994
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
2991
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/StatFs.js" (__unused_rspack_module, exports) {
|
|
2995
2992
|
Object.defineProperty(exports, "__esModule", {
|
|
2996
2993
|
value: true
|
|
2997
2994
|
});
|
|
@@ -3018,12 +3015,12 @@ __webpack_require__.add({
|
|
|
3018
3015
|
exports.StatFs = StatFs;
|
|
3019
3016
|
exports["default"] = StatFs;
|
|
3020
3017
|
},
|
|
3021
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3018
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Stats.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
3022
3019
|
Object.defineProperty(exports, "__esModule", {
|
|
3023
3020
|
value: true
|
|
3024
3021
|
});
|
|
3025
3022
|
exports.Stats = void 0;
|
|
3026
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
3023
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
3027
3024
|
const { S_IFMT, S_IFDIR, S_IFREG, S_IFBLK, S_IFCHR, S_IFLNK, S_IFIFO, S_IFSOCK } = fs_node_utils_1.constants;
|
|
3028
3025
|
class Stats {
|
|
3029
3026
|
static build(node, bigint = false) {
|
|
@@ -3086,14 +3083,14 @@ __webpack_require__.add({
|
|
|
3086
3083
|
exports.Stats = Stats;
|
|
3087
3084
|
exports["default"] = Stats;
|
|
3088
3085
|
},
|
|
3089
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3086
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/glob.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
3090
3087
|
Object.defineProperty(exports, "__esModule", {
|
|
3091
3088
|
value: true
|
|
3092
3089
|
});
|
|
3093
3090
|
exports.globSync = globSync;
|
|
3094
|
-
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3091
|
+
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js");
|
|
3095
3092
|
const glob_to_regex_js_1 = __webpack_require__("./node_modules/.pnpm/glob-to-regex.js@1.2.0_tslib@2.8.1/node_modules/glob-to-regex.js/lib/index.js");
|
|
3096
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3093
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js");
|
|
3097
3094
|
const pathJoin = path_1.posix.join;
|
|
3098
3095
|
const pathRelative = path_1.posix.relative;
|
|
3099
3096
|
const pathResolve = path_1.posix.resolve;
|
|
@@ -3165,13 +3162,13 @@ __webpack_require__.add({
|
|
|
3165
3162
|
return results;
|
|
3166
3163
|
}
|
|
3167
3164
|
},
|
|
3168
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3165
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
3169
3166
|
Object.defineProperty(exports, "__esModule", {
|
|
3170
3167
|
value: true
|
|
3171
3168
|
});
|
|
3172
3169
|
exports.fsCommonObjectsList = exports.fsSynchronousApiList = exports.fsCallbackApiList = exports.FsPromises = exports.Dir = exports.FileHandle = exports.StatFs = exports.Dirent = exports.Stats = exports.toUnixTimestamp = exports.FSWatcher = exports.StatWatcher = exports.Volume = void 0;
|
|
3173
3170
|
const tslib_1 = __webpack_require__("./node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs");
|
|
3174
|
-
var volume_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3171
|
+
var volume_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/volume.js");
|
|
3175
3172
|
Object.defineProperty(exports, "Volume", {
|
|
3176
3173
|
enumerable: true,
|
|
3177
3174
|
get: function() {
|
|
@@ -3196,66 +3193,66 @@ __webpack_require__.add({
|
|
|
3196
3193
|
return volume_1.toUnixTimestamp;
|
|
3197
3194
|
}
|
|
3198
3195
|
});
|
|
3199
|
-
var Stats_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3196
|
+
var Stats_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Stats.js");
|
|
3200
3197
|
Object.defineProperty(exports, "Stats", {
|
|
3201
3198
|
enumerable: true,
|
|
3202
3199
|
get: function() {
|
|
3203
3200
|
return Stats_1.default;
|
|
3204
3201
|
}
|
|
3205
3202
|
});
|
|
3206
|
-
var Dirent_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3203
|
+
var Dirent_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dirent.js");
|
|
3207
3204
|
Object.defineProperty(exports, "Dirent", {
|
|
3208
3205
|
enumerable: true,
|
|
3209
3206
|
get: function() {
|
|
3210
3207
|
return Dirent_1.default;
|
|
3211
3208
|
}
|
|
3212
3209
|
});
|
|
3213
|
-
var StatFs_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3210
|
+
var StatFs_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/StatFs.js");
|
|
3214
3211
|
Object.defineProperty(exports, "StatFs", {
|
|
3215
3212
|
enumerable: true,
|
|
3216
3213
|
get: function() {
|
|
3217
3214
|
return StatFs_1.default;
|
|
3218
3215
|
}
|
|
3219
3216
|
});
|
|
3220
|
-
var FileHandle_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3217
|
+
var FileHandle_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/FileHandle.js");
|
|
3221
3218
|
Object.defineProperty(exports, "FileHandle", {
|
|
3222
3219
|
enumerable: true,
|
|
3223
3220
|
get: function() {
|
|
3224
3221
|
return FileHandle_1.FileHandle;
|
|
3225
3222
|
}
|
|
3226
3223
|
});
|
|
3227
|
-
var Dir_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3224
|
+
var Dir_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dir.js");
|
|
3228
3225
|
Object.defineProperty(exports, "Dir", {
|
|
3229
3226
|
enumerable: true,
|
|
3230
3227
|
get: function() {
|
|
3231
3228
|
return Dir_1.Dir;
|
|
3232
3229
|
}
|
|
3233
3230
|
});
|
|
3234
|
-
var FsPromises_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3231
|
+
var FsPromises_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/FsPromises.js");
|
|
3235
3232
|
Object.defineProperty(exports, "FsPromises", {
|
|
3236
3233
|
enumerable: true,
|
|
3237
3234
|
get: function() {
|
|
3238
3235
|
return FsPromises_1.FsPromises;
|
|
3239
3236
|
}
|
|
3240
3237
|
});
|
|
3241
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3242
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3243
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3244
|
-
var fsCallbackApiList_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3238
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/options.js"), exports);
|
|
3239
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js"), exports);
|
|
3240
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/glob.js"), exports);
|
|
3241
|
+
var fsCallbackApiList_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/lists/fsCallbackApiList.js");
|
|
3245
3242
|
Object.defineProperty(exports, "fsCallbackApiList", {
|
|
3246
3243
|
enumerable: true,
|
|
3247
3244
|
get: function() {
|
|
3248
3245
|
return fsCallbackApiList_1.fsCallbackApiList;
|
|
3249
3246
|
}
|
|
3250
3247
|
});
|
|
3251
|
-
var fsSynchronousApiList_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3248
|
+
var fsSynchronousApiList_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/lists/fsSynchronousApiList.js");
|
|
3252
3249
|
Object.defineProperty(exports, "fsSynchronousApiList", {
|
|
3253
3250
|
enumerable: true,
|
|
3254
3251
|
get: function() {
|
|
3255
3252
|
return fsSynchronousApiList_1.fsSynchronousApiList;
|
|
3256
3253
|
}
|
|
3257
3254
|
});
|
|
3258
|
-
var fsCommonObjectsList_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3255
|
+
var fsCommonObjectsList_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/lists/fsCommonObjectsList.js");
|
|
3259
3256
|
Object.defineProperty(exports, "fsCommonObjectsList", {
|
|
3260
3257
|
enumerable: true,
|
|
3261
3258
|
get: function() {
|
|
@@ -3263,7 +3260,7 @@ __webpack_require__.add({
|
|
|
3263
3260
|
}
|
|
3264
3261
|
});
|
|
3265
3262
|
},
|
|
3266
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3263
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/lists/fsCallbackApiList.js" (__unused_rspack_module, exports) {
|
|
3267
3264
|
Object.defineProperty(exports, "__esModule", {
|
|
3268
3265
|
value: true
|
|
3269
3266
|
});
|
|
@@ -3320,7 +3317,7 @@ __webpack_require__.add({
|
|
|
3320
3317
|
'writeFile'
|
|
3321
3318
|
];
|
|
3322
3319
|
},
|
|
3323
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3320
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/lists/fsCommonObjectsList.js" (__unused_rspack_module, exports) {
|
|
3324
3321
|
Object.defineProperty(exports, "__esModule", {
|
|
3325
3322
|
value: true
|
|
3326
3323
|
});
|
|
@@ -3341,7 +3338,7 @@ __webpack_require__.add({
|
|
|
3341
3338
|
'WriteStream'
|
|
3342
3339
|
];
|
|
3343
3340
|
},
|
|
3344
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3341
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/lists/fsSynchronousApiList.js" (__unused_rspack_module, exports) {
|
|
3345
3342
|
Object.defineProperty(exports, "__esModule", {
|
|
3346
3343
|
value: true
|
|
3347
3344
|
});
|
|
@@ -3390,7 +3387,7 @@ __webpack_require__.add({
|
|
|
3390
3387
|
'writevSync'
|
|
3391
3388
|
];
|
|
3392
3389
|
},
|
|
3393
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3390
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/options.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
3394
3391
|
Object.defineProperty(exports, "__esModule", {
|
|
3395
3392
|
value: true
|
|
3396
3393
|
});
|
|
@@ -3398,8 +3395,8 @@ __webpack_require__.add({
|
|
|
3398
3395
|
exports.getOptions = getOptions;
|
|
3399
3396
|
exports.optsGenerator = optsGenerator;
|
|
3400
3397
|
exports.optsAndCbGenerator = optsAndCbGenerator;
|
|
3401
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
3402
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3398
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
3399
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js");
|
|
3403
3400
|
const mkdirDefaults = {
|
|
3404
3401
|
mode: 511,
|
|
3405
3402
|
recursive: false
|
|
@@ -3518,7 +3515,7 @@ __webpack_require__.add({
|
|
|
3518
3515
|
};
|
|
3519
3516
|
exports.getWriteFileOptions = optsGenerator(exports.writeFileDefaults);
|
|
3520
3517
|
},
|
|
3521
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3518
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
3522
3519
|
Object.defineProperty(exports, "__esModule", {
|
|
3523
3520
|
value: true
|
|
3524
3521
|
});
|
|
@@ -3535,10 +3532,10 @@ __webpack_require__.add({
|
|
|
3535
3532
|
exports.streamToBuffer = streamToBuffer;
|
|
3536
3533
|
exports.bufferToEncoding = bufferToEncoding;
|
|
3537
3534
|
exports.isReadableStream = isReadableStream;
|
|
3538
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
3539
|
-
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3540
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3541
|
-
const fs_core_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
3535
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
3536
|
+
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
3537
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
3538
|
+
const fs_core_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/index.js");
|
|
3542
3539
|
function promisify(fs, fn, getResult = (input)=>input) {
|
|
3543
3540
|
return (...args)=>new Promise((resolve, reject)=>{
|
|
3544
3541
|
fs[fn].bind(fs)(...args, (error, result)=>{
|
|
@@ -3779,7 +3776,7 @@ __webpack_require__.add({
|
|
|
3779
3776
|
return null !== stream && 'object' == typeof stream && 'function' == typeof stream.pipe && 'function' == typeof stream.on && true === stream.readable;
|
|
3780
3777
|
}
|
|
3781
3778
|
},
|
|
3782
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3779
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/volume.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
3783
3780
|
Object.defineProperty(exports, "__esModule", {
|
|
3784
3781
|
value: true
|
|
3785
3782
|
});
|
|
@@ -3787,27 +3784,27 @@ __webpack_require__.add({
|
|
|
3787
3784
|
exports.pathToSteps = pathToSteps;
|
|
3788
3785
|
exports.dataToStr = dataToStr;
|
|
3789
3786
|
exports.toUnixTimestamp = toUnixTimestamp;
|
|
3790
|
-
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3791
|
-
const fs_core_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
3792
|
-
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.
|
|
3793
|
-
const Stats_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3794
|
-
const Dirent_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3795
|
-
const StatFs_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3796
|
-
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3797
|
-
const setTimeoutUnref_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
3798
|
-
const stream_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3799
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
3800
|
-
const events_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3801
|
-
const FileHandle_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3802
|
-
const util_2 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3803
|
-
const FsPromises_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3804
|
-
const fs_print_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-print@4.
|
|
3805
|
-
const fsSnapshot = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
3806
|
-
const fs_node_utils_2 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
3807
|
-
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.
|
|
3808
|
-
const options_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3809
|
-
const util_3 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3810
|
-
const Dir_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
3787
|
+
const path_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js");
|
|
3788
|
+
const fs_core_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/index.js");
|
|
3789
|
+
const util_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/util.js");
|
|
3790
|
+
const Stats_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Stats.js");
|
|
3791
|
+
const Dirent_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dirent.js");
|
|
3792
|
+
const StatFs_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/StatFs.js");
|
|
3793
|
+
const buffer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js");
|
|
3794
|
+
const setTimeoutUnref_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/setTimeoutUnref.js");
|
|
3795
|
+
const stream_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/stream.js");
|
|
3796
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
3797
|
+
const events_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/events.js");
|
|
3798
|
+
const FileHandle_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/FileHandle.js");
|
|
3799
|
+
const util_2 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/util.js");
|
|
3800
|
+
const FsPromises_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/FsPromises.js");
|
|
3801
|
+
const fs_print_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-print@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-print/lib/index.js");
|
|
3802
|
+
const fsSnapshot = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/index.js");
|
|
3803
|
+
const fs_node_utils_2 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
3804
|
+
const errors = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
|
|
3805
|
+
const options_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/options.js");
|
|
3806
|
+
const util_3 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/util.js");
|
|
3807
|
+
const Dir_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/Dir.js");
|
|
3811
3808
|
const resolveCrossPlatform = path_1.resolve;
|
|
3812
3809
|
const { O_SYMLINK, F_OK, R_OK, W_OK, X_OK, COPYFILE_EXCL, COPYFILE_FICLONE_FORCE } = fs_node_utils_1.constants;
|
|
3813
3810
|
path_1.posix ? path_1.posix.sep : path_1.sep;
|
|
@@ -4609,7 +4606,7 @@ __webpack_require__.add({
|
|
|
4609
4606
|
};
|
|
4610
4607
|
this.globSync = (pattern, options = {})=>this._globSync(pattern, options);
|
|
4611
4608
|
this._globSync = (pattern, options = {})=>{
|
|
4612
|
-
const { globSync } = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
4609
|
+
const { globSync } = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/glob.js");
|
|
4613
4610
|
return globSync(this, pattern, options);
|
|
4614
4611
|
};
|
|
4615
4612
|
this._opendir = (filename, options)=>{
|
|
@@ -4938,8 +4935,8 @@ __webpack_require__.add({
|
|
|
4938
4935
|
}
|
|
4939
4936
|
}
|
|
4940
4937
|
exports.Volume = Volume;
|
|
4941
|
-
Volume.fromJSON = (json, cwd)=>new Volume(fs_core_1.Superblock.fromJSON(json, cwd));
|
|
4942
|
-
Volume.fromNestedJSON = (json, cwd)=>new Volume(fs_core_1.Superblock.fromNestedJSON(json, cwd));
|
|
4938
|
+
Volume.fromJSON = (json, cwd, opts)=>new Volume(fs_core_1.Superblock.fromJSON(json, cwd, opts));
|
|
4939
|
+
Volume.fromNestedJSON = (json, cwd, opts)=>new Volume(fs_core_1.Superblock.fromNestedJSON(json, cwd, opts));
|
|
4943
4940
|
function emitStop(self) {
|
|
4944
4941
|
self.emit('stop');
|
|
4945
4942
|
}
|
|
@@ -4996,6 +4993,7 @@ __webpack_require__.add({
|
|
|
4996
4993
|
if (void 0 === options.highWaterMark) options.highWaterMark = 65536;
|
|
4997
4994
|
stream_1.Readable.call(this, options);
|
|
4998
4995
|
this.path = (0, util_3.pathToFilename)(path);
|
|
4996
|
+
this._fileHandle = options.fd && 'number' != typeof options.fd ? options.fd : null;
|
|
4999
4997
|
this.fd = void 0 === options.fd ? null : 'number' != typeof options.fd ? options.fd.fd : options.fd;
|
|
5000
4998
|
this.flags = void 0 === options.flags ? 'r' : options.flags;
|
|
5001
4999
|
this.mode = void 0 === options.mode ? 438 : options.mode;
|
|
@@ -5075,7 +5073,8 @@ __webpack_require__.add({
|
|
|
5075
5073
|
}
|
|
5076
5074
|
if ('boolean' == typeof this._readableState?.closed) this._readableState.closed = true;
|
|
5077
5075
|
else this.closed = true;
|
|
5078
|
-
this.
|
|
5076
|
+
if (this._fileHandle) this._fileHandle.close().then(()=>this.emit('close'), (er)=>this.emit('error', er));
|
|
5077
|
+
else this._vol.close(this.fd, (er)=>{
|
|
5079
5078
|
if (er) this.emit('error', er);
|
|
5080
5079
|
else this.emit('close');
|
|
5081
5080
|
});
|
|
@@ -5092,6 +5091,7 @@ __webpack_require__.add({
|
|
|
5092
5091
|
options = Object.assign({}, (0, options_1.getOptions)(options, {}));
|
|
5093
5092
|
stream_1.Writable.call(this, options);
|
|
5094
5093
|
this.path = (0, util_3.pathToFilename)(path);
|
|
5094
|
+
this._fileHandle = options.fd && 'number' != typeof options.fd ? options.fd : null;
|
|
5095
5095
|
this.fd = void 0 === options.fd ? null : 'number' != typeof options.fd ? options.fd.fd : options.fd;
|
|
5096
5096
|
this.flags = void 0 === options.flags ? 'w' : options.flags;
|
|
5097
5097
|
this.mode = void 0 === options.mode ? 438 : options.mode;
|
|
@@ -5171,7 +5171,8 @@ __webpack_require__.add({
|
|
|
5171
5171
|
}
|
|
5172
5172
|
if ('boolean' == typeof this._writableState?.closed) this._writableState.closed = true;
|
|
5173
5173
|
else this.closed = true;
|
|
5174
|
-
this.
|
|
5174
|
+
if (this._fileHandle) this._fileHandle.close().then(()=>this.emit('close'), (er)=>this.emit('error', er));
|
|
5175
|
+
else this._vol.close(this.fd, (er)=>{
|
|
5175
5176
|
if (er) this.emit('error', er);
|
|
5176
5177
|
else this.emit('close');
|
|
5177
5178
|
});
|
|
@@ -5282,13 +5283,10 @@ __webpack_require__.add({
|
|
|
5282
5283
|
}
|
|
5283
5284
|
exports.FSWatcher = FSWatcher;
|
|
5284
5285
|
},
|
|
5285
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-print@4.
|
|
5286
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5287
|
-
value: true
|
|
5288
|
-
});
|
|
5286
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-print@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-print/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
5289
5287
|
exports.toTreeSync = void 0;
|
|
5290
5288
|
const tree_dump_1 = __webpack_require__("./node_modules/.pnpm/tree-dump@1.1.0_tslib@2.8.1/node_modules/tree-dump/lib/index.js");
|
|
5291
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
5289
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
5292
5290
|
const toTreeSync = (fs, opts = {})=>{
|
|
5293
5291
|
const separator = opts.separator || '/';
|
|
5294
5292
|
let dir = opts.dir || separator;
|
|
@@ -5322,10 +5320,7 @@ __webpack_require__.add({
|
|
|
5322
5320
|
};
|
|
5323
5321
|
exports.toTreeSync = toTreeSync;
|
|
5324
5322
|
},
|
|
5325
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5326
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5327
|
-
value: true
|
|
5328
|
-
});
|
|
5323
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/async.js" (__unused_rspack_module, exports) {
|
|
5329
5324
|
exports.fromSnapshot = exports.toSnapshot = void 0;
|
|
5330
5325
|
const toSnapshot = async ({ fs, path = '/', separator = '/' })=>{
|
|
5331
5326
|
const stats = await fs.lstat(path);
|
|
@@ -5398,16 +5393,16 @@ __webpack_require__.add({
|
|
|
5398
5393
|
};
|
|
5399
5394
|
exports.fromSnapshot = fromSnapshot;
|
|
5400
5395
|
},
|
|
5401
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5396
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/binary.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
5402
5397
|
Object.defineProperty(exports, "__esModule", {
|
|
5403
5398
|
value: true
|
|
5404
5399
|
});
|
|
5405
5400
|
exports.fromBinarySnapshot = exports.toBinarySnapshot = exports.fromBinarySnapshotSync = exports.toBinarySnapshotSync = void 0;
|
|
5406
5401
|
const CborEncoder_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/cbor/CborEncoder.js");
|
|
5407
5402
|
const CborDecoder_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/cbor/CborDecoder.js");
|
|
5408
|
-
const sync_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5409
|
-
const async_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5410
|
-
const shared_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5403
|
+
const sync_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/sync.js");
|
|
5404
|
+
const async_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/async.js");
|
|
5405
|
+
const shared_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/shared.js");
|
|
5411
5406
|
const encoder = new CborEncoder_1.CborEncoder(shared_1.writer);
|
|
5412
5407
|
const decoder = new CborDecoder_1.CborDecoder();
|
|
5413
5408
|
const toBinarySnapshotSync = (options)=>{
|
|
@@ -5431,31 +5426,31 @@ __webpack_require__.add({
|
|
|
5431
5426
|
};
|
|
5432
5427
|
exports.fromBinarySnapshot = fromBinarySnapshot;
|
|
5433
5428
|
},
|
|
5434
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5429
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/constants.js" (__unused_rspack_module, exports) {
|
|
5435
5430
|
Object.defineProperty(exports, "__esModule", {
|
|
5436
5431
|
value: true
|
|
5437
5432
|
});
|
|
5438
5433
|
},
|
|
5439
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5434
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
5440
5435
|
Object.defineProperty(exports, "__esModule", {
|
|
5441
5436
|
value: true
|
|
5442
5437
|
});
|
|
5443
5438
|
const tslib_1 = __webpack_require__("./node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs");
|
|
5444
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5445
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5446
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5447
|
-
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5439
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/constants.js"), exports);
|
|
5440
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/sync.js"), exports);
|
|
5441
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/binary.js"), exports);
|
|
5442
|
+
tslib_1.__exportStar(__webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/json.js"), exports);
|
|
5448
5443
|
},
|
|
5449
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5444
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/json.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
5450
5445
|
Object.defineProperty(exports, "__esModule", {
|
|
5451
5446
|
value: true
|
|
5452
5447
|
});
|
|
5453
5448
|
exports.fromJsonSnapshot = exports.toJsonSnapshot = exports.fromJsonSnapshotSync = exports.toJsonSnapshotSync = void 0;
|
|
5454
5449
|
const JsonEncoder_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/json/JsonEncoder.js");
|
|
5455
5450
|
const JsonDecoder_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/json/JsonDecoder.js");
|
|
5456
|
-
const sync_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5457
|
-
const async_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5458
|
-
const shared_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5451
|
+
const sync_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/sync.js");
|
|
5452
|
+
const async_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/async.js");
|
|
5453
|
+
const shared_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/shared.js");
|
|
5459
5454
|
const encoder = new JsonEncoder_1.JsonEncoder(shared_1.writer);
|
|
5460
5455
|
const decoder = new JsonDecoder_1.JsonDecoder();
|
|
5461
5456
|
const toJsonSnapshotSync = (options)=>{
|
|
@@ -5479,12 +5474,12 @@ __webpack_require__.add({
|
|
|
5479
5474
|
};
|
|
5480
5475
|
exports.fromJsonSnapshot = fromJsonSnapshot;
|
|
5481
5476
|
},
|
|
5482
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5477
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/shared.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
5483
5478
|
exports.writer = void 0;
|
|
5484
5479
|
const Writer_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+buffers@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/buffers/lib/Writer.js");
|
|
5485
5480
|
exports.writer = new Writer_1.Writer(32768);
|
|
5486
5481
|
},
|
|
5487
|
-
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.
|
|
5482
|
+
"./node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/sync.js" (__unused_rspack_module, exports) {
|
|
5488
5483
|
Object.defineProperty(exports, "__esModule", {
|
|
5489
5484
|
value: true
|
|
5490
5485
|
});
|
|
@@ -6537,10 +6532,7 @@ __webpack_require__.add({
|
|
|
6537
6532
|
exports.CborEncoderFast = CborEncoderFast;
|
|
6538
6533
|
},
|
|
6539
6534
|
"./node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/json/JsonDecoder.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
6540
|
-
|
|
6541
|
-
value: true
|
|
6542
|
-
});
|
|
6543
|
-
exports.JsonDecoder = exports.readKey = void 0;
|
|
6535
|
+
exports.JsonDecoder = exports.Y = void 0;
|
|
6544
6536
|
const decodeUtf8_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+buffers@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/buffers/lib/utf8/decodeUtf8/index.js");
|
|
6545
6537
|
const Reader_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+buffers@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/buffers/lib/Reader.js");
|
|
6546
6538
|
const fromBase64Bin_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+base64@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/base64/lib/fromBase64Bin.js");
|
|
@@ -6637,7 +6629,7 @@ __webpack_require__.add({
|
|
|
6637
6629
|
reader.x = x;
|
|
6638
6630
|
return fromCharCode.apply(String, points);
|
|
6639
6631
|
};
|
|
6640
|
-
exports.
|
|
6632
|
+
exports.Y = readKey;
|
|
6641
6633
|
class JsonDecoder {
|
|
6642
6634
|
constructor(){
|
|
6643
6635
|
this.reader = new Reader_1.Reader();
|
|
@@ -6999,7 +6991,7 @@ __webpack_require__.add({
|
|
|
6999
6991
|
this.skipWhitespace();
|
|
7000
6992
|
char = uint8[reader.x++];
|
|
7001
6993
|
if (0x22 !== char) throw new Error('Invalid JSON');
|
|
7002
|
-
const key = (0, exports.
|
|
6994
|
+
const key = (0, exports.Y)(reader);
|
|
7003
6995
|
if ('__proto__' === key) throw new Error('Invalid JSON');
|
|
7004
6996
|
this.skipWhitespace();
|
|
7005
6997
|
if (0x3a !== reader.u8()) throw new Error('Invalid JSON');
|
|
@@ -7333,10 +7325,7 @@ __webpack_require__.add({
|
|
|
7333
7325
|
}
|
|
7334
7326
|
},
|
|
7335
7327
|
"./node_modules/.pnpm/glob-to-regex.js@1.2.0_tslib@2.8.1/node_modules/glob-to-regex.js/lib/index.js" (__unused_rspack_module, exports) {
|
|
7336
|
-
|
|
7337
|
-
value: true
|
|
7338
|
-
});
|
|
7339
|
-
exports.toMatcher = exports.toRegex = void 0;
|
|
7328
|
+
exports.toRegex = void 0;
|
|
7340
7329
|
const escapeRe = (ch)=>/[.^$+{}()|\\]/.test(ch) ? `\\${ch}` : ch;
|
|
7341
7330
|
const parseExtGlob = (pattern, startIdx, prefix, options)=>{
|
|
7342
7331
|
let i = startIdx;
|
|
@@ -7517,37 +7506,21 @@ __webpack_require__.add({
|
|
|
7517
7506
|
return new RegExp('^' + regexStr + '$', flags);
|
|
7518
7507
|
};
|
|
7519
7508
|
exports.toRegex = toRegex;
|
|
7520
|
-
const isRegExp = /^\/(.{1,4096})\/([gimsuy]{0,6})$/;
|
|
7521
|
-
const toMatcher = (pattern, options)=>{
|
|
7522
|
-
const regexes = [];
|
|
7523
|
-
const patterns = Array.isArray(pattern) ? pattern : [
|
|
7524
|
-
pattern
|
|
7525
|
-
];
|
|
7526
|
-
for (const pat of patterns)if ('string' == typeof pat) {
|
|
7527
|
-
const match = isRegExp.exec(pat);
|
|
7528
|
-
if (match) {
|
|
7529
|
-
const [, expr, flags] = match;
|
|
7530
|
-
regexes.push(new RegExp(expr, flags));
|
|
7531
|
-
} else regexes.push((0, exports.toRegex)(pat, options));
|
|
7532
|
-
} else regexes.push(pat);
|
|
7533
|
-
return regexes.length ? new Function('p', 'return ' + regexes.map((r)=>r + '.test(p)').join('||')) : ()=>false;
|
|
7534
|
-
};
|
|
7535
|
-
exports.toMatcher = toMatcher;
|
|
7536
7509
|
},
|
|
7537
|
-
"./node_modules/.pnpm/memfs@4.
|
|
7510
|
+
"./node_modules/.pnpm/memfs@4.57.1_tslib@2.8.1/node_modules/memfs/lib/index.js" (module, exports, __webpack_require__) {
|
|
7538
7511
|
Object.defineProperty(exports, "__esModule", {
|
|
7539
7512
|
value: true
|
|
7540
7513
|
});
|
|
7541
7514
|
exports.memfs = exports.fs = exports.vol = exports.Volume = void 0;
|
|
7542
7515
|
exports.createFsFromVolume = createFsFromVolume;
|
|
7543
|
-
const fs_node_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.
|
|
7516
|
+
const fs_node_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node/lib/index.js");
|
|
7544
7517
|
Object.defineProperty(exports, "Volume", {
|
|
7545
7518
|
enumerable: true,
|
|
7546
7519
|
get: function() {
|
|
7547
7520
|
return fs_node_1.Volume;
|
|
7548
7521
|
}
|
|
7549
7522
|
});
|
|
7550
|
-
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.
|
|
7523
|
+
const fs_node_utils_1 = __webpack_require__("./node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
|
|
7551
7524
|
const { F_OK, R_OK, W_OK, X_OK } = fs_node_utils_1.constants;
|
|
7552
7525
|
exports.vol = new fs_node_1.Volume();
|
|
7553
7526
|
function createFsFromVolume(vol) {
|
|
@@ -7580,8 +7553,14 @@ __webpack_require__.add({
|
|
|
7580
7553
|
return fs;
|
|
7581
7554
|
}
|
|
7582
7555
|
exports.fs = createFsFromVolume(exports.vol);
|
|
7583
|
-
const memfs = (json = {},
|
|
7584
|
-
const
|
|
7556
|
+
const memfs = (json = {}, cwdOrOpts = '/')=>{
|
|
7557
|
+
const opts = 'string' == typeof cwdOrOpts ? {
|
|
7558
|
+
cwd: cwdOrOpts
|
|
7559
|
+
} : cwdOrOpts;
|
|
7560
|
+
const cwd = opts.cwd ?? (opts.process ? void 0 : '/');
|
|
7561
|
+
const vol = fs_node_1.Volume.fromNestedJSON(json, cwd, {
|
|
7562
|
+
process: opts.process
|
|
7563
|
+
});
|
|
7585
7564
|
const fs = createFsFromVolume(vol);
|
|
7586
7565
|
return {
|
|
7587
7566
|
fs,
|
|
@@ -7832,25 +7811,25 @@ __webpack_require__.add({
|
|
|
7832
7811
|
exports.printTree = printTree;
|
|
7833
7812
|
},
|
|
7834
7813
|
async_hooks (module) {
|
|
7835
|
-
module.exports =
|
|
7814
|
+
module.exports = __rspack_createRequire_require("async_hooks");
|
|
7836
7815
|
},
|
|
7837
7816
|
"node:buffer" (module) {
|
|
7838
|
-
module.exports =
|
|
7817
|
+
module.exports = __rspack_createRequire_require("node:buffer");
|
|
7839
7818
|
},
|
|
7840
7819
|
"node:events" (module) {
|
|
7841
|
-
module.exports =
|
|
7820
|
+
module.exports = __rspack_createRequire_require("node:events");
|
|
7842
7821
|
},
|
|
7843
|
-
"node:path?
|
|
7844
|
-
module.exports =
|
|
7822
|
+
"node:path?435f" (module) {
|
|
7823
|
+
module.exports = __rspack_createRequire_require("node:path");
|
|
7845
7824
|
},
|
|
7846
7825
|
"node:stream" (module) {
|
|
7847
|
-
module.exports =
|
|
7826
|
+
module.exports = __rspack_createRequire_require("node:stream");
|
|
7848
7827
|
},
|
|
7849
7828
|
process (module) {
|
|
7850
|
-
module.exports =
|
|
7829
|
+
module.exports = __rspack_createRequire_require("process");
|
|
7851
7830
|
},
|
|
7852
7831
|
url (module) {
|
|
7853
|
-
module.exports =
|
|
7832
|
+
module.exports = __rspack_createRequire_require("url");
|
|
7854
7833
|
},
|
|
7855
7834
|
"./node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs" (__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
7856
7835
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -8492,16 +8471,12 @@ function getPaths(context) {
|
|
|
8492
8471
|
if (false === compilation.options.devServer) continue;
|
|
8493
8472
|
const outputPath = compilation.getPath(compilation.outputOptions.path || "");
|
|
8494
8473
|
const publicPath = options.publicPath ? compilation.getPath(options.publicPath) : compilation.outputOptions.publicPath ? compilation.getPath(compilation.outputOptions.publicPath) : "";
|
|
8495
|
-
const assetsInfo = new Map(compilation.getAssets().map((asset)=>[
|
|
8496
|
-
asset.name,
|
|
8497
|
-
asset.info
|
|
8498
|
-
]));
|
|
8499
8474
|
const { outputFileSystem } = compilation.compiler;
|
|
8500
8475
|
publicPaths.push({
|
|
8476
|
+
compilation,
|
|
8501
8477
|
outputPath,
|
|
8502
8478
|
outputFileSystem,
|
|
8503
|
-
publicPath
|
|
8504
|
-
assetsInfo
|
|
8479
|
+
publicPath
|
|
8505
8480
|
});
|
|
8506
8481
|
}
|
|
8507
8482
|
return publicPaths;
|
|
@@ -8566,7 +8541,7 @@ function getFilenameFromUrl(context, url) {
|
|
|
8566
8541
|
} catch {
|
|
8567
8542
|
return;
|
|
8568
8543
|
}
|
|
8569
|
-
for (const { publicPath, outputPath,
|
|
8544
|
+
for (const { compilation, publicPath, outputPath, outputFileSystem } of paths){
|
|
8570
8545
|
let filename;
|
|
8571
8546
|
let publicPathObject;
|
|
8572
8547
|
try {
|
|
@@ -8580,6 +8555,18 @@ function getFilenameFromUrl(context, url) {
|
|
|
8580
8555
|
if (pathname.includes("\0")) throw new FilenameError("Bad Request", 400);
|
|
8581
8556
|
if (UP_PATH_REGEXP.test(node_path.normalize(`./${pathname}`))) throw new FilenameError("Forbidden", 403);
|
|
8582
8557
|
filename = node_path.join(outputPath, pathname.slice(publicPathPathname.length));
|
|
8558
|
+
let immutable;
|
|
8559
|
+
const createExtra = (stats)=>({
|
|
8560
|
+
get immutable () {
|
|
8561
|
+
if (void 0 === immutable) {
|
|
8562
|
+
const assetName = pathname.slice(publicPathPathname.length);
|
|
8563
|
+
immutable = Boolean(compilation.getAsset(assetName)?.info?.immutable);
|
|
8564
|
+
}
|
|
8565
|
+
return immutable;
|
|
8566
|
+
},
|
|
8567
|
+
outputFileSystem,
|
|
8568
|
+
stats
|
|
8569
|
+
});
|
|
8583
8570
|
const resolveIndex = (filename, visited = new Set())=>{
|
|
8584
8571
|
if (0 === index.length) return;
|
|
8585
8572
|
const nextFilename = node_path.join(filename, index[0]);
|
|
@@ -8594,14 +8581,9 @@ function getFilenameFromUrl(context, url) {
|
|
|
8594
8581
|
throw error;
|
|
8595
8582
|
}
|
|
8596
8583
|
if (stats.isDirectory()) return resolveIndex(filename, visited);
|
|
8597
|
-
const extra = {
|
|
8598
|
-
immutable: assetsInfo ? assetsInfo.get(pathname.slice(publicPathPathname.length))?.immutable : false,
|
|
8599
|
-
outputFileSystem,
|
|
8600
|
-
stats: stats
|
|
8601
|
-
};
|
|
8602
8584
|
return {
|
|
8603
8585
|
filename,
|
|
8604
|
-
extra
|
|
8586
|
+
extra: createExtra(stats)
|
|
8605
8587
|
};
|
|
8606
8588
|
};
|
|
8607
8589
|
const resolveFile = (filename)=>{
|
|
@@ -8614,14 +8596,9 @@ function getFilenameFromUrl(context, url) {
|
|
|
8614
8596
|
}
|
|
8615
8597
|
if (stats.isDirectory()) return resolveIndex(filename);
|
|
8616
8598
|
if (filename.endsWith(node_path.sep)) return;
|
|
8617
|
-
const extra = {
|
|
8618
|
-
immutable: assetsInfo ? assetsInfo.get(pathname.slice(publicPathPathname.length))?.immutable : false,
|
|
8619
|
-
outputFileSystem,
|
|
8620
|
-
stats: stats
|
|
8621
|
-
};
|
|
8622
8599
|
return {
|
|
8623
8600
|
filename,
|
|
8624
|
-
extra
|
|
8601
|
+
extra: createExtra(stats)
|
|
8625
8602
|
};
|
|
8626
8603
|
};
|
|
8627
8604
|
if (index.length > 0 && pathname.endsWith("/")) {
|
|
@@ -8912,7 +8889,7 @@ function wrapper(context) {
|
|
|
8912
8889
|
if (!getResponseHeader(res, "Accept-Ranges")) setResponseHeader(res, "Accept-Ranges", "bytes");
|
|
8913
8890
|
if (!getResponseHeader(res, "Cache-Control")) {
|
|
8914
8891
|
const { cacheControl, cacheImmutable } = context.options;
|
|
8915
|
-
const useImmutableCache =
|
|
8892
|
+
const useImmutableCache = true === cacheImmutable && extra.immutable;
|
|
8916
8893
|
let cacheControlValue;
|
|
8917
8894
|
if (useImmutableCache) cacheControlValue = `public, max-age=${Math.floor(MAX_MAX_AGE / 1000)}, immutable`;
|
|
8918
8895
|
else if (true === cacheControl) cacheControlValue = `public, max-age=${Math.floor(MAX_MAX_AGE / 1000)}`;
|
|
@@ -9070,7 +9047,7 @@ function setupHooks(context) {
|
|
|
9070
9047
|
compiler.hooks.done.tap("rspack-dev-middleware", done);
|
|
9071
9048
|
}
|
|
9072
9049
|
const utils_setupHooks = setupHooks;
|
|
9073
|
-
const memfs_lib = __webpack_require__("./node_modules/.pnpm/memfs@4.
|
|
9050
|
+
const memfs_lib = __webpack_require__("./node_modules/.pnpm/memfs@4.57.1_tslib@2.8.1/node_modules/memfs/lib/index.js");
|
|
9074
9051
|
function setupOutputFileSystem(context) {
|
|
9075
9052
|
let outputFileSystem;
|
|
9076
9053
|
if (context.options.outputFileSystem) {
|