@rsbuild/core 1.1.0-beta.0 → 1.1.0
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/bin/rsbuild.js +14 -2
- package/compiled/chokidar/index.js +76 -70
- package/compiled/css-loader/index.js +134 -126
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/http-proxy-middleware/index.d.ts +2 -0
- package/compiled/http-proxy-middleware/index.js +143 -114
- package/compiled/http-proxy-middleware/package.json +1 -1
- package/compiled/open/index.d.ts +153 -1
- package/compiled/postcss-load-config/index.js +18 -30
- package/compiled/postcss-loader/index.js +8 -8
- package/compiled/rsbuild-dev-middleware/index.js +1556 -407
- package/compiled/rspack-manifest-plugin/index.d.ts +44 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/rspack-manifest-plugin/package.json +1 -1
- package/compiled/sirv/index.js +2 -2
- package/compiled/style-loader/index.js +10 -10
- package/compiled/webpack-bundle-analyzer/index.js +239 -122
- package/compiled/ws/index.d.ts +8 -0
- package/dist/index.cjs +136 -37
- package/dist/index.js +138 -38
- package/dist-types/index.d.ts +1 -1
- package/dist-types/server/cliShortcuts.d.ts +2 -1
- package/dist-types/server/middlewares.d.ts +7 -1
- package/dist-types/types/config.d.ts +5 -0
- package/dist-types/types/plugin.d.ts +19 -3
- package/dist-types/types/rsbuild.d.ts +2 -6
- package/package.json +7 -7
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
(() => {
|
|
2
|
-
"use strict";
|
|
3
2
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
3
|
+
2261: (module) => {
|
|
4
|
+
"use strict";
|
|
5
5
|
/*!
|
|
6
6
|
* ee-first
|
|
7
7
|
* Copyright(c) 2014 Jonathan Ong
|
|
8
8
|
* MIT Licensed
|
|
9
|
-
*/
|
|
10
|
-
module.exports = first;
|
|
9
|
+
*/ module.exports = first;
|
|
11
10
|
function first(stuff, done) {
|
|
12
11
|
if (!Array.isArray(stuff))
|
|
13
12
|
throw new TypeError("arg must be an array of [ee, events...] arrays");
|
|
@@ -53,11 +52,138 @@
|
|
|
53
52
|
};
|
|
54
53
|
}
|
|
55
54
|
},
|
|
56
|
-
|
|
55
|
+
8990: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
56
|
+
"use strict";
|
|
57
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
+
exports.Dir = void 0;
|
|
59
|
+
const util_1 = __nccwpck_require__(2061);
|
|
60
|
+
const Dirent_1 = __nccwpck_require__(7650);
|
|
61
|
+
class Dir {
|
|
62
|
+
constructor(link, options) {
|
|
63
|
+
this.link = link;
|
|
64
|
+
this.options = options;
|
|
65
|
+
this.iteratorInfo = [];
|
|
66
|
+
this.path = link.getParentPath();
|
|
67
|
+
this.iteratorInfo.push(link.children[Symbol.iterator]());
|
|
68
|
+
}
|
|
69
|
+
wrapAsync(method, args, callback) {
|
|
70
|
+
(0, util_1.validateCallback)(callback);
|
|
71
|
+
setImmediate(() => {
|
|
72
|
+
let result;
|
|
73
|
+
try {
|
|
74
|
+
result = method.apply(this, args);
|
|
75
|
+
} catch (err) {
|
|
76
|
+
callback(err);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
callback(null, result);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
isFunction(x) {
|
|
83
|
+
return typeof x === "function";
|
|
84
|
+
}
|
|
85
|
+
promisify(obj, fn) {
|
|
86
|
+
return (...args) =>
|
|
87
|
+
new Promise((resolve, reject) => {
|
|
88
|
+
if (this.isFunction(obj[fn])) {
|
|
89
|
+
obj[fn].bind(obj)(...args, (error, result) => {
|
|
90
|
+
if (error) reject(error);
|
|
91
|
+
resolve(result);
|
|
92
|
+
});
|
|
93
|
+
} else {
|
|
94
|
+
reject("Not a function");
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
closeBase() {}
|
|
99
|
+
readBase(iteratorInfo) {
|
|
100
|
+
let done;
|
|
101
|
+
let value;
|
|
102
|
+
let name;
|
|
103
|
+
let link;
|
|
104
|
+
do {
|
|
105
|
+
do {
|
|
106
|
+
({ done, value } = iteratorInfo[iteratorInfo.length - 1].next());
|
|
107
|
+
if (!done) {
|
|
108
|
+
[name, link] = value;
|
|
109
|
+
} else {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
} while (name === "." || name === "..");
|
|
113
|
+
if (done) {
|
|
114
|
+
iteratorInfo.pop();
|
|
115
|
+
if (iteratorInfo.length === 0) {
|
|
116
|
+
break;
|
|
117
|
+
} else {
|
|
118
|
+
done = false;
|
|
119
|
+
}
|
|
120
|
+
} else {
|
|
121
|
+
if (this.options.recursive && link.children.size) {
|
|
122
|
+
iteratorInfo.push(link.children[Symbol.iterator]());
|
|
123
|
+
}
|
|
124
|
+
return Dirent_1.default.build(link, this.options.encoding);
|
|
125
|
+
}
|
|
126
|
+
} while (!done);
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
closeBaseAsync(callback) {
|
|
130
|
+
this.wrapAsync(this.closeBase, [], callback);
|
|
131
|
+
}
|
|
132
|
+
close(callback) {
|
|
133
|
+
if (typeof callback === "function") {
|
|
134
|
+
this.closeBaseAsync(callback);
|
|
135
|
+
} else {
|
|
136
|
+
return this.promisify(this, "closeBaseAsync")();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
closeSync() {
|
|
140
|
+
this.closeBase();
|
|
141
|
+
}
|
|
142
|
+
readBaseAsync(callback) {
|
|
143
|
+
this.wrapAsync(this.readBase, [this.iteratorInfo], callback);
|
|
144
|
+
}
|
|
145
|
+
read(callback) {
|
|
146
|
+
if (typeof callback === "function") {
|
|
147
|
+
this.readBaseAsync(callback);
|
|
148
|
+
} else {
|
|
149
|
+
return this.promisify(this, "readBaseAsync")();
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
readSync() {
|
|
153
|
+
return this.readBase(this.iteratorInfo);
|
|
154
|
+
}
|
|
155
|
+
[Symbol.asyncIterator]() {
|
|
156
|
+
const iteratorInfo = [];
|
|
157
|
+
const _this = this;
|
|
158
|
+
iteratorInfo.push(_this.link.children[Symbol.iterator]());
|
|
159
|
+
const o = {
|
|
160
|
+
readBaseAsync(callback) {
|
|
161
|
+
_this.wrapAsync(_this.readBase, [iteratorInfo], callback);
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
return {
|
|
165
|
+
async next() {
|
|
166
|
+
const dirEnt = await _this.promisify(o, "readBaseAsync")();
|
|
167
|
+
if (dirEnt !== null) {
|
|
168
|
+
return { done: false, value: dirEnt };
|
|
169
|
+
} else {
|
|
170
|
+
return { done: true, value: undefined };
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
[Symbol.asyncIterator]() {
|
|
174
|
+
throw new Error("Not implemented");
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
exports.Dir = Dir;
|
|
180
|
+
},
|
|
181
|
+
7650: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
182
|
+
"use strict";
|
|
57
183
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
184
|
exports.Dirent = void 0;
|
|
59
|
-
const constants_1 = __nccwpck_require__(
|
|
60
|
-
const encoding_1 = __nccwpck_require__(
|
|
185
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
186
|
+
const encoding_1 = __nccwpck_require__(5349);
|
|
61
187
|
const {
|
|
62
188
|
S_IFMT,
|
|
63
189
|
S_IFDIR,
|
|
@@ -72,6 +198,7 @@
|
|
|
72
198
|
constructor() {
|
|
73
199
|
this.name = "";
|
|
74
200
|
this.path = "";
|
|
201
|
+
this.parentPath = "";
|
|
75
202
|
this.mode = 0;
|
|
76
203
|
}
|
|
77
204
|
static build(link, encoding) {
|
|
@@ -80,6 +207,7 @@
|
|
|
80
207
|
dirent.name = (0, encoding_1.strToEncoding)(link.getName(), encoding);
|
|
81
208
|
dirent.mode = mode;
|
|
82
209
|
dirent.path = link.getParentPath();
|
|
210
|
+
dirent.parentPath = dirent.path;
|
|
83
211
|
return dirent;
|
|
84
212
|
}
|
|
85
213
|
_checkModeProperty(property) {
|
|
@@ -110,10 +238,11 @@
|
|
|
110
238
|
exports.Dirent = Dirent;
|
|
111
239
|
exports["default"] = Dirent;
|
|
112
240
|
},
|
|
113
|
-
|
|
241
|
+
721: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
242
|
+
"use strict";
|
|
114
243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
115
244
|
exports.Stats = void 0;
|
|
116
|
-
const constants_1 = __nccwpck_require__(
|
|
245
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
117
246
|
const {
|
|
118
247
|
S_IFMT,
|
|
119
248
|
S_IFDIR,
|
|
@@ -187,7 +316,8 @@
|
|
|
187
316
|
exports.Stats = Stats;
|
|
188
317
|
exports["default"] = Stats;
|
|
189
318
|
},
|
|
190
|
-
|
|
319
|
+
6930: (__unused_webpack_module, exports) => {
|
|
320
|
+
"use strict";
|
|
191
321
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
192
322
|
exports.constants = void 0;
|
|
193
323
|
exports.constants = {
|
|
@@ -240,14 +370,14 @@
|
|
|
240
370
|
COPYFILE_FICLONE_FORCE: 4,
|
|
241
371
|
};
|
|
242
372
|
},
|
|
243
|
-
|
|
373
|
+
5349: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
374
|
+
"use strict";
|
|
244
375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
245
|
-
exports.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
const
|
|
250
|
-
const errors = __nccwpck_require__(40);
|
|
376
|
+
exports.ENCODING_UTF8 = void 0;
|
|
377
|
+
exports.assertEncoding = assertEncoding;
|
|
378
|
+
exports.strToEncoding = strToEncoding;
|
|
379
|
+
const buffer_1 = __nccwpck_require__(1889);
|
|
380
|
+
const errors = __nccwpck_require__(6688);
|
|
251
381
|
exports.ENCODING_UTF8 = "utf8";
|
|
252
382
|
function assertEncoding(encoding) {
|
|
253
383
|
if (encoding && !buffer_1.Buffer.isEncoding(encoding))
|
|
@@ -256,28 +386,23 @@
|
|
|
256
386
|
encoding,
|
|
257
387
|
);
|
|
258
388
|
}
|
|
259
|
-
exports.assertEncoding = assertEncoding;
|
|
260
389
|
function strToEncoding(str, encoding) {
|
|
261
390
|
if (!encoding || encoding === exports.ENCODING_UTF8) return str;
|
|
262
391
|
if (encoding === "buffer") return new buffer_1.Buffer(str);
|
|
263
392
|
return new buffer_1.Buffer(str).toString(encoding);
|
|
264
393
|
}
|
|
265
|
-
exports.strToEncoding = strToEncoding;
|
|
266
394
|
},
|
|
267
|
-
|
|
395
|
+
5953: (module, exports, __nccwpck_require__) => {
|
|
396
|
+
"use strict";
|
|
268
397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
269
|
-
exports.memfs =
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
const
|
|
276
|
-
const
|
|
277
|
-
const volume_1 = __nccwpck_require__(380);
|
|
278
|
-
const constants_1 = __nccwpck_require__(55);
|
|
279
|
-
const fsSynchronousApiList_1 = __nccwpck_require__(601);
|
|
280
|
-
const fsCallbackApiList_1 = __nccwpck_require__(314);
|
|
398
|
+
exports.memfs = exports.fs = exports.vol = exports.Volume = void 0;
|
|
399
|
+
exports.createFsFromVolume = createFsFromVolume;
|
|
400
|
+
const Stats_1 = __nccwpck_require__(721);
|
|
401
|
+
const Dirent_1 = __nccwpck_require__(7650);
|
|
402
|
+
const volume_1 = __nccwpck_require__(421);
|
|
403
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
404
|
+
const fsSynchronousApiList_1 = __nccwpck_require__(5013);
|
|
405
|
+
const fsCallbackApiList_1 = __nccwpck_require__(5848);
|
|
281
406
|
const { F_OK, R_OK, W_OK, X_OK } = constants_1.constants;
|
|
282
407
|
exports.Volume = volume_1.Volume;
|
|
283
408
|
exports.vol = new volume_1.Volume();
|
|
@@ -306,7 +431,6 @@
|
|
|
306
431
|
fs.__vol = vol;
|
|
307
432
|
return fs;
|
|
308
433
|
}
|
|
309
|
-
exports.createFsFromVolume = createFsFromVolume;
|
|
310
434
|
exports.fs = createFsFromVolume(exports.vol);
|
|
311
435
|
const memfs = (json = {}, cwd = "/") => {
|
|
312
436
|
const vol = exports.Volume.fromNestedJSON(json, cwd);
|
|
@@ -320,10 +444,11 @@
|
|
|
320
444
|
);
|
|
321
445
|
module.exports.semantic = true;
|
|
322
446
|
},
|
|
323
|
-
|
|
447
|
+
1889: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
448
|
+
"use strict";
|
|
324
449
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
325
450
|
exports.bufferFrom = exports.bufferAllocUnsafe = exports.Buffer = void 0;
|
|
326
|
-
const buffer_1 = __nccwpck_require__(
|
|
451
|
+
const buffer_1 = __nccwpck_require__(4300);
|
|
327
452
|
Object.defineProperty(exports, "Buffer", {
|
|
328
453
|
enumerable: true,
|
|
329
454
|
get: function () {
|
|
@@ -339,17 +464,18 @@
|
|
|
339
464
|
const bufferFrom = buffer_1.Buffer.from || bufferV0P12Ponyfill;
|
|
340
465
|
exports.bufferFrom = bufferFrom;
|
|
341
466
|
},
|
|
342
|
-
|
|
467
|
+
6688: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
468
|
+
"use strict";
|
|
343
469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
344
|
-
exports.
|
|
345
|
-
exports.AssertionError =
|
|
346
|
-
exports.message =
|
|
470
|
+
exports.AssertionError =
|
|
347
471
|
exports.RangeError =
|
|
348
472
|
exports.TypeError =
|
|
349
473
|
exports.Error =
|
|
350
474
|
void 0;
|
|
351
|
-
|
|
352
|
-
|
|
475
|
+
exports.message = message;
|
|
476
|
+
exports.E = E;
|
|
477
|
+
const assert = __nccwpck_require__(9491);
|
|
478
|
+
const util = __nccwpck_require__(3837);
|
|
353
479
|
const kCode = typeof Symbol === "undefined" ? "_kCode" : Symbol("code");
|
|
354
480
|
const messages = {};
|
|
355
481
|
function makeNodeError(Base) {
|
|
@@ -404,11 +530,9 @@
|
|
|
404
530
|
}
|
|
405
531
|
return String(fmt.apply(null, args));
|
|
406
532
|
}
|
|
407
|
-
exports.message = message;
|
|
408
533
|
function E(sym, val) {
|
|
409
534
|
messages[sym] = typeof val === "function" ? val : String(val);
|
|
410
535
|
}
|
|
411
|
-
exports.E = E;
|
|
412
536
|
exports.Error = makeNodeError(g.Error);
|
|
413
537
|
exports.TypeError = makeNodeError(g.TypeError);
|
|
414
538
|
exports.RangeError = makeNodeError(g.RangeError);
|
|
@@ -619,25 +743,8 @@
|
|
|
619
743
|
}
|
|
620
744
|
}
|
|
621
745
|
},
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
exports.printTree = void 0;
|
|
625
|
-
const printTree = (tab = "", children) => {
|
|
626
|
-
children = children.filter(Boolean);
|
|
627
|
-
let str = "";
|
|
628
|
-
for (let i = 0; i < children.length; i++) {
|
|
629
|
-
const isLast = i >= children.length - 1;
|
|
630
|
-
const fn = children[i];
|
|
631
|
-
if (!fn) continue;
|
|
632
|
-
const child = fn(tab + `${isLast ? " " : "│"} `);
|
|
633
|
-
const branch = child ? (isLast ? "└─" : "├─") : "│ ";
|
|
634
|
-
str += `\n${tab}${branch} ${child}`;
|
|
635
|
-
}
|
|
636
|
-
return str;
|
|
637
|
-
};
|
|
638
|
-
exports.printTree = printTree;
|
|
639
|
-
},
|
|
640
|
-
332: (__unused_webpack_module, exports) => {
|
|
746
|
+
5032: (__unused_webpack_module, exports) => {
|
|
747
|
+
"use strict";
|
|
641
748
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
642
749
|
exports.newNotAllowedError =
|
|
643
750
|
exports.newTypeMismatchError =
|
|
@@ -692,14 +799,15 @@
|
|
|
692
799
|
new DOMException("Permission not granted.", "NotAllowedError");
|
|
693
800
|
exports.newNotAllowedError = newNotAllowedError;
|
|
694
801
|
},
|
|
695
|
-
|
|
802
|
+
9694: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
803
|
+
"use strict";
|
|
696
804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
697
805
|
exports.File = exports.Link = exports.Node = exports.SEP = void 0;
|
|
698
|
-
const process_1 = __nccwpck_require__(
|
|
699
|
-
const buffer_1 = __nccwpck_require__(
|
|
700
|
-
const constants_1 = __nccwpck_require__(
|
|
701
|
-
const events_1 = __nccwpck_require__(
|
|
702
|
-
const Stats_1 = __nccwpck_require__(
|
|
806
|
+
const process_1 = __nccwpck_require__(4699);
|
|
807
|
+
const buffer_1 = __nccwpck_require__(1889);
|
|
808
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
809
|
+
const events_1 = __nccwpck_require__(2361);
|
|
810
|
+
const Stats_1 = __nccwpck_require__(721);
|
|
703
811
|
const { S_IFMT, S_IFDIR, S_IFREG, S_IFLNK, O_APPEND } =
|
|
704
812
|
constants_1.constants;
|
|
705
813
|
const getuid = () => {
|
|
@@ -918,6 +1026,22 @@
|
|
|
918
1026
|
}
|
|
919
1027
|
return false;
|
|
920
1028
|
}
|
|
1029
|
+
canExecute(uid = getuid(), gid = getgid()) {
|
|
1030
|
+
if (this.perm & 1) {
|
|
1031
|
+
return true;
|
|
1032
|
+
}
|
|
1033
|
+
if (gid === this.gid) {
|
|
1034
|
+
if (this.perm & 8) {
|
|
1035
|
+
return true;
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
if (uid === this.uid) {
|
|
1039
|
+
if (this.perm & 64) {
|
|
1040
|
+
return true;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
return false;
|
|
1044
|
+
}
|
|
921
1045
|
del() {
|
|
922
1046
|
this.emit("delete", this);
|
|
923
1047
|
}
|
|
@@ -1016,14 +1140,6 @@
|
|
|
1016
1140
|
getName() {
|
|
1017
1141
|
return this.steps[this.steps.length - 1];
|
|
1018
1142
|
}
|
|
1019
|
-
walk(steps, stop = steps.length, i = 0) {
|
|
1020
|
-
if (i >= steps.length) return this;
|
|
1021
|
-
if (i >= stop) return this;
|
|
1022
|
-
const step = steps[i];
|
|
1023
|
-
const link = this.getChild(step);
|
|
1024
|
-
if (!link) return null;
|
|
1025
|
-
return link.walk(steps, stop, i + 1);
|
|
1026
|
-
}
|
|
1027
1143
|
toJSON() {
|
|
1028
1144
|
return {
|
|
1029
1145
|
steps: this.steps,
|
|
@@ -1092,10 +1208,11 @@
|
|
|
1092
1208
|
}
|
|
1093
1209
|
exports.File = File;
|
|
1094
1210
|
},
|
|
1095
|
-
|
|
1211
|
+
1812: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1212
|
+
"use strict";
|
|
1096
1213
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1097
1214
|
exports.FileHandle = void 0;
|
|
1098
|
-
const util_1 = __nccwpck_require__(
|
|
1215
|
+
const util_1 = __nccwpck_require__(2061);
|
|
1099
1216
|
class FileHandle {
|
|
1100
1217
|
constructor(fs, fd) {
|
|
1101
1218
|
this.fs = fs;
|
|
@@ -1120,6 +1237,15 @@
|
|
|
1120
1237
|
datasync() {
|
|
1121
1238
|
return (0, util_1.promisify)(this.fs, "fdatasync")(this.fd);
|
|
1122
1239
|
}
|
|
1240
|
+
readableWebStream(options) {
|
|
1241
|
+
return new ReadableStream({
|
|
1242
|
+
pull: async (controller) => {
|
|
1243
|
+
const data = await this.readFile();
|
|
1244
|
+
controller.enqueue(data);
|
|
1245
|
+
controller.close();
|
|
1246
|
+
},
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1123
1249
|
read(buffer, offset, length, position) {
|
|
1124
1250
|
return (0, util_1.promisify)(this.fs, "read", (bytesRead) => ({
|
|
1125
1251
|
bytesRead,
|
|
@@ -1173,11 +1299,12 @@
|
|
|
1173
1299
|
}
|
|
1174
1300
|
exports.FileHandle = FileHandle;
|
|
1175
1301
|
},
|
|
1176
|
-
|
|
1302
|
+
8063: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1303
|
+
"use strict";
|
|
1177
1304
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1178
1305
|
exports.FsPromises = void 0;
|
|
1179
|
-
const util_1 = __nccwpck_require__(
|
|
1180
|
-
const constants_1 = __nccwpck_require__(
|
|
1306
|
+
const util_1 = __nccwpck_require__(2061);
|
|
1307
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
1181
1308
|
class FsPromises {
|
|
1182
1309
|
constructor(fs, FileHandle) {
|
|
1183
1310
|
this.fs = fs;
|
|
@@ -1225,12 +1352,18 @@
|
|
|
1225
1352
|
"open",
|
|
1226
1353
|
(fd) => new this.FileHandle(this.fs, fd),
|
|
1227
1354
|
)(path, flags, mode);
|
|
1228
|
-
this.writeFile = (id, data, options) =>
|
|
1229
|
-
(0, util_1.
|
|
1230
|
-
|
|
1231
|
-
data
|
|
1232
|
-
|
|
1355
|
+
this.writeFile = (id, data, options) => {
|
|
1356
|
+
const dataPromise = (0, util_1.isReadableStream)(data)
|
|
1357
|
+
? (0, util_1.streamToBuffer)(data)
|
|
1358
|
+
: Promise.resolve(data);
|
|
1359
|
+
return dataPromise.then((data) =>
|
|
1360
|
+
(0, util_1.promisify)(this.fs, "writeFile")(
|
|
1361
|
+
id instanceof this.FileHandle ? id.fd : id,
|
|
1362
|
+
data,
|
|
1363
|
+
options,
|
|
1364
|
+
),
|
|
1233
1365
|
);
|
|
1366
|
+
};
|
|
1234
1367
|
this.watch = () => {
|
|
1235
1368
|
throw new Error("Not implemented");
|
|
1236
1369
|
};
|
|
@@ -1238,10 +1371,11 @@
|
|
|
1238
1371
|
}
|
|
1239
1372
|
exports.FsPromises = FsPromises;
|
|
1240
1373
|
},
|
|
1241
|
-
|
|
1374
|
+
280: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1375
|
+
"use strict";
|
|
1242
1376
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1243
1377
|
exports.FLAGS = exports.ERRSTR = void 0;
|
|
1244
|
-
const constants_1 = __nccwpck_require__(
|
|
1378
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
1245
1379
|
exports.ERRSTR = {
|
|
1246
1380
|
PATH_STR: "path must be a string or Buffer",
|
|
1247
1381
|
FD: "fd must be a file descriptor",
|
|
@@ -1290,7 +1424,8 @@
|
|
|
1290
1424
|
FLAGS[(FLAGS["xa+"] = FLAGS["ax+"])] = "xa+";
|
|
1291
1425
|
})(FLAGS || (exports.FLAGS = FLAGS = {}));
|
|
1292
1426
|
},
|
|
1293
|
-
|
|
1427
|
+
5848: (__unused_webpack_module, exports) => {
|
|
1428
|
+
"use strict";
|
|
1294
1429
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1295
1430
|
exports.fsCallbackApiList = void 0;
|
|
1296
1431
|
exports.fsCallbackApiList = [
|
|
@@ -1332,6 +1467,7 @@
|
|
|
1332
1467
|
"unlink",
|
|
1333
1468
|
"unwatchFile",
|
|
1334
1469
|
"utimes",
|
|
1470
|
+
"lutimes",
|
|
1335
1471
|
"watch",
|
|
1336
1472
|
"watchFile",
|
|
1337
1473
|
"write",
|
|
@@ -1339,7 +1475,8 @@
|
|
|
1339
1475
|
"writeFile",
|
|
1340
1476
|
];
|
|
1341
1477
|
},
|
|
1342
|
-
|
|
1478
|
+
5013: (__unused_webpack_module, exports) => {
|
|
1479
|
+
"use strict";
|
|
1343
1480
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1344
1481
|
exports.fsSynchronousApiList = void 0;
|
|
1345
1482
|
exports.fsSynchronousApiList = [
|
|
@@ -1378,12 +1515,14 @@
|
|
|
1378
1515
|
"truncateSync",
|
|
1379
1516
|
"unlinkSync",
|
|
1380
1517
|
"utimesSync",
|
|
1518
|
+
"lutimesSync",
|
|
1381
1519
|
"writeFileSync",
|
|
1382
1520
|
"writeSync",
|
|
1383
1521
|
"writevSync",
|
|
1384
1522
|
];
|
|
1385
1523
|
},
|
|
1386
|
-
|
|
1524
|
+
8395: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1525
|
+
"use strict";
|
|
1387
1526
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1388
1527
|
exports.getWriteFileOptions =
|
|
1389
1528
|
exports.writeFileDefaults =
|
|
@@ -1393,6 +1532,8 @@
|
|
|
1393
1532
|
exports.getStatOptions =
|
|
1394
1533
|
exports.getAppendFileOptsAndCb =
|
|
1395
1534
|
exports.getAppendFileOpts =
|
|
1535
|
+
exports.getOpendirOptsAndCb =
|
|
1536
|
+
exports.getOpendirOptions =
|
|
1396
1537
|
exports.getReaddirOptsAndCb =
|
|
1397
1538
|
exports.getReaddirOptions =
|
|
1398
1539
|
exports.getReadFileOptions =
|
|
@@ -1401,14 +1542,14 @@
|
|
|
1401
1542
|
exports.getDefaultOptsAndCb =
|
|
1402
1543
|
exports.getDefaultOpts =
|
|
1403
1544
|
exports.optsDefaults =
|
|
1404
|
-
exports.optsAndCbGenerator =
|
|
1405
|
-
exports.optsGenerator =
|
|
1406
|
-
exports.getOptions =
|
|
1407
1545
|
exports.getMkdirOptions =
|
|
1408
1546
|
void 0;
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1547
|
+
exports.getOptions = getOptions;
|
|
1548
|
+
exports.optsGenerator = optsGenerator;
|
|
1549
|
+
exports.optsAndCbGenerator = optsAndCbGenerator;
|
|
1550
|
+
const constants_1 = __nccwpck_require__(280);
|
|
1551
|
+
const encoding_1 = __nccwpck_require__(5349);
|
|
1552
|
+
const util_1 = __nccwpck_require__(2061);
|
|
1412
1553
|
const mkdirDefaults = { mode: 511, recursive: false };
|
|
1413
1554
|
const getMkdirOptions = (options) => {
|
|
1414
1555
|
if (typeof options === "number")
|
|
@@ -1438,18 +1579,15 @@
|
|
|
1438
1579
|
(0, encoding_1.assertEncoding)(opts.encoding);
|
|
1439
1580
|
return opts;
|
|
1440
1581
|
}
|
|
1441
|
-
exports.getOptions = getOptions;
|
|
1442
1582
|
function optsGenerator(defaults) {
|
|
1443
1583
|
return (options) => getOptions(defaults, options);
|
|
1444
1584
|
}
|
|
1445
|
-
exports.optsGenerator = optsGenerator;
|
|
1446
1585
|
function optsAndCbGenerator(getOpts) {
|
|
1447
1586
|
return (options, callback) =>
|
|
1448
1587
|
typeof options === "function"
|
|
1449
1588
|
? [getOpts(), options]
|
|
1450
1589
|
: [getOpts(options), (0, util_1.validateCallback)(callback)];
|
|
1451
1590
|
}
|
|
1452
|
-
exports.optsAndCbGenerator = optsAndCbGenerator;
|
|
1453
1591
|
exports.optsDefaults = { encoding: "utf8" };
|
|
1454
1592
|
exports.getDefaultOpts = optsGenerator(exports.optsDefaults);
|
|
1455
1593
|
exports.getDefaultOptsAndCb = optsAndCbGenerator(exports.getDefaultOpts);
|
|
@@ -1470,6 +1608,15 @@
|
|
|
1470
1608
|
exports.getReaddirOptsAndCb = optsAndCbGenerator(
|
|
1471
1609
|
exports.getReaddirOptions,
|
|
1472
1610
|
);
|
|
1611
|
+
const opendirDefaults = {
|
|
1612
|
+
encoding: "utf8",
|
|
1613
|
+
bufferSize: 32,
|
|
1614
|
+
recursive: false,
|
|
1615
|
+
};
|
|
1616
|
+
exports.getOpendirOptions = optsGenerator(opendirDefaults);
|
|
1617
|
+
exports.getOpendirOptsAndCb = optsAndCbGenerator(
|
|
1618
|
+
exports.getOpendirOptions,
|
|
1619
|
+
);
|
|
1473
1620
|
const appendFileDefaults = {
|
|
1474
1621
|
encoding: "utf8",
|
|
1475
1622
|
mode: 438,
|
|
@@ -1503,32 +1650,35 @@
|
|
|
1503
1650
|
};
|
|
1504
1651
|
exports.getWriteFileOptions = optsGenerator(exports.writeFileDefaults);
|
|
1505
1652
|
},
|
|
1506
|
-
|
|
1653
|
+
2061: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1654
|
+
"use strict";
|
|
1507
1655
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1508
1656
|
exports.unixify =
|
|
1509
|
-
exports.bufferToEncoding =
|
|
1510
1657
|
exports.getWriteSyncArgs =
|
|
1511
1658
|
exports.getWriteArgs =
|
|
1512
1659
|
exports.bufToUint8 =
|
|
1513
|
-
exports.dataToBuffer =
|
|
1514
|
-
exports.validateFd =
|
|
1515
|
-
exports.isFd =
|
|
1516
|
-
exports.flagsToNumber =
|
|
1517
|
-
exports.genRndStr6 =
|
|
1518
|
-
exports.createError =
|
|
1519
|
-
exports.pathToFilename =
|
|
1520
|
-
exports.nullCheck =
|
|
1521
|
-
exports.modeToNumber =
|
|
1522
|
-
exports.validateCallback =
|
|
1523
|
-
exports.promisify =
|
|
1524
1660
|
exports.isWin =
|
|
1525
1661
|
void 0;
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1662
|
+
exports.promisify = promisify;
|
|
1663
|
+
exports.validateCallback = validateCallback;
|
|
1664
|
+
exports.modeToNumber = modeToNumber;
|
|
1665
|
+
exports.nullCheck = nullCheck;
|
|
1666
|
+
exports.pathToFilename = pathToFilename;
|
|
1667
|
+
exports.createError = createError;
|
|
1668
|
+
exports.genRndStr6 = genRndStr6;
|
|
1669
|
+
exports.flagsToNumber = flagsToNumber;
|
|
1670
|
+
exports.isFd = isFd;
|
|
1671
|
+
exports.validateFd = validateFd;
|
|
1672
|
+
exports.streamToBuffer = streamToBuffer;
|
|
1673
|
+
exports.dataToBuffer = dataToBuffer;
|
|
1674
|
+
exports.bufferToEncoding = bufferToEncoding;
|
|
1675
|
+
exports.isReadableStream = isReadableStream;
|
|
1676
|
+
const constants_1 = __nccwpck_require__(280);
|
|
1677
|
+
const errors = __nccwpck_require__(6688);
|
|
1678
|
+
const buffer_1 = __nccwpck_require__(1889);
|
|
1679
|
+
const encoding_1 = __nccwpck_require__(5349);
|
|
1680
|
+
const buffer_2 = __nccwpck_require__(1889);
|
|
1681
|
+
const queueMicrotask_1 = __nccwpck_require__(5239);
|
|
1532
1682
|
exports.isWin = process.platform === "win32";
|
|
1533
1683
|
function promisify(fs, fn, getResult = (input) => input) {
|
|
1534
1684
|
return (...args) =>
|
|
@@ -1539,13 +1689,11 @@
|
|
|
1539
1689
|
});
|
|
1540
1690
|
});
|
|
1541
1691
|
}
|
|
1542
|
-
exports.promisify = promisify;
|
|
1543
1692
|
function validateCallback(callback) {
|
|
1544
1693
|
if (typeof callback !== "function")
|
|
1545
1694
|
throw TypeError(constants_1.ERRSTR.CB);
|
|
1546
1695
|
return callback;
|
|
1547
1696
|
}
|
|
1548
|
-
exports.validateCallback = validateCallback;
|
|
1549
1697
|
function _modeToNumber(mode, def) {
|
|
1550
1698
|
if (typeof mode === "number") return mode;
|
|
1551
1699
|
if (typeof mode === "string") return parseInt(mode, 8);
|
|
@@ -1558,7 +1706,6 @@
|
|
|
1558
1706
|
throw new TypeError(constants_1.ERRSTR.MODE_INT);
|
|
1559
1707
|
return result;
|
|
1560
1708
|
}
|
|
1561
|
-
exports.modeToNumber = modeToNumber;
|
|
1562
1709
|
function nullCheck(path, callback) {
|
|
1563
1710
|
if (("" + path).indexOf("\0") !== -1) {
|
|
1564
1711
|
const er = new Error("Path must be a string without null bytes");
|
|
@@ -1571,7 +1718,6 @@
|
|
|
1571
1718
|
}
|
|
1572
1719
|
return true;
|
|
1573
1720
|
}
|
|
1574
|
-
exports.nullCheck = nullCheck;
|
|
1575
1721
|
function getPathFromURLPosix(url) {
|
|
1576
1722
|
if (url.hostname !== "") {
|
|
1577
1723
|
throw new errors.TypeError(
|
|
@@ -1596,7 +1742,7 @@
|
|
|
1596
1742
|
function pathToFilename(path) {
|
|
1597
1743
|
if (typeof path !== "string" && !buffer_1.Buffer.isBuffer(path)) {
|
|
1598
1744
|
try {
|
|
1599
|
-
if (!(path instanceof __nccwpck_require__(
|
|
1745
|
+
if (!(path instanceof __nccwpck_require__(7310).URL))
|
|
1600
1746
|
throw new TypeError(constants_1.ERRSTR.PATH_STR);
|
|
1601
1747
|
} catch (err) {
|
|
1602
1748
|
throw new TypeError(constants_1.ERRSTR.PATH_STR);
|
|
@@ -1607,7 +1753,6 @@
|
|
|
1607
1753
|
nullCheck(pathString);
|
|
1608
1754
|
return pathString;
|
|
1609
1755
|
}
|
|
1610
|
-
exports.pathToFilename = pathToFilename;
|
|
1611
1756
|
const ENOENT = "ENOENT";
|
|
1612
1757
|
const EBADF = "EBADF";
|
|
1613
1758
|
const EINVAL = "EINVAL";
|
|
@@ -1675,13 +1820,11 @@
|
|
|
1675
1820
|
}
|
|
1676
1821
|
return error;
|
|
1677
1822
|
}
|
|
1678
|
-
exports.createError = createError;
|
|
1679
1823
|
function genRndStr6() {
|
|
1680
1824
|
const str = (Math.random() + 1).toString(36).substring(2, 8);
|
|
1681
1825
|
if (str.length === 6) return str;
|
|
1682
1826
|
else return genRndStr6();
|
|
1683
1827
|
}
|
|
1684
|
-
exports.genRndStr6 = genRndStr6;
|
|
1685
1828
|
function flagsToNumber(flags) {
|
|
1686
1829
|
if (typeof flags === "number") return flags;
|
|
1687
1830
|
if (typeof flags === "string") {
|
|
@@ -1690,22 +1833,26 @@
|
|
|
1690
1833
|
}
|
|
1691
1834
|
throw new errors.TypeError("ERR_INVALID_OPT_VALUE", "flags", flags);
|
|
1692
1835
|
}
|
|
1693
|
-
exports.flagsToNumber = flagsToNumber;
|
|
1694
1836
|
function isFd(path) {
|
|
1695
1837
|
return path >>> 0 === path;
|
|
1696
1838
|
}
|
|
1697
|
-
exports.isFd = isFd;
|
|
1698
1839
|
function validateFd(fd) {
|
|
1699
1840
|
if (!isFd(fd)) throw TypeError(constants_1.ERRSTR.FD);
|
|
1700
1841
|
}
|
|
1701
|
-
|
|
1842
|
+
function streamToBuffer(stream) {
|
|
1843
|
+
const chunks = [];
|
|
1844
|
+
return new Promise((resolve, reject) => {
|
|
1845
|
+
stream.on("data", (chunk) => chunks.push(chunk));
|
|
1846
|
+
stream.on("end", () => resolve(buffer_1.Buffer.concat(chunks)));
|
|
1847
|
+
stream.on("error", reject);
|
|
1848
|
+
});
|
|
1849
|
+
}
|
|
1702
1850
|
function dataToBuffer(data, encoding = encoding_1.ENCODING_UTF8) {
|
|
1703
1851
|
if (buffer_1.Buffer.isBuffer(data)) return data;
|
|
1704
1852
|
else if (data instanceof Uint8Array)
|
|
1705
1853
|
return (0, buffer_2.bufferFrom)(data);
|
|
1706
1854
|
else return (0, buffer_2.bufferFrom)(String(data), encoding);
|
|
1707
1855
|
}
|
|
1708
|
-
exports.dataToBuffer = dataToBuffer;
|
|
1709
1856
|
const bufToUint8 = (buf) =>
|
|
1710
1857
|
new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
1711
1858
|
exports.bufToUint8 = bufToUint8;
|
|
@@ -1790,7 +1937,15 @@
|
|
|
1790
1937
|
if (!encoding || encoding === "buffer") return buffer;
|
|
1791
1938
|
else return buffer.toString(encoding);
|
|
1792
1939
|
}
|
|
1793
|
-
|
|
1940
|
+
function isReadableStream(stream) {
|
|
1941
|
+
return (
|
|
1942
|
+
stream !== null &&
|
|
1943
|
+
typeof stream === "object" &&
|
|
1944
|
+
typeof stream.pipe === "function" &&
|
|
1945
|
+
typeof stream.on === "function" &&
|
|
1946
|
+
stream.readable === true
|
|
1947
|
+
);
|
|
1948
|
+
}
|
|
1794
1949
|
const isSeparator = (str, i) => {
|
|
1795
1950
|
let char = str[i];
|
|
1796
1951
|
return i > 0 && (char === "/" || (exports.isWin && char === "\\"));
|
|
@@ -1816,11 +1971,12 @@
|
|
|
1816
1971
|
};
|
|
1817
1972
|
exports.unixify = unixify;
|
|
1818
1973
|
},
|
|
1819
|
-
|
|
1974
|
+
4481: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1975
|
+
"use strict";
|
|
1820
1976
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1821
1977
|
exports.toTreeSync = void 0;
|
|
1822
|
-
const
|
|
1823
|
-
const util_1 = __nccwpck_require__(
|
|
1978
|
+
const tree_dump_1 = __nccwpck_require__(867);
|
|
1979
|
+
const util_1 = __nccwpck_require__(5032);
|
|
1824
1980
|
const toTreeSync = (fs, opts = {}) => {
|
|
1825
1981
|
var _a;
|
|
1826
1982
|
const separator = opts.separator || "/";
|
|
@@ -1831,7 +1987,7 @@
|
|
|
1831
1987
|
let subtree = " (...)";
|
|
1832
1988
|
if (depth > 0) {
|
|
1833
1989
|
const list = fs.readdirSync(dir, { withFileTypes: true });
|
|
1834
|
-
subtree = (0,
|
|
1990
|
+
subtree = (0, tree_dump_1.printTree)(
|
|
1835
1991
|
tab,
|
|
1836
1992
|
list.map((entry) => (tab) => {
|
|
1837
1993
|
if (entry.isDirectory()) {
|
|
@@ -1855,15 +2011,16 @@
|
|
|
1855
2011
|
};
|
|
1856
2012
|
exports.toTreeSync = toTreeSync;
|
|
1857
2013
|
},
|
|
1858
|
-
|
|
2014
|
+
4699: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
2015
|
+
"use strict";
|
|
1859
2016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1860
|
-
exports.createProcess =
|
|
2017
|
+
exports.createProcess = createProcess;
|
|
1861
2018
|
const maybeReturnProcess = () => {
|
|
1862
2019
|
if (typeof process !== "undefined") {
|
|
1863
2020
|
return process;
|
|
1864
2021
|
}
|
|
1865
2022
|
try {
|
|
1866
|
-
return __nccwpck_require__(
|
|
2023
|
+
return __nccwpck_require__(7282);
|
|
1867
2024
|
} catch (_a) {
|
|
1868
2025
|
return undefined;
|
|
1869
2026
|
}
|
|
@@ -1878,10 +2035,10 @@
|
|
|
1878
2035
|
if (!p.env) p.env = {};
|
|
1879
2036
|
return p;
|
|
1880
2037
|
}
|
|
1881
|
-
exports.createProcess = createProcess;
|
|
1882
2038
|
exports["default"] = createProcess();
|
|
1883
2039
|
},
|
|
1884
|
-
|
|
2040
|
+
5239: (__unused_webpack_module, exports) => {
|
|
2041
|
+
"use strict";
|
|
1885
2042
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1886
2043
|
exports["default"] =
|
|
1887
2044
|
typeof queueMicrotask === "function"
|
|
@@ -1891,7 +2048,8 @@
|
|
|
1891
2048
|
.then(() => cb())
|
|
1892
2049
|
.catch(() => {});
|
|
1893
2050
|
},
|
|
1894
|
-
|
|
2051
|
+
940: (__unused_webpack_module, exports) => {
|
|
2052
|
+
"use strict";
|
|
1895
2053
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1896
2054
|
let _setImmediate;
|
|
1897
2055
|
if (typeof setImmediate === "function")
|
|
@@ -1904,7 +2062,8 @@
|
|
|
1904
2062
|
);
|
|
1905
2063
|
exports["default"] = _setImmediate;
|
|
1906
2064
|
},
|
|
1907
|
-
|
|
2065
|
+
8088: (__unused_webpack_module, exports) => {
|
|
2066
|
+
"use strict";
|
|
1908
2067
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1909
2068
|
function setTimeoutUnref(callback, time, args) {
|
|
1910
2069
|
const ref = setTimeout.apply(
|
|
@@ -1917,36 +2076,35 @@
|
|
|
1917
2076
|
}
|
|
1918
2077
|
exports["default"] = setTimeoutUnref;
|
|
1919
2078
|
},
|
|
1920
|
-
|
|
2079
|
+
421: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
2080
|
+
"use strict";
|
|
1921
2081
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1922
|
-
exports.FSWatcher =
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
const
|
|
1931
|
-
const
|
|
1932
|
-
const
|
|
1933
|
-
const
|
|
1934
|
-
const
|
|
1935
|
-
const
|
|
1936
|
-
const
|
|
1937
|
-
const
|
|
1938
|
-
const
|
|
1939
|
-
const
|
|
1940
|
-
const
|
|
1941
|
-
const
|
|
1942
|
-
const
|
|
1943
|
-
const
|
|
1944
|
-
const
|
|
1945
|
-
const
|
|
1946
|
-
const
|
|
1947
|
-
const
|
|
1948
|
-
const options_1 = __nccwpck_require__(456);
|
|
1949
|
-
const util_1 = __nccwpck_require__(103);
|
|
2082
|
+
exports.FSWatcher = exports.StatWatcher = exports.Volume = void 0;
|
|
2083
|
+
exports.filenameToSteps = filenameToSteps;
|
|
2084
|
+
exports.pathToSteps = pathToSteps;
|
|
2085
|
+
exports.dataToStr = dataToStr;
|
|
2086
|
+
exports.toUnixTimestamp = toUnixTimestamp;
|
|
2087
|
+
const pathModule = __nccwpck_require__(1017);
|
|
2088
|
+
const node_1 = __nccwpck_require__(9694);
|
|
2089
|
+
const Stats_1 = __nccwpck_require__(721);
|
|
2090
|
+
const Dirent_1 = __nccwpck_require__(7650);
|
|
2091
|
+
const buffer_1 = __nccwpck_require__(1889);
|
|
2092
|
+
const setImmediate_1 = __nccwpck_require__(940);
|
|
2093
|
+
const queueMicrotask_1 = __nccwpck_require__(5239);
|
|
2094
|
+
const process_1 = __nccwpck_require__(4699);
|
|
2095
|
+
const setTimeoutUnref_1 = __nccwpck_require__(8088);
|
|
2096
|
+
const stream_1 = __nccwpck_require__(2781);
|
|
2097
|
+
const constants_1 = __nccwpck_require__(6930);
|
|
2098
|
+
const events_1 = __nccwpck_require__(2361);
|
|
2099
|
+
const encoding_1 = __nccwpck_require__(5349);
|
|
2100
|
+
const FileHandle_1 = __nccwpck_require__(1812);
|
|
2101
|
+
const util = __nccwpck_require__(3837);
|
|
2102
|
+
const FsPromises_1 = __nccwpck_require__(8063);
|
|
2103
|
+
const print_1 = __nccwpck_require__(4481);
|
|
2104
|
+
const constants_2 = __nccwpck_require__(280);
|
|
2105
|
+
const options_1 = __nccwpck_require__(8395);
|
|
2106
|
+
const util_1 = __nccwpck_require__(2061);
|
|
2107
|
+
const Dir_1 = __nccwpck_require__(8990);
|
|
1950
2108
|
const resolveCrossPlatform = pathModule.resolve;
|
|
1951
2109
|
const {
|
|
1952
2110
|
O_RDONLY,
|
|
@@ -1992,18 +2150,15 @@
|
|
|
1992
2150
|
if (!fullPathSansSlash) return [];
|
|
1993
2151
|
return fullPathSansSlash.split(sep);
|
|
1994
2152
|
}
|
|
1995
|
-
exports.filenameToSteps = filenameToSteps;
|
|
1996
2153
|
function pathToSteps(path) {
|
|
1997
2154
|
return filenameToSteps((0, util_1.pathToFilename)(path));
|
|
1998
2155
|
}
|
|
1999
|
-
exports.pathToSteps = pathToSteps;
|
|
2000
2156
|
function dataToStr(data, encoding = encoding_1.ENCODING_UTF8) {
|
|
2001
2157
|
if (buffer_1.Buffer.isBuffer(data)) return data.toString(encoding);
|
|
2002
2158
|
else if (data instanceof Uint8Array)
|
|
2003
2159
|
return (0, buffer_1.bufferFrom)(data).toString(encoding);
|
|
2004
2160
|
else return String(data);
|
|
2005
2161
|
}
|
|
2006
|
-
exports.dataToStr = dataToStr;
|
|
2007
2162
|
function toUnixTimestamp(time) {
|
|
2008
2163
|
if (typeof time === "string" && +time == time) {
|
|
2009
2164
|
return +time;
|
|
@@ -2019,7 +2174,6 @@
|
|
|
2019
2174
|
}
|
|
2020
2175
|
throw new Error("Cannot parse time: " + time);
|
|
2021
2176
|
}
|
|
2022
|
-
exports.toUnixTimestamp = toUnixTimestamp;
|
|
2023
2177
|
function validateUid(uid) {
|
|
2024
2178
|
if (typeof uid !== "number") throw TypeError(constants_2.ERRSTR.UID);
|
|
2025
2179
|
}
|
|
@@ -2084,14 +2238,10 @@
|
|
|
2084
2238
|
);
|
|
2085
2239
|
this.statWatchers = {};
|
|
2086
2240
|
this.cpSync = notImplemented;
|
|
2087
|
-
this.lutimesSync = notImplemented;
|
|
2088
2241
|
this.statfsSync = notImplemented;
|
|
2089
|
-
this.opendirSync = notImplemented;
|
|
2090
2242
|
this.cp = notImplemented;
|
|
2091
|
-
this.lutimes = notImplemented;
|
|
2092
2243
|
this.statfs = notImplemented;
|
|
2093
2244
|
this.openAsBlob = notImplemented;
|
|
2094
|
-
this.opendir = notImplemented;
|
|
2095
2245
|
this.props = Object.assign(
|
|
2096
2246
|
{ Node: node_1.Node, Link: node_1.Link, File: node_1.File },
|
|
2097
2247
|
props,
|
|
@@ -2157,6 +2307,9 @@
|
|
|
2157
2307
|
return typeof releasedFd === "number" ? releasedFd : Volume.fd--;
|
|
2158
2308
|
}
|
|
2159
2309
|
createNode(isDirectory = false, perm) {
|
|
2310
|
+
perm !== null && perm !== void 0
|
|
2311
|
+
? perm
|
|
2312
|
+
: (perm = isDirectory ? 511 : 438);
|
|
2160
2313
|
const node = new this.props.Node(this.newInoNumber(), perm);
|
|
2161
2314
|
if (isDirectory) node.setIsDirectory();
|
|
2162
2315
|
this.inodes[node.ino] = node;
|
|
@@ -2167,41 +2320,68 @@
|
|
|
2167
2320
|
delete this.inodes[node.ino];
|
|
2168
2321
|
this.releasedInos.push(node.ino);
|
|
2169
2322
|
}
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2323
|
+
walk(
|
|
2324
|
+
stepsOrFilenameOrLink,
|
|
2325
|
+
resolveSymlinks = false,
|
|
2326
|
+
checkExistence = false,
|
|
2327
|
+
checkAccess = false,
|
|
2328
|
+
funcName,
|
|
2329
|
+
) {
|
|
2330
|
+
var _a;
|
|
2331
|
+
let steps;
|
|
2332
|
+
let filename;
|
|
2333
|
+
if (stepsOrFilenameOrLink instanceof node_1.Link) {
|
|
2334
|
+
steps = stepsOrFilenameOrLink.steps;
|
|
2335
|
+
filename = sep + steps.join(sep);
|
|
2336
|
+
} else if (typeof stepsOrFilenameOrLink === "string") {
|
|
2337
|
+
steps = filenameToSteps(stepsOrFilenameOrLink);
|
|
2338
|
+
filename = stepsOrFilenameOrLink;
|
|
2339
|
+
} else {
|
|
2340
|
+
steps = stepsOrFilenameOrLink;
|
|
2341
|
+
filename = sep + steps.join(sep);
|
|
2342
|
+
}
|
|
2343
|
+
let curr = this.root;
|
|
2185
2344
|
let i = 0;
|
|
2186
2345
|
while (i < steps.length) {
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2346
|
+
let node = curr.getNode();
|
|
2347
|
+
if (node.isDirectory()) {
|
|
2348
|
+
if (checkAccess && !node.canExecute()) {
|
|
2349
|
+
throw (0, util_1.createError)(EACCES, funcName, filename);
|
|
2350
|
+
}
|
|
2351
|
+
} else {
|
|
2352
|
+
if (i < steps.length - 1)
|
|
2353
|
+
throw (0, util_1.createError)(ENOTDIR, funcName, filename);
|
|
2354
|
+
}
|
|
2355
|
+
curr =
|
|
2356
|
+
(_a = curr.getChild(steps[i])) !== null && _a !== void 0
|
|
2357
|
+
? _a
|
|
2358
|
+
: null;
|
|
2359
|
+
if (!curr)
|
|
2360
|
+
if (checkExistence)
|
|
2361
|
+
throw (0, util_1.createError)(ENOENT, funcName, filename);
|
|
2362
|
+
else return null;
|
|
2363
|
+
node = curr === null || curr === void 0 ? void 0 : curr.getNode();
|
|
2364
|
+
if (resolveSymlinks && node.isSymlink()) {
|
|
2192
2365
|
steps = node.symlink.concat(steps.slice(i + 1));
|
|
2193
|
-
|
|
2366
|
+
curr = this.root;
|
|
2194
2367
|
i = 0;
|
|
2195
2368
|
continue;
|
|
2196
2369
|
}
|
|
2197
2370
|
i++;
|
|
2198
2371
|
}
|
|
2199
|
-
return
|
|
2372
|
+
return curr;
|
|
2373
|
+
}
|
|
2374
|
+
getLink(steps) {
|
|
2375
|
+
return this.walk(steps, false, false, false);
|
|
2376
|
+
}
|
|
2377
|
+
getLinkOrThrow(filename, funcName) {
|
|
2378
|
+
return this.walk(filename, false, true, true, funcName);
|
|
2379
|
+
}
|
|
2380
|
+
getResolvedLink(filenameOrSteps) {
|
|
2381
|
+
return this.walk(filenameOrSteps, true, false, false);
|
|
2200
2382
|
}
|
|
2201
2383
|
getResolvedLinkOrThrow(filename, funcName) {
|
|
2202
|
-
|
|
2203
|
-
if (!link) throw (0, util_1.createError)(ENOENT, funcName, filename);
|
|
2204
|
-
return link;
|
|
2384
|
+
return this.walk(filename, true, true, true, funcName);
|
|
2205
2385
|
}
|
|
2206
2386
|
resolveSymlinks(link) {
|
|
2207
2387
|
return this.getResolvedLink(link.steps.slice(1));
|
|
@@ -2213,26 +2393,18 @@
|
|
|
2213
2393
|
return link;
|
|
2214
2394
|
}
|
|
2215
2395
|
getLinkParent(steps) {
|
|
2216
|
-
return this.
|
|
2396
|
+
return this.getLink(steps.slice(0, -1));
|
|
2217
2397
|
}
|
|
2218
2398
|
getLinkParentAsDirOrThrow(filenameOrSteps, funcName) {
|
|
2219
|
-
const steps =
|
|
2399
|
+
const steps = (
|
|
2220
2400
|
filenameOrSteps instanceof Array
|
|
2221
2401
|
? filenameOrSteps
|
|
2222
|
-
: filenameToSteps(filenameOrSteps)
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
ENOENT,
|
|
2227
|
-
funcName,
|
|
2228
|
-
sep + steps.join(sep),
|
|
2229
|
-
);
|
|
2402
|
+
: filenameToSteps(filenameOrSteps)
|
|
2403
|
+
).slice(0, -1);
|
|
2404
|
+
const filename = sep + steps.join(sep);
|
|
2405
|
+
const link = this.getLinkOrThrow(filename, funcName);
|
|
2230
2406
|
if (!link.getNode().isDirectory())
|
|
2231
|
-
throw (0, util_1.createError)(
|
|
2232
|
-
ENOTDIR,
|
|
2233
|
-
funcName,
|
|
2234
|
-
sep + steps.join(sep),
|
|
2235
|
-
);
|
|
2407
|
+
throw (0, util_1.createError)(ENOTDIR, funcName, filename);
|
|
2236
2408
|
return link;
|
|
2237
2409
|
}
|
|
2238
2410
|
getFileByFd(fd) {
|
|
@@ -2281,7 +2453,7 @@
|
|
|
2281
2453
|
if (path) filename = relative(path, filename);
|
|
2282
2454
|
json[filename] = asBuffer ? node.getBuffer() : node.getString();
|
|
2283
2455
|
} else if (node.isDirectory()) {
|
|
2284
|
-
this._toJSON(child, json, path);
|
|
2456
|
+
this._toJSON(child, json, path, asBuffer);
|
|
2285
2457
|
}
|
|
2286
2458
|
}
|
|
2287
2459
|
let dirPath = link.getPath();
|
|
@@ -2351,9 +2523,8 @@
|
|
|
2351
2523
|
throw (0, util_1.createError)(EMFILE, "open", link.getPath());
|
|
2352
2524
|
}
|
|
2353
2525
|
let realLink = link;
|
|
2354
|
-
if (resolveSymlinks)
|
|
2355
|
-
|
|
2356
|
-
throw (0, util_1.createError)(ENOENT, "open", link.getPath());
|
|
2526
|
+
if (resolveSymlinks)
|
|
2527
|
+
realLink = this.getResolvedLinkOrThrow(link.getPath(), "open");
|
|
2357
2528
|
const node = realLink.getNode();
|
|
2358
2529
|
if (node.isDirectory()) {
|
|
2359
2530
|
if ((flagsNum & (O_RDONLY | O_RDWR | O_WRONLY)) !== O_RDONLY)
|
|
@@ -2367,7 +2538,10 @@
|
|
|
2367
2538
|
throw (0, util_1.createError)(EACCES, "open", link.getPath());
|
|
2368
2539
|
}
|
|
2369
2540
|
}
|
|
2370
|
-
if (flagsNum &
|
|
2541
|
+
if (!(flagsNum & O_RDONLY)) {
|
|
2542
|
+
if (!node.canWrite()) {
|
|
2543
|
+
throw (0, util_1.createError)(EACCES, "open", link.getPath());
|
|
2544
|
+
}
|
|
2371
2545
|
}
|
|
2372
2546
|
const file = new this.props.File(
|
|
2373
2547
|
link,
|
|
@@ -2382,29 +2556,32 @@
|
|
|
2382
2556
|
}
|
|
2383
2557
|
openFile(filename, flagsNum, modeNum, resolveSymlinks = true) {
|
|
2384
2558
|
const steps = filenameToSteps(filename);
|
|
2385
|
-
let link
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
)
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
)
|
|
2400
|
-
|
|
2559
|
+
let link;
|
|
2560
|
+
try {
|
|
2561
|
+
link = resolveSymlinks
|
|
2562
|
+
? this.getResolvedLinkOrThrow(filename, "open")
|
|
2563
|
+
: this.getLinkOrThrow(filename, "open");
|
|
2564
|
+
if (link && flagsNum & O_CREAT && flagsNum & O_EXCL)
|
|
2565
|
+
throw (0, util_1.createError)(EEXIST, "open", filename);
|
|
2566
|
+
} catch (err) {
|
|
2567
|
+
if (err.code === ENOENT && flagsNum & O_CREAT) {
|
|
2568
|
+
const dirname = pathModule.dirname(filename);
|
|
2569
|
+
const dirLink = this.getResolvedLinkOrThrow(dirname);
|
|
2570
|
+
const dirNode = dirLink.getNode();
|
|
2571
|
+
if (!dirNode.isDirectory())
|
|
2572
|
+
throw (0, util_1.createError)(ENOTDIR, "open", filename);
|
|
2573
|
+
if (!dirNode.canExecute() || !dirNode.canWrite())
|
|
2574
|
+
throw (0, util_1.createError)(EACCES, "open", filename);
|
|
2575
|
+
modeNum !== null && modeNum !== void 0
|
|
2576
|
+
? modeNum
|
|
2577
|
+
: (modeNum = 438);
|
|
2401
2578
|
link = this.createLink(
|
|
2402
2579
|
dirLink,
|
|
2403
2580
|
steps[steps.length - 1],
|
|
2404
2581
|
false,
|
|
2405
2582
|
modeNum,
|
|
2406
2583
|
);
|
|
2407
|
-
}
|
|
2584
|
+
} else throw err;
|
|
2408
2585
|
}
|
|
2409
2586
|
if (link) return this.openLink(link, flagsNum, resolveSymlinks);
|
|
2410
2587
|
throw (0, util_1.createError)(ENOENT, "open", filename);
|
|
@@ -2563,13 +2740,10 @@
|
|
|
2563
2740
|
if (userOwnsFd) fd = id;
|
|
2564
2741
|
else {
|
|
2565
2742
|
const filename = (0, util_1.pathToFilename)(id);
|
|
2566
|
-
const
|
|
2567
|
-
const
|
|
2568
|
-
if (
|
|
2569
|
-
|
|
2570
|
-
if (node.isDirectory())
|
|
2571
|
-
throw (0, util_1.createError)(EISDIR, "open", link.getPath());
|
|
2572
|
-
}
|
|
2743
|
+
const link = this.getResolvedLinkOrThrow(filename, "open");
|
|
2744
|
+
const node = link.getNode();
|
|
2745
|
+
if (node.isDirectory())
|
|
2746
|
+
throw (0, util_1.createError)(EISDIR, "open", link.getPath());
|
|
2573
2747
|
fd = this.openSync(id, flagsNum);
|
|
2574
2748
|
}
|
|
2575
2749
|
try {
|
|
@@ -2724,15 +2898,34 @@
|
|
|
2724
2898
|
this.wrapAsync(this.writeFileBase, [id, buf, flagsNum, modeNum], cb);
|
|
2725
2899
|
}
|
|
2726
2900
|
linkBase(filename1, filename2) {
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2901
|
+
let link1;
|
|
2902
|
+
try {
|
|
2903
|
+
link1 = this.getLinkOrThrow(filename1, "link");
|
|
2904
|
+
} catch (err) {
|
|
2905
|
+
if (err.code)
|
|
2906
|
+
err = (0, util_1.createError)(
|
|
2907
|
+
err.code,
|
|
2908
|
+
"link",
|
|
2909
|
+
filename1,
|
|
2910
|
+
filename2,
|
|
2911
|
+
);
|
|
2912
|
+
throw err;
|
|
2913
|
+
}
|
|
2914
|
+
const dirname2 = pathModule.dirname(filename2);
|
|
2915
|
+
let dir2;
|
|
2916
|
+
try {
|
|
2917
|
+
dir2 = this.getLinkOrThrow(dirname2, "link");
|
|
2918
|
+
} catch (err) {
|
|
2919
|
+
if (err.code)
|
|
2920
|
+
err = (0, util_1.createError)(
|
|
2921
|
+
err.code,
|
|
2922
|
+
"link",
|
|
2923
|
+
filename1,
|
|
2924
|
+
filename2,
|
|
2925
|
+
);
|
|
2926
|
+
throw err;
|
|
2927
|
+
}
|
|
2928
|
+
const name = pathModule.basename(filename2);
|
|
2736
2929
|
if (dir2.getChild(name))
|
|
2737
2930
|
throw (0, util_1.createError)(EEXIST, "link", filename1, filename2);
|
|
2738
2931
|
const node = link1.getNode();
|
|
@@ -2790,9 +2983,7 @@
|
|
|
2790
2983
|
);
|
|
2791
2984
|
}
|
|
2792
2985
|
unlinkBase(filename) {
|
|
2793
|
-
const
|
|
2794
|
-
const link = this.getLink(steps);
|
|
2795
|
-
if (!link) throw (0, util_1.createError)(ENOENT, "unlink", filename);
|
|
2986
|
+
const link = this.getLinkOrThrow(filename, "unlink");
|
|
2796
2987
|
if (link.length) throw Error("Dir not empty...");
|
|
2797
2988
|
this.deleteLink(link);
|
|
2798
2989
|
const node = link.getNode();
|
|
@@ -2811,18 +3002,31 @@
|
|
|
2811
3002
|
}
|
|
2812
3003
|
symlinkBase(targetFilename, pathFilename) {
|
|
2813
3004
|
const pathSteps = filenameToSteps(pathFilename);
|
|
2814
|
-
|
|
2815
|
-
|
|
3005
|
+
let dirLink;
|
|
3006
|
+
try {
|
|
3007
|
+
dirLink = this.getLinkParentAsDirOrThrow(pathSteps);
|
|
3008
|
+
} catch (err) {
|
|
3009
|
+
if (err.code)
|
|
3010
|
+
err = (0, util_1.createError)(
|
|
3011
|
+
err.code,
|
|
3012
|
+
"symlink",
|
|
3013
|
+
targetFilename,
|
|
3014
|
+
pathFilename,
|
|
3015
|
+
);
|
|
3016
|
+
throw err;
|
|
3017
|
+
}
|
|
3018
|
+
const name = pathSteps[pathSteps.length - 1];
|
|
3019
|
+
if (dirLink.getChild(name))
|
|
2816
3020
|
throw (0, util_1.createError)(
|
|
2817
|
-
|
|
3021
|
+
EEXIST,
|
|
2818
3022
|
"symlink",
|
|
2819
3023
|
targetFilename,
|
|
2820
3024
|
pathFilename,
|
|
2821
3025
|
);
|
|
2822
|
-
const
|
|
2823
|
-
if (
|
|
3026
|
+
const node = dirLink.getNode();
|
|
3027
|
+
if (!node.canExecute() || !node.canWrite())
|
|
2824
3028
|
throw (0, util_1.createError)(
|
|
2825
|
-
|
|
3029
|
+
EACCES,
|
|
2826
3030
|
"symlink",
|
|
2827
3031
|
targetFilename,
|
|
2828
3032
|
pathFilename,
|
|
@@ -2849,10 +3053,8 @@
|
|
|
2849
3053
|
);
|
|
2850
3054
|
}
|
|
2851
3055
|
realpathBase(filename, encoding) {
|
|
2852
|
-
|
|
2853
|
-
const realLink = this.
|
|
2854
|
-
if (!realLink)
|
|
2855
|
-
throw (0, util_1.createError)(ENOENT, "realpath", filename);
|
|
3056
|
+
debugger;
|
|
3057
|
+
const realLink = this.getResolvedLinkOrThrow(filename, "realpath");
|
|
2856
3058
|
return (0, encoding_1.strToEncoding)(
|
|
2857
3059
|
realLink.getPath() || "/",
|
|
2858
3060
|
encoding,
|
|
@@ -2874,14 +3076,14 @@
|
|
|
2874
3076
|
);
|
|
2875
3077
|
}
|
|
2876
3078
|
lstatBase(filename, bigint = false, throwIfNoEntry = false) {
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
}
|
|
2881
|
-
return undefined;
|
|
2882
|
-
|
|
2883
|
-
throw (0, util_1.createError)(ENOENT, "lstat", filename);
|
|
3079
|
+
let link;
|
|
3080
|
+
try {
|
|
3081
|
+
link = this.getLinkOrThrow(filename, "lstat");
|
|
3082
|
+
} catch (err) {
|
|
3083
|
+
if (err.code === ENOENT && !throwIfNoEntry) return undefined;
|
|
3084
|
+
else throw err;
|
|
2884
3085
|
}
|
|
3086
|
+
return Stats_1.default.build(link.getNode(), bigint);
|
|
2885
3087
|
}
|
|
2886
3088
|
lstatSync(path, options) {
|
|
2887
3089
|
const { throwIfNoEntry = true, bigint = false } = (0,
|
|
@@ -2902,14 +3104,14 @@
|
|
|
2902
3104
|
);
|
|
2903
3105
|
}
|
|
2904
3106
|
statBase(filename, bigint = false, throwIfNoEntry = true) {
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
}
|
|
2909
|
-
return undefined;
|
|
2910
|
-
|
|
2911
|
-
throw (0, util_1.createError)(ENOENT, "stat", filename);
|
|
3107
|
+
let link;
|
|
3108
|
+
try {
|
|
3109
|
+
link = this.getResolvedLinkOrThrow(filename, "stat");
|
|
3110
|
+
} catch (err) {
|
|
3111
|
+
if (err.code === ENOENT && !throwIfNoEntry) return undefined;
|
|
3112
|
+
else throw err;
|
|
2912
3113
|
}
|
|
3114
|
+
return Stats_1.default.build(link.getNode(), bigint);
|
|
2913
3115
|
}
|
|
2914
3116
|
statSync(path, options) {
|
|
2915
3117
|
const { bigint = true, throwIfNoEntry = true } = (0,
|
|
@@ -2945,28 +3147,50 @@
|
|
|
2945
3147
|
this.wrapAsync(this.fstatBase, [fd, opts.bigint], callback);
|
|
2946
3148
|
}
|
|
2947
3149
|
renameBase(oldPathFilename, newPathFilename) {
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
3150
|
+
let link;
|
|
3151
|
+
try {
|
|
3152
|
+
link = this.getResolvedLinkOrThrow(oldPathFilename);
|
|
3153
|
+
} catch (err) {
|
|
3154
|
+
if (err.code)
|
|
3155
|
+
err = (0, util_1.createError)(
|
|
3156
|
+
err.code,
|
|
3157
|
+
"rename",
|
|
3158
|
+
oldPathFilename,
|
|
3159
|
+
newPathFilename,
|
|
3160
|
+
);
|
|
3161
|
+
throw err;
|
|
3162
|
+
}
|
|
3163
|
+
let newPathDirLink;
|
|
3164
|
+
try {
|
|
3165
|
+
newPathDirLink = this.getLinkParentAsDirOrThrow(newPathFilename);
|
|
3166
|
+
} catch (err) {
|
|
3167
|
+
if (err.code)
|
|
3168
|
+
err = (0, util_1.createError)(
|
|
3169
|
+
err.code,
|
|
3170
|
+
"rename",
|
|
3171
|
+
oldPathFilename,
|
|
3172
|
+
newPathFilename,
|
|
3173
|
+
);
|
|
3174
|
+
throw err;
|
|
3175
|
+
}
|
|
3176
|
+
const oldLinkParent = link.parent;
|
|
3177
|
+
const oldParentNode = oldLinkParent.getNode();
|
|
3178
|
+
const newPathDirNode = newPathDirLink.getNode();
|
|
3179
|
+
if (
|
|
3180
|
+
!oldParentNode.canExecute() ||
|
|
3181
|
+
!oldParentNode.canWrite() ||
|
|
3182
|
+
!newPathDirNode.canExecute() ||
|
|
3183
|
+
!newPathDirNode.canWrite()
|
|
3184
|
+
) {
|
|
2959
3185
|
throw (0, util_1.createError)(
|
|
2960
|
-
|
|
3186
|
+
EACCES,
|
|
2961
3187
|
"rename",
|
|
2962
3188
|
oldPathFilename,
|
|
2963
3189
|
newPathFilename,
|
|
2964
3190
|
);
|
|
2965
|
-
const oldLinkParent = link.parent;
|
|
2966
|
-
if (oldLinkParent) {
|
|
2967
|
-
oldLinkParent.deleteChild(link);
|
|
2968
3191
|
}
|
|
2969
|
-
|
|
3192
|
+
oldLinkParent.deleteChild(link);
|
|
3193
|
+
const name = pathModule.basename(newPathFilename);
|
|
2970
3194
|
link.name = name;
|
|
2971
3195
|
link.steps = [...newPathDirLink.steps, name];
|
|
2972
3196
|
newPathDirLink.setChild(link.getName(), link);
|
|
@@ -3039,11 +3263,12 @@
|
|
|
3039
3263
|
}
|
|
3040
3264
|
readdirBase(filename, options) {
|
|
3041
3265
|
const steps = filenameToSteps(filename);
|
|
3042
|
-
const link = this.
|
|
3043
|
-
if (!link) throw (0, util_1.createError)(ENOENT, "readdir", filename);
|
|
3266
|
+
const link = this.getResolvedLinkOrThrow(filename, "scandir");
|
|
3044
3267
|
const node = link.getNode();
|
|
3045
3268
|
if (!node.isDirectory())
|
|
3046
3269
|
throw (0, util_1.createError)(ENOTDIR, "scandir", filename);
|
|
3270
|
+
if (!node.canRead())
|
|
3271
|
+
throw (0, util_1.createError)(EACCES, "scandir", filename);
|
|
3047
3272
|
const list = [];
|
|
3048
3273
|
for (const name of link.children.keys()) {
|
|
3049
3274
|
const child = link.getChild(name);
|
|
@@ -3075,7 +3300,7 @@
|
|
|
3075
3300
|
return list.map((dirent) => {
|
|
3076
3301
|
if (options.recursive) {
|
|
3077
3302
|
let fullPath = pathModule.join(
|
|
3078
|
-
dirent.
|
|
3303
|
+
dirent.parentPath,
|
|
3079
3304
|
dirent.name.toString(),
|
|
3080
3305
|
);
|
|
3081
3306
|
if (util_1.isWin) {
|
|
@@ -3186,19 +3411,20 @@
|
|
|
3186
3411
|
callback,
|
|
3187
3412
|
);
|
|
3188
3413
|
}
|
|
3189
|
-
utimesBase(filename, atime, mtime) {
|
|
3190
|
-
const
|
|
3191
|
-
|
|
3192
|
-
this.
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3414
|
+
utimesBase(filename, atime, mtime, followSymlinks = true) {
|
|
3415
|
+
const link = followSymlinks
|
|
3416
|
+
? this.getResolvedLinkOrThrow(filename, "utimes")
|
|
3417
|
+
: this.getLinkOrThrow(filename, "lutimes");
|
|
3418
|
+
const node = link.getNode();
|
|
3419
|
+
node.atime = new Date(atime * 1e3);
|
|
3420
|
+
node.mtime = new Date(mtime * 1e3);
|
|
3196
3421
|
}
|
|
3197
3422
|
utimesSync(path, atime, mtime) {
|
|
3198
3423
|
this.utimesBase(
|
|
3199
3424
|
(0, util_1.pathToFilename)(path),
|
|
3200
3425
|
toUnixTimestamp(atime),
|
|
3201
3426
|
toUnixTimestamp(mtime),
|
|
3427
|
+
true,
|
|
3202
3428
|
);
|
|
3203
3429
|
}
|
|
3204
3430
|
utimes(path, atime, mtime, callback) {
|
|
@@ -3208,6 +3434,27 @@
|
|
|
3208
3434
|
(0, util_1.pathToFilename)(path),
|
|
3209
3435
|
toUnixTimestamp(atime),
|
|
3210
3436
|
toUnixTimestamp(mtime),
|
|
3437
|
+
true,
|
|
3438
|
+
],
|
|
3439
|
+
callback,
|
|
3440
|
+
);
|
|
3441
|
+
}
|
|
3442
|
+
lutimesSync(path, atime, mtime) {
|
|
3443
|
+
this.utimesBase(
|
|
3444
|
+
(0, util_1.pathToFilename)(path),
|
|
3445
|
+
toUnixTimestamp(atime),
|
|
3446
|
+
toUnixTimestamp(mtime),
|
|
3447
|
+
false,
|
|
3448
|
+
);
|
|
3449
|
+
}
|
|
3450
|
+
lutimes(path, atime, mtime, callback) {
|
|
3451
|
+
this.wrapAsync(
|
|
3452
|
+
this.utimesBase,
|
|
3453
|
+
[
|
|
3454
|
+
(0, util_1.pathToFilename)(path),
|
|
3455
|
+
toUnixTimestamp(atime),
|
|
3456
|
+
toUnixTimestamp(mtime),
|
|
3457
|
+
false,
|
|
3211
3458
|
],
|
|
3212
3459
|
callback,
|
|
3213
3460
|
);
|
|
@@ -3221,33 +3468,40 @@
|
|
|
3221
3468
|
const name = steps[steps.length - 1];
|
|
3222
3469
|
if (dir.getChild(name))
|
|
3223
3470
|
throw (0, util_1.createError)(EEXIST, "mkdir", filename);
|
|
3471
|
+
const node = dir.getNode();
|
|
3472
|
+
if (!node.canWrite() || !node.canExecute())
|
|
3473
|
+
throw (0, util_1.createError)(EACCES, "mkdir", filename);
|
|
3224
3474
|
dir.createChild(name, this.createNode(true, modeNum));
|
|
3225
3475
|
}
|
|
3226
3476
|
mkdirpBase(filename, modeNum) {
|
|
3227
|
-
const fullPath = resolve(filename);
|
|
3228
|
-
const fullPathSansSlash = fullPath.substring(1);
|
|
3229
|
-
const steps = !fullPathSansSlash ? [] : fullPathSansSlash.split(sep);
|
|
3230
|
-
let link = this.root;
|
|
3231
3477
|
let created = false;
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
if (
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3478
|
+
const steps = filenameToSteps(filename);
|
|
3479
|
+
let curr = null;
|
|
3480
|
+
let i = steps.length;
|
|
3481
|
+
for (i = steps.length; i >= 0; i--) {
|
|
3482
|
+
curr = this.getResolvedLink(steps.slice(0, i));
|
|
3483
|
+
if (curr) break;
|
|
3484
|
+
}
|
|
3485
|
+
if (!curr) {
|
|
3486
|
+
curr = this.root;
|
|
3487
|
+
i = 0;
|
|
3488
|
+
}
|
|
3489
|
+
curr = this.getResolvedLinkOrThrow(
|
|
3490
|
+
sep + steps.slice(0, i).join(sep),
|
|
3491
|
+
"mkdir",
|
|
3492
|
+
);
|
|
3493
|
+
for (i; i < steps.length; i++) {
|
|
3494
|
+
const node = curr.getNode();
|
|
3495
|
+
if (node.isDirectory()) {
|
|
3496
|
+
if (!node.canExecute() || !node.canWrite())
|
|
3497
|
+
throw (0, util_1.createError)(EACCES, "mkdir", filename);
|
|
3245
3498
|
} else {
|
|
3246
|
-
|
|
3247
|
-
created = true;
|
|
3499
|
+
throw (0, util_1.createError)(ENOTDIR, "mkdir", filename);
|
|
3248
3500
|
}
|
|
3501
|
+
created = true;
|
|
3502
|
+
curr = curr.createChild(steps[i], this.createNode(true, modeNum));
|
|
3249
3503
|
}
|
|
3250
|
-
return created ?
|
|
3504
|
+
return created ? filename : undefined;
|
|
3251
3505
|
}
|
|
3252
3506
|
mkdirSync(path, options) {
|
|
3253
3507
|
const opts = (0, options_1.getMkdirOptions)(options);
|
|
@@ -3319,17 +3573,17 @@
|
|
|
3319
3573
|
);
|
|
3320
3574
|
}
|
|
3321
3575
|
rmBase(filename, options = {}) {
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
return;
|
|
3327
|
-
|
|
3328
|
-
if (link.getNode().isDirectory()) {
|
|
3329
|
-
if (!options.recursive) {
|
|
3330
|
-
throw (0, util_1.createError)(ERR_FS_EISDIR, "rm", filename);
|
|
3331
|
-
}
|
|
3576
|
+
let link;
|
|
3577
|
+
try {
|
|
3578
|
+
link = this.getResolvedLinkOrThrow(filename, "stat");
|
|
3579
|
+
} catch (err) {
|
|
3580
|
+
if (err.code === ENOENT && options.force) return;
|
|
3581
|
+
else throw err;
|
|
3332
3582
|
}
|
|
3583
|
+
if (link.getNode().isDirectory() && !options.recursive)
|
|
3584
|
+
throw (0, util_1.createError)(ERR_FS_EISDIR, "rm", filename);
|
|
3585
|
+
if (!link.parent.getNode().canWrite())
|
|
3586
|
+
throw (0, util_1.createError)(EACCES, "rm", filename);
|
|
3333
3587
|
this.deleteLink(link);
|
|
3334
3588
|
}
|
|
3335
3589
|
rmSync(path, options) {
|
|
@@ -3357,18 +3611,17 @@
|
|
|
3357
3611
|
callback,
|
|
3358
3612
|
);
|
|
3359
3613
|
}
|
|
3360
|
-
chmodBase(filename, modeNum) {
|
|
3361
|
-
const
|
|
3362
|
-
|
|
3363
|
-
this.
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
}
|
|
3614
|
+
chmodBase(filename, modeNum, followSymlinks = true) {
|
|
3615
|
+
const link = followSymlinks
|
|
3616
|
+
? this.getResolvedLinkOrThrow(filename, "chmod")
|
|
3617
|
+
: this.getLinkOrThrow(filename, "chmod");
|
|
3618
|
+
const node = link.getNode();
|
|
3619
|
+
node.chmod(modeNum);
|
|
3367
3620
|
}
|
|
3368
3621
|
chmodSync(path, mode) {
|
|
3369
3622
|
const modeNum = (0, util_1.modeToNumber)(mode);
|
|
3370
3623
|
const filename = (0, util_1.pathToFilename)(path);
|
|
3371
|
-
this.chmodBase(filename, modeNum);
|
|
3624
|
+
this.chmodBase(filename, modeNum, true);
|
|
3372
3625
|
}
|
|
3373
3626
|
chmod(path, mode, callback) {
|
|
3374
3627
|
const modeNum = (0, util_1.modeToNumber)(mode);
|
|
@@ -3376,12 +3629,7 @@
|
|
|
3376
3629
|
this.wrapAsync(this.chmodBase, [filename, modeNum], callback);
|
|
3377
3630
|
}
|
|
3378
3631
|
lchmodBase(filename, modeNum) {
|
|
3379
|
-
|
|
3380
|
-
try {
|
|
3381
|
-
this.fchmodBase(fd, modeNum);
|
|
3382
|
-
} finally {
|
|
3383
|
-
this.closeSync(fd);
|
|
3384
|
-
}
|
|
3632
|
+
this.chmodBase(filename, modeNum, false);
|
|
3385
3633
|
}
|
|
3386
3634
|
lchmodSync(path, mode) {
|
|
3387
3635
|
const modeNum = (0, util_1.modeToNumber)(mode);
|
|
@@ -3508,6 +3756,23 @@
|
|
|
3508
3756
|
}
|
|
3509
3757
|
return watcher;
|
|
3510
3758
|
}
|
|
3759
|
+
opendirBase(filename, options) {
|
|
3760
|
+
const link = this.getResolvedLinkOrThrow(filename, "scandir");
|
|
3761
|
+
const node = link.getNode();
|
|
3762
|
+
if (!node.isDirectory())
|
|
3763
|
+
throw (0, util_1.createError)(ENOTDIR, "scandir", filename);
|
|
3764
|
+
return new Dir_1.Dir(link, options);
|
|
3765
|
+
}
|
|
3766
|
+
opendirSync(path, options) {
|
|
3767
|
+
const opts = (0, options_1.getOpendirOptions)(options);
|
|
3768
|
+
const filename = (0, util_1.pathToFilename)(path);
|
|
3769
|
+
return this.opendirBase(filename, opts);
|
|
3770
|
+
}
|
|
3771
|
+
opendir(path, a, b) {
|
|
3772
|
+
const [options, callback] = (0, options_1.getOpendirOptsAndCb)(a, b);
|
|
3773
|
+
const filename = (0, util_1.pathToFilename)(path);
|
|
3774
|
+
this.wrapAsync(this.opendirBase, [filename, options], callback);
|
|
3775
|
+
}
|
|
3511
3776
|
}
|
|
3512
3777
|
exports.Volume = Volume;
|
|
3513
3778
|
Volume.fd = 2147483647;
|
|
@@ -3967,17 +4232,17 @@
|
|
|
3967
4232
|
}
|
|
3968
4233
|
exports.FSWatcher = FSWatcher;
|
|
3969
4234
|
},
|
|
3970
|
-
|
|
4235
|
+
8772: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4236
|
+
"use strict";
|
|
3971
4237
|
/*!
|
|
3972
4238
|
* on-finished
|
|
3973
4239
|
* Copyright(c) 2013 Jonathan Ong
|
|
3974
4240
|
* Copyright(c) 2014 Douglas Christopher Wilson
|
|
3975
4241
|
* MIT Licensed
|
|
3976
|
-
*/
|
|
3977
|
-
module.exports = onFinished;
|
|
4242
|
+
*/ module.exports = onFinished;
|
|
3978
4243
|
module.exports.isFinished = isFinished;
|
|
3979
4244
|
var asyncHooks = tryRequireAsyncHooks();
|
|
3980
|
-
var first = __nccwpck_require__(
|
|
4245
|
+
var first = __nccwpck_require__(2261);
|
|
3981
4246
|
var defer =
|
|
3982
4247
|
typeof setImmediate === "function"
|
|
3983
4248
|
? setImmediate
|
|
@@ -4080,14 +4345,14 @@
|
|
|
4080
4345
|
return res.runInAsyncScope.bind(res, fn, null);
|
|
4081
4346
|
}
|
|
4082
4347
|
},
|
|
4083
|
-
|
|
4348
|
+
2395: (module) => {
|
|
4349
|
+
"use strict";
|
|
4084
4350
|
/*!
|
|
4085
4351
|
* range-parser
|
|
4086
4352
|
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|
4087
4353
|
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
|
4088
4354
|
* MIT Licensed
|
|
4089
|
-
*/
|
|
4090
|
-
module.exports = rangeParser;
|
|
4355
|
+
*/ module.exports = rangeParser;
|
|
4091
4356
|
function rangeParser(size, str, options) {
|
|
4092
4357
|
if (typeof str !== "string") {
|
|
4093
4358
|
throw new TypeError("argument str must be a string");
|
|
@@ -4152,13 +4417,14 @@
|
|
|
4152
4417
|
return a.start - b.start;
|
|
4153
4418
|
}
|
|
4154
4419
|
},
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
const
|
|
4158
|
-
const
|
|
4159
|
-
const
|
|
4160
|
-
const
|
|
4161
|
-
const
|
|
4420
|
+
3280: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4421
|
+
"use strict";
|
|
4422
|
+
const middleware = __nccwpck_require__(3856);
|
|
4423
|
+
const getFilenameFromUrl = __nccwpck_require__(641);
|
|
4424
|
+
const setupHooks = __nccwpck_require__(8357);
|
|
4425
|
+
const setupWriteToDisk = __nccwpck_require__(4191);
|
|
4426
|
+
const setupOutputFileSystem = __nccwpck_require__(7332);
|
|
4427
|
+
const ready = __nccwpck_require__(4662);
|
|
4162
4428
|
const noop = () => {};
|
|
4163
4429
|
function wdm(compiler, options = {}) {
|
|
4164
4430
|
const context = {
|
|
@@ -4213,15 +4479,16 @@
|
|
|
4213
4479
|
}
|
|
4214
4480
|
module.exports = wdm;
|
|
4215
4481
|
},
|
|
4216
|
-
|
|
4482
|
+
3856: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4483
|
+
"use strict";
|
|
4217
4484
|
const mrmime = __nccwpck_require__(802);
|
|
4218
|
-
const onFinishedStream = __nccwpck_require__(
|
|
4219
|
-
const getFilenameFromUrl = __nccwpck_require__(
|
|
4485
|
+
const onFinishedStream = __nccwpck_require__(8772);
|
|
4486
|
+
const getFilenameFromUrl = __nccwpck_require__(641);
|
|
4220
4487
|
const { setStatusCode, send, pipe, createReadStreamOrReadFileSync } =
|
|
4221
|
-
__nccwpck_require__(
|
|
4222
|
-
const ready = __nccwpck_require__(
|
|
4223
|
-
const parseTokenList = __nccwpck_require__(
|
|
4224
|
-
const memorize = __nccwpck_require__(
|
|
4488
|
+
__nccwpck_require__(7833);
|
|
4489
|
+
const ready = __nccwpck_require__(4662);
|
|
4490
|
+
const parseTokenList = __nccwpck_require__(2518);
|
|
4491
|
+
const memorize = __nccwpck_require__(4781);
|
|
4225
4492
|
async function getEtag(stat) {
|
|
4226
4493
|
const mtime = stat.mtime.getTime().toString(16);
|
|
4227
4494
|
const size = stat.size.toString(16);
|
|
@@ -4275,7 +4542,7 @@
|
|
|
4275
4542
|
};
|
|
4276
4543
|
const parseRangeHeaders = memorize((value) => {
|
|
4277
4544
|
const [len, rangeHeader] = value.split("|");
|
|
4278
|
-
return __nccwpck_require__(
|
|
4545
|
+
return __nccwpck_require__(2395)(Number(len), rangeHeader, {
|
|
4279
4546
|
combine: true,
|
|
4280
4547
|
});
|
|
4281
4548
|
});
|
|
@@ -4300,7 +4567,7 @@
|
|
|
4300
4567
|
return;
|
|
4301
4568
|
}
|
|
4302
4569
|
function sendError(status, options) {
|
|
4303
|
-
const escapeHtml = __nccwpck_require__(
|
|
4570
|
+
const escapeHtml = __nccwpck_require__(9896);
|
|
4304
4571
|
const content = statuses[status] || String(status);
|
|
4305
4572
|
const document = Buffer.from(
|
|
4306
4573
|
`<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>${escapeHtml(content)}</pre>\n</body>\n</html>`,
|
|
@@ -4602,7 +4869,8 @@
|
|
|
4602
4869
|
}
|
|
4603
4870
|
module.exports = wrapper;
|
|
4604
4871
|
},
|
|
4605
|
-
|
|
4872
|
+
7833: (module) => {
|
|
4873
|
+
"use strict";
|
|
4606
4874
|
function setStatusCode(res, code) {
|
|
4607
4875
|
if (typeof res.status === "function") {
|
|
4608
4876
|
res.status(code);
|
|
@@ -4653,7 +4921,8 @@
|
|
|
4653
4921
|
createReadStreamOrReadFileSync,
|
|
4654
4922
|
};
|
|
4655
4923
|
},
|
|
4656
|
-
|
|
4924
|
+
9896: (module) => {
|
|
4925
|
+
"use strict";
|
|
4657
4926
|
const matchHtmlRegExp = /["'&<>]/;
|
|
4658
4927
|
function escapeHtml(string) {
|
|
4659
4928
|
const str = `${string}`;
|
|
@@ -4697,12 +4966,13 @@
|
|
|
4697
4966
|
}
|
|
4698
4967
|
module.exports = escapeHtml;
|
|
4699
4968
|
},
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
const
|
|
4703
|
-
const
|
|
4704
|
-
const
|
|
4705
|
-
const
|
|
4969
|
+
641: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4970
|
+
"use strict";
|
|
4971
|
+
const path = __nccwpck_require__(1017);
|
|
4972
|
+
const { parse } = __nccwpck_require__(7310);
|
|
4973
|
+
const querystring = __nccwpck_require__(3477);
|
|
4974
|
+
const getPaths = __nccwpck_require__(8318);
|
|
4975
|
+
const memorize = __nccwpck_require__(4781);
|
|
4706
4976
|
const memoizedParse = memorize(parse, undefined, (value) => {
|
|
4707
4977
|
if (value.pathname) {
|
|
4708
4978
|
value.pathname = decode(value.pathname);
|
|
@@ -4784,7 +5054,8 @@
|
|
|
4784
5054
|
}
|
|
4785
5055
|
module.exports = getFilenameFromUrl;
|
|
4786
5056
|
},
|
|
4787
|
-
|
|
5057
|
+
8318: (module) => {
|
|
5058
|
+
"use strict";
|
|
4788
5059
|
function getPaths(context) {
|
|
4789
5060
|
const { stats, options } = context;
|
|
4790
5061
|
const childStats = stats.stats ? stats.stats : [stats];
|
|
@@ -4804,7 +5075,8 @@
|
|
|
4804
5075
|
}
|
|
4805
5076
|
module.exports = getPaths;
|
|
4806
5077
|
},
|
|
4807
|
-
|
|
5078
|
+
4781: (module) => {
|
|
5079
|
+
"use strict";
|
|
4808
5080
|
const cacheStore = new WeakMap();
|
|
4809
5081
|
function memorize(fn, { cache = new Map() } = {}, callback) {
|
|
4810
5082
|
const memoized = (...arguments_) => {
|
|
@@ -4825,7 +5097,8 @@
|
|
|
4825
5097
|
}
|
|
4826
5098
|
module.exports = memorize;
|
|
4827
5099
|
},
|
|
4828
|
-
|
|
5100
|
+
2518: (module) => {
|
|
5101
|
+
"use strict";
|
|
4829
5102
|
function parseTokenList(str) {
|
|
4830
5103
|
let end = 0;
|
|
4831
5104
|
let start = 0;
|
|
@@ -4857,7 +5130,8 @@
|
|
|
4857
5130
|
}
|
|
4858
5131
|
module.exports = parseTokenList;
|
|
4859
5132
|
},
|
|
4860
|
-
|
|
5133
|
+
4662: (module) => {
|
|
5134
|
+
"use strict";
|
|
4861
5135
|
function ready(context, callback, req) {
|
|
4862
5136
|
if (context.state) {
|
|
4863
5137
|
callback(context.stats);
|
|
@@ -4871,7 +5145,8 @@
|
|
|
4871
5145
|
}
|
|
4872
5146
|
module.exports = ready;
|
|
4873
5147
|
},
|
|
4874
|
-
|
|
5148
|
+
8357: (module) => {
|
|
5149
|
+
"use strict";
|
|
4875
5150
|
function setupHooks(context) {
|
|
4876
5151
|
function invalid() {
|
|
4877
5152
|
if (context.state) {
|
|
@@ -4902,8 +5177,9 @@
|
|
|
4902
5177
|
}
|
|
4903
5178
|
module.exports = setupHooks;
|
|
4904
5179
|
},
|
|
4905
|
-
|
|
4906
|
-
|
|
5180
|
+
7332: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5181
|
+
"use strict";
|
|
5182
|
+
const memfs = __nccwpck_require__(5953);
|
|
4907
5183
|
function setupOutputFileSystem(context) {
|
|
4908
5184
|
let outputFileSystem;
|
|
4909
5185
|
if (context.options.writeToDisk !== true) {
|
|
@@ -4928,9 +5204,10 @@
|
|
|
4928
5204
|
}
|
|
4929
5205
|
module.exports = setupOutputFileSystem;
|
|
4930
5206
|
},
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
const
|
|
5207
|
+
4191: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5208
|
+
"use strict";
|
|
5209
|
+
const fs = __nccwpck_require__(7147);
|
|
5210
|
+
const path = __nccwpck_require__(1017);
|
|
4934
5211
|
function setupWriteToDisk(context) {
|
|
4935
5212
|
const compilers = context.compiler.compilers || [context.compiler];
|
|
4936
5213
|
for (const compiler of compilers) {
|
|
@@ -4982,40 +5259,912 @@
|
|
|
4982
5259
|
}
|
|
4983
5260
|
module.exports = setupWriteToDisk;
|
|
4984
5261
|
},
|
|
5262
|
+
867: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
5263
|
+
"use strict";
|
|
5264
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5265
|
+
const tslib_1 = __nccwpck_require__(7433);
|
|
5266
|
+
tslib_1.__exportStar(__nccwpck_require__(7995), exports);
|
|
5267
|
+
tslib_1.__exportStar(__nccwpck_require__(5543), exports);
|
|
5268
|
+
},
|
|
5269
|
+
5543: (__unused_webpack_module, exports) => {
|
|
5270
|
+
"use strict";
|
|
5271
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5272
|
+
exports.printBinary = void 0;
|
|
5273
|
+
const printBinary = (tab = "", children) => {
|
|
5274
|
+
const left = children[0],
|
|
5275
|
+
right = children[1];
|
|
5276
|
+
let str = "";
|
|
5277
|
+
if (left) str += "\n" + tab + "← " + left(tab + " ");
|
|
5278
|
+
if (right) str += "\n" + tab + "→ " + right(tab + " ");
|
|
5279
|
+
return str;
|
|
5280
|
+
};
|
|
5281
|
+
exports.printBinary = printBinary;
|
|
5282
|
+
},
|
|
5283
|
+
7995: (__unused_webpack_module, exports) => {
|
|
5284
|
+
"use strict";
|
|
5285
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5286
|
+
exports.printTree = void 0;
|
|
5287
|
+
const printTree = (tab = "", children) => {
|
|
5288
|
+
let str = "";
|
|
5289
|
+
let last = children.length - 1;
|
|
5290
|
+
for (; last >= 0; last--) if (children[last]) break;
|
|
5291
|
+
for (let i = 0; i <= last; i++) {
|
|
5292
|
+
const fn = children[i];
|
|
5293
|
+
if (!fn) continue;
|
|
5294
|
+
const isLast = i === last;
|
|
5295
|
+
const child = fn(tab + (isLast ? " " : "│") + " ");
|
|
5296
|
+
const branch = child ? (isLast ? "└─" : "├─") : "│";
|
|
5297
|
+
str += "\n" + tab + branch + (child ? " " + child : "");
|
|
5298
|
+
}
|
|
5299
|
+
return str;
|
|
5300
|
+
};
|
|
5301
|
+
exports.printTree = printTree;
|
|
5302
|
+
},
|
|
5303
|
+
7433: (module) => {
|
|
5304
|
+
var __extends;
|
|
5305
|
+
var __assign;
|
|
5306
|
+
var __rest;
|
|
5307
|
+
var __decorate;
|
|
5308
|
+
var __param;
|
|
5309
|
+
var __esDecorate;
|
|
5310
|
+
var __runInitializers;
|
|
5311
|
+
var __propKey;
|
|
5312
|
+
var __setFunctionName;
|
|
5313
|
+
var __metadata;
|
|
5314
|
+
var __awaiter;
|
|
5315
|
+
var __generator;
|
|
5316
|
+
var __exportStar;
|
|
5317
|
+
var __values;
|
|
5318
|
+
var __read;
|
|
5319
|
+
var __spread;
|
|
5320
|
+
var __spreadArrays;
|
|
5321
|
+
var __spreadArray;
|
|
5322
|
+
var __await;
|
|
5323
|
+
var __asyncGenerator;
|
|
5324
|
+
var __asyncDelegator;
|
|
5325
|
+
var __asyncValues;
|
|
5326
|
+
var __makeTemplateObject;
|
|
5327
|
+
var __importStar;
|
|
5328
|
+
var __importDefault;
|
|
5329
|
+
var __classPrivateFieldGet;
|
|
5330
|
+
var __classPrivateFieldSet;
|
|
5331
|
+
var __classPrivateFieldIn;
|
|
5332
|
+
var __createBinding;
|
|
5333
|
+
var __addDisposableResource;
|
|
5334
|
+
var __disposeResources;
|
|
5335
|
+
var __rewriteRelativeImportExtension;
|
|
5336
|
+
(function (factory) {
|
|
5337
|
+
var root =
|
|
5338
|
+
typeof global === "object"
|
|
5339
|
+
? global
|
|
5340
|
+
: typeof self === "object"
|
|
5341
|
+
? self
|
|
5342
|
+
: typeof this === "object"
|
|
5343
|
+
? this
|
|
5344
|
+
: {};
|
|
5345
|
+
if (typeof define === "function" && define.amd) {
|
|
5346
|
+
define("tslib", ["exports"], function (exports) {
|
|
5347
|
+
factory(createExporter(root, createExporter(exports)));
|
|
5348
|
+
});
|
|
5349
|
+
} else if (true && typeof module.exports === "object") {
|
|
5350
|
+
factory(createExporter(root, createExporter(module.exports)));
|
|
5351
|
+
} else {
|
|
5352
|
+
factory(createExporter(root));
|
|
5353
|
+
}
|
|
5354
|
+
function createExporter(exports, previous) {
|
|
5355
|
+
if (exports !== root) {
|
|
5356
|
+
if (typeof Object.create === "function") {
|
|
5357
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5358
|
+
} else {
|
|
5359
|
+
exports.__esModule = true;
|
|
5360
|
+
}
|
|
5361
|
+
}
|
|
5362
|
+
return function (id, v) {
|
|
5363
|
+
return (exports[id] = previous ? previous(id, v) : v);
|
|
5364
|
+
};
|
|
5365
|
+
}
|
|
5366
|
+
})(function (exporter) {
|
|
5367
|
+
var extendStatics =
|
|
5368
|
+
Object.setPrototypeOf ||
|
|
5369
|
+
({ __proto__: [] } instanceof Array &&
|
|
5370
|
+
function (d, b) {
|
|
5371
|
+
d.__proto__ = b;
|
|
5372
|
+
}) ||
|
|
5373
|
+
function (d, b) {
|
|
5374
|
+
for (var p in b)
|
|
5375
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
5376
|
+
};
|
|
5377
|
+
__extends = function (d, b) {
|
|
5378
|
+
if (typeof b !== "function" && b !== null)
|
|
5379
|
+
throw new TypeError(
|
|
5380
|
+
"Class extends value " +
|
|
5381
|
+
String(b) +
|
|
5382
|
+
" is not a constructor or null",
|
|
5383
|
+
);
|
|
5384
|
+
extendStatics(d, b);
|
|
5385
|
+
function __() {
|
|
5386
|
+
this.constructor = d;
|
|
5387
|
+
}
|
|
5388
|
+
d.prototype =
|
|
5389
|
+
b === null
|
|
5390
|
+
? Object.create(b)
|
|
5391
|
+
: ((__.prototype = b.prototype), new __());
|
|
5392
|
+
};
|
|
5393
|
+
__assign =
|
|
5394
|
+
Object.assign ||
|
|
5395
|
+
function (t) {
|
|
5396
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5397
|
+
s = arguments[i];
|
|
5398
|
+
for (var p in s)
|
|
5399
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
5400
|
+
}
|
|
5401
|
+
return t;
|
|
5402
|
+
};
|
|
5403
|
+
__rest = function (s, e) {
|
|
5404
|
+
var t = {};
|
|
5405
|
+
for (var p in s)
|
|
5406
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5407
|
+
t[p] = s[p];
|
|
5408
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
5409
|
+
for (
|
|
5410
|
+
var i = 0, p = Object.getOwnPropertySymbols(s);
|
|
5411
|
+
i < p.length;
|
|
5412
|
+
i++
|
|
5413
|
+
) {
|
|
5414
|
+
if (
|
|
5415
|
+
e.indexOf(p[i]) < 0 &&
|
|
5416
|
+
Object.prototype.propertyIsEnumerable.call(s, p[i])
|
|
5417
|
+
)
|
|
5418
|
+
t[p[i]] = s[p[i]];
|
|
5419
|
+
}
|
|
5420
|
+
return t;
|
|
5421
|
+
};
|
|
5422
|
+
__decorate = function (decorators, target, key, desc) {
|
|
5423
|
+
var c = arguments.length,
|
|
5424
|
+
r =
|
|
5425
|
+
c < 3
|
|
5426
|
+
? target
|
|
5427
|
+
: desc === null
|
|
5428
|
+
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
5429
|
+
: desc,
|
|
5430
|
+
d;
|
|
5431
|
+
if (
|
|
5432
|
+
typeof Reflect === "object" &&
|
|
5433
|
+
typeof Reflect.decorate === "function"
|
|
5434
|
+
)
|
|
5435
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
5436
|
+
else
|
|
5437
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
5438
|
+
if ((d = decorators[i]))
|
|
5439
|
+
r =
|
|
5440
|
+
(c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) ||
|
|
5441
|
+
r;
|
|
5442
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5443
|
+
};
|
|
5444
|
+
__param = function (paramIndex, decorator) {
|
|
5445
|
+
return function (target, key) {
|
|
5446
|
+
decorator(target, key, paramIndex);
|
|
5447
|
+
};
|
|
5448
|
+
};
|
|
5449
|
+
__esDecorate = function (
|
|
5450
|
+
ctor,
|
|
5451
|
+
descriptorIn,
|
|
5452
|
+
decorators,
|
|
5453
|
+
contextIn,
|
|
5454
|
+
initializers,
|
|
5455
|
+
extraInitializers,
|
|
5456
|
+
) {
|
|
5457
|
+
function accept(f) {
|
|
5458
|
+
if (f !== void 0 && typeof f !== "function")
|
|
5459
|
+
throw new TypeError("Function expected");
|
|
5460
|
+
return f;
|
|
5461
|
+
}
|
|
5462
|
+
var kind = contextIn.kind,
|
|
5463
|
+
key =
|
|
5464
|
+
kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
5465
|
+
var target =
|
|
5466
|
+
!descriptorIn && ctor
|
|
5467
|
+
? contextIn["static"]
|
|
5468
|
+
? ctor
|
|
5469
|
+
: ctor.prototype
|
|
5470
|
+
: null;
|
|
5471
|
+
var descriptor =
|
|
5472
|
+
descriptorIn ||
|
|
5473
|
+
(target
|
|
5474
|
+
? Object.getOwnPropertyDescriptor(target, contextIn.name)
|
|
5475
|
+
: {});
|
|
5476
|
+
var _,
|
|
5477
|
+
done = false;
|
|
5478
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
5479
|
+
var context = {};
|
|
5480
|
+
for (var p in contextIn)
|
|
5481
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
|
5482
|
+
for (var p in contextIn.access)
|
|
5483
|
+
context.access[p] = contextIn.access[p];
|
|
5484
|
+
context.addInitializer = function (f) {
|
|
5485
|
+
if (done)
|
|
5486
|
+
throw new TypeError(
|
|
5487
|
+
"Cannot add initializers after decoration has completed",
|
|
5488
|
+
);
|
|
5489
|
+
extraInitializers.push(accept(f || null));
|
|
5490
|
+
};
|
|
5491
|
+
var result = (0, decorators[i])(
|
|
5492
|
+
kind === "accessor"
|
|
5493
|
+
? { get: descriptor.get, set: descriptor.set }
|
|
5494
|
+
: descriptor[key],
|
|
5495
|
+
context,
|
|
5496
|
+
);
|
|
5497
|
+
if (kind === "accessor") {
|
|
5498
|
+
if (result === void 0) continue;
|
|
5499
|
+
if (result === null || typeof result !== "object")
|
|
5500
|
+
throw new TypeError("Object expected");
|
|
5501
|
+
if ((_ = accept(result.get))) descriptor.get = _;
|
|
5502
|
+
if ((_ = accept(result.set))) descriptor.set = _;
|
|
5503
|
+
if ((_ = accept(result.init))) initializers.unshift(_);
|
|
5504
|
+
} else if ((_ = accept(result))) {
|
|
5505
|
+
if (kind === "field") initializers.unshift(_);
|
|
5506
|
+
else descriptor[key] = _;
|
|
5507
|
+
}
|
|
5508
|
+
}
|
|
5509
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
5510
|
+
done = true;
|
|
5511
|
+
};
|
|
5512
|
+
__runInitializers = function (thisArg, initializers, value) {
|
|
5513
|
+
var useValue = arguments.length > 2;
|
|
5514
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
5515
|
+
value = useValue
|
|
5516
|
+
? initializers[i].call(thisArg, value)
|
|
5517
|
+
: initializers[i].call(thisArg);
|
|
5518
|
+
}
|
|
5519
|
+
return useValue ? value : void 0;
|
|
5520
|
+
};
|
|
5521
|
+
__propKey = function (x) {
|
|
5522
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
5523
|
+
};
|
|
5524
|
+
__setFunctionName = function (f, name, prefix) {
|
|
5525
|
+
if (typeof name === "symbol")
|
|
5526
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
|
5527
|
+
return Object.defineProperty(f, "name", {
|
|
5528
|
+
configurable: true,
|
|
5529
|
+
value: prefix ? "".concat(prefix, " ", name) : name,
|
|
5530
|
+
});
|
|
5531
|
+
};
|
|
5532
|
+
__metadata = function (metadataKey, metadataValue) {
|
|
5533
|
+
if (
|
|
5534
|
+
typeof Reflect === "object" &&
|
|
5535
|
+
typeof Reflect.metadata === "function"
|
|
5536
|
+
)
|
|
5537
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
5538
|
+
};
|
|
5539
|
+
__awaiter = function (thisArg, _arguments, P, generator) {
|
|
5540
|
+
function adopt(value) {
|
|
5541
|
+
return value instanceof P
|
|
5542
|
+
? value
|
|
5543
|
+
: new P(function (resolve) {
|
|
5544
|
+
resolve(value);
|
|
5545
|
+
});
|
|
5546
|
+
}
|
|
5547
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5548
|
+
function fulfilled(value) {
|
|
5549
|
+
try {
|
|
5550
|
+
step(generator.next(value));
|
|
5551
|
+
} catch (e) {
|
|
5552
|
+
reject(e);
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5555
|
+
function rejected(value) {
|
|
5556
|
+
try {
|
|
5557
|
+
step(generator["throw"](value));
|
|
5558
|
+
} catch (e) {
|
|
5559
|
+
reject(e);
|
|
5560
|
+
}
|
|
5561
|
+
}
|
|
5562
|
+
function step(result) {
|
|
5563
|
+
result.done
|
|
5564
|
+
? resolve(result.value)
|
|
5565
|
+
: adopt(result.value).then(fulfilled, rejected);
|
|
5566
|
+
}
|
|
5567
|
+
step(
|
|
5568
|
+
(generator = generator.apply(thisArg, _arguments || [])).next(),
|
|
5569
|
+
);
|
|
5570
|
+
});
|
|
5571
|
+
};
|
|
5572
|
+
__generator = function (thisArg, body) {
|
|
5573
|
+
var _ = {
|
|
5574
|
+
label: 0,
|
|
5575
|
+
sent: function () {
|
|
5576
|
+
if (t[0] & 1) throw t[1];
|
|
5577
|
+
return t[1];
|
|
5578
|
+
},
|
|
5579
|
+
trys: [],
|
|
5580
|
+
ops: [],
|
|
5581
|
+
},
|
|
5582
|
+
f,
|
|
5583
|
+
y,
|
|
5584
|
+
t,
|
|
5585
|
+
g = Object.create(
|
|
5586
|
+
(typeof Iterator === "function" ? Iterator : Object).prototype,
|
|
5587
|
+
);
|
|
5588
|
+
return (
|
|
5589
|
+
(g.next = verb(0)),
|
|
5590
|
+
(g["throw"] = verb(1)),
|
|
5591
|
+
(g["return"] = verb(2)),
|
|
5592
|
+
typeof Symbol === "function" &&
|
|
5593
|
+
(g[Symbol.iterator] = function () {
|
|
5594
|
+
return this;
|
|
5595
|
+
}),
|
|
5596
|
+
g
|
|
5597
|
+
);
|
|
5598
|
+
function verb(n) {
|
|
5599
|
+
return function (v) {
|
|
5600
|
+
return step([n, v]);
|
|
5601
|
+
};
|
|
5602
|
+
}
|
|
5603
|
+
function step(op) {
|
|
5604
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
5605
|
+
while ((g && ((g = 0), op[0] && (_ = 0)), _))
|
|
5606
|
+
try {
|
|
5607
|
+
if (
|
|
5608
|
+
((f = 1),
|
|
5609
|
+
y &&
|
|
5610
|
+
(t =
|
|
5611
|
+
op[0] & 2
|
|
5612
|
+
? y["return"]
|
|
5613
|
+
: op[0]
|
|
5614
|
+
? y["throw"] || ((t = y["return"]) && t.call(y), 0)
|
|
5615
|
+
: y.next) &&
|
|
5616
|
+
!(t = t.call(y, op[1])).done)
|
|
5617
|
+
)
|
|
5618
|
+
return t;
|
|
5619
|
+
if (((y = 0), t)) op = [op[0] & 2, t.value];
|
|
5620
|
+
switch (op[0]) {
|
|
5621
|
+
case 0:
|
|
5622
|
+
case 1:
|
|
5623
|
+
t = op;
|
|
5624
|
+
break;
|
|
5625
|
+
case 4:
|
|
5626
|
+
_.label++;
|
|
5627
|
+
return { value: op[1], done: false };
|
|
5628
|
+
case 5:
|
|
5629
|
+
_.label++;
|
|
5630
|
+
y = op[1];
|
|
5631
|
+
op = [0];
|
|
5632
|
+
continue;
|
|
5633
|
+
case 7:
|
|
5634
|
+
op = _.ops.pop();
|
|
5635
|
+
_.trys.pop();
|
|
5636
|
+
continue;
|
|
5637
|
+
default:
|
|
5638
|
+
if (
|
|
5639
|
+
!((t = _.trys), (t = t.length > 0 && t[t.length - 1])) &&
|
|
5640
|
+
(op[0] === 6 || op[0] === 2)
|
|
5641
|
+
) {
|
|
5642
|
+
_ = 0;
|
|
5643
|
+
continue;
|
|
5644
|
+
}
|
|
5645
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
5646
|
+
_.label = op[1];
|
|
5647
|
+
break;
|
|
5648
|
+
}
|
|
5649
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
5650
|
+
_.label = t[1];
|
|
5651
|
+
t = op;
|
|
5652
|
+
break;
|
|
5653
|
+
}
|
|
5654
|
+
if (t && _.label < t[2]) {
|
|
5655
|
+
_.label = t[2];
|
|
5656
|
+
_.ops.push(op);
|
|
5657
|
+
break;
|
|
5658
|
+
}
|
|
5659
|
+
if (t[2]) _.ops.pop();
|
|
5660
|
+
_.trys.pop();
|
|
5661
|
+
continue;
|
|
5662
|
+
}
|
|
5663
|
+
op = body.call(thisArg, _);
|
|
5664
|
+
} catch (e) {
|
|
5665
|
+
op = [6, e];
|
|
5666
|
+
y = 0;
|
|
5667
|
+
} finally {
|
|
5668
|
+
f = t = 0;
|
|
5669
|
+
}
|
|
5670
|
+
if (op[0] & 5) throw op[1];
|
|
5671
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
5672
|
+
}
|
|
5673
|
+
};
|
|
5674
|
+
__exportStar = function (m, o) {
|
|
5675
|
+
for (var p in m)
|
|
5676
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
5677
|
+
__createBinding(o, m, p);
|
|
5678
|
+
};
|
|
5679
|
+
__createBinding = Object.create
|
|
5680
|
+
? function (o, m, k, k2) {
|
|
5681
|
+
if (k2 === undefined) k2 = k;
|
|
5682
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5683
|
+
if (
|
|
5684
|
+
!desc ||
|
|
5685
|
+
("get" in desc
|
|
5686
|
+
? !m.__esModule
|
|
5687
|
+
: desc.writable || desc.configurable)
|
|
5688
|
+
) {
|
|
5689
|
+
desc = {
|
|
5690
|
+
enumerable: true,
|
|
5691
|
+
get: function () {
|
|
5692
|
+
return m[k];
|
|
5693
|
+
},
|
|
5694
|
+
};
|
|
5695
|
+
}
|
|
5696
|
+
Object.defineProperty(o, k2, desc);
|
|
5697
|
+
}
|
|
5698
|
+
: function (o, m, k, k2) {
|
|
5699
|
+
if (k2 === undefined) k2 = k;
|
|
5700
|
+
o[k2] = m[k];
|
|
5701
|
+
};
|
|
5702
|
+
__values = function (o) {
|
|
5703
|
+
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
5704
|
+
m = s && o[s],
|
|
5705
|
+
i = 0;
|
|
5706
|
+
if (m) return m.call(o);
|
|
5707
|
+
if (o && typeof o.length === "number")
|
|
5708
|
+
return {
|
|
5709
|
+
next: function () {
|
|
5710
|
+
if (o && i >= o.length) o = void 0;
|
|
5711
|
+
return { value: o && o[i++], done: !o };
|
|
5712
|
+
},
|
|
5713
|
+
};
|
|
5714
|
+
throw new TypeError(
|
|
5715
|
+
s ? "Object is not iterable." : "Symbol.iterator is not defined.",
|
|
5716
|
+
);
|
|
5717
|
+
};
|
|
5718
|
+
__read = function (o, n) {
|
|
5719
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
5720
|
+
if (!m) return o;
|
|
5721
|
+
var i = m.call(o),
|
|
5722
|
+
r,
|
|
5723
|
+
ar = [],
|
|
5724
|
+
e;
|
|
5725
|
+
try {
|
|
5726
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
5727
|
+
ar.push(r.value);
|
|
5728
|
+
} catch (error) {
|
|
5729
|
+
e = { error };
|
|
5730
|
+
} finally {
|
|
5731
|
+
try {
|
|
5732
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
5733
|
+
} finally {
|
|
5734
|
+
if (e) throw e.error;
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5737
|
+
return ar;
|
|
5738
|
+
};
|
|
5739
|
+
__spread = function () {
|
|
5740
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
5741
|
+
ar = ar.concat(__read(arguments[i]));
|
|
5742
|
+
return ar;
|
|
5743
|
+
};
|
|
5744
|
+
__spreadArrays = function () {
|
|
5745
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
5746
|
+
s += arguments[i].length;
|
|
5747
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
5748
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
5749
|
+
r[k] = a[j];
|
|
5750
|
+
return r;
|
|
5751
|
+
};
|
|
5752
|
+
__spreadArray = function (to, from, pack) {
|
|
5753
|
+
if (pack || arguments.length === 2)
|
|
5754
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
5755
|
+
if (ar || !(i in from)) {
|
|
5756
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
5757
|
+
ar[i] = from[i];
|
|
5758
|
+
}
|
|
5759
|
+
}
|
|
5760
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
5761
|
+
};
|
|
5762
|
+
__await = function (v) {
|
|
5763
|
+
return this instanceof __await
|
|
5764
|
+
? ((this.v = v), this)
|
|
5765
|
+
: new __await(v);
|
|
5766
|
+
};
|
|
5767
|
+
__asyncGenerator = function (thisArg, _arguments, generator) {
|
|
5768
|
+
if (!Symbol.asyncIterator)
|
|
5769
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
5770
|
+
var g = generator.apply(thisArg, _arguments || []),
|
|
5771
|
+
i,
|
|
5772
|
+
q = [];
|
|
5773
|
+
return (
|
|
5774
|
+
(i = Object.create(
|
|
5775
|
+
(typeof AsyncIterator === "function" ? AsyncIterator : Object)
|
|
5776
|
+
.prototype,
|
|
5777
|
+
)),
|
|
5778
|
+
verb("next"),
|
|
5779
|
+
verb("throw"),
|
|
5780
|
+
verb("return", awaitReturn),
|
|
5781
|
+
(i[Symbol.asyncIterator] = function () {
|
|
5782
|
+
return this;
|
|
5783
|
+
}),
|
|
5784
|
+
i
|
|
5785
|
+
);
|
|
5786
|
+
function awaitReturn(f) {
|
|
5787
|
+
return function (v) {
|
|
5788
|
+
return Promise.resolve(v).then(f, reject);
|
|
5789
|
+
};
|
|
5790
|
+
}
|
|
5791
|
+
function verb(n, f) {
|
|
5792
|
+
if (g[n]) {
|
|
5793
|
+
i[n] = function (v) {
|
|
5794
|
+
return new Promise(function (a, b) {
|
|
5795
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
5796
|
+
});
|
|
5797
|
+
};
|
|
5798
|
+
if (f) i[n] = f(i[n]);
|
|
5799
|
+
}
|
|
5800
|
+
}
|
|
5801
|
+
function resume(n, v) {
|
|
5802
|
+
try {
|
|
5803
|
+
step(g[n](v));
|
|
5804
|
+
} catch (e) {
|
|
5805
|
+
settle(q[0][3], e);
|
|
5806
|
+
}
|
|
5807
|
+
}
|
|
5808
|
+
function step(r) {
|
|
5809
|
+
r.value instanceof __await
|
|
5810
|
+
? Promise.resolve(r.value.v).then(fulfill, reject)
|
|
5811
|
+
: settle(q[0][2], r);
|
|
5812
|
+
}
|
|
5813
|
+
function fulfill(value) {
|
|
5814
|
+
resume("next", value);
|
|
5815
|
+
}
|
|
5816
|
+
function reject(value) {
|
|
5817
|
+
resume("throw", value);
|
|
5818
|
+
}
|
|
5819
|
+
function settle(f, v) {
|
|
5820
|
+
if ((f(v), q.shift(), q.length)) resume(q[0][0], q[0][1]);
|
|
5821
|
+
}
|
|
5822
|
+
};
|
|
5823
|
+
__asyncDelegator = function (o) {
|
|
5824
|
+
var i, p;
|
|
5825
|
+
return (
|
|
5826
|
+
(i = {}),
|
|
5827
|
+
verb("next"),
|
|
5828
|
+
verb("throw", function (e) {
|
|
5829
|
+
throw e;
|
|
5830
|
+
}),
|
|
5831
|
+
verb("return"),
|
|
5832
|
+
(i[Symbol.iterator] = function () {
|
|
5833
|
+
return this;
|
|
5834
|
+
}),
|
|
5835
|
+
i
|
|
5836
|
+
);
|
|
5837
|
+
function verb(n, f) {
|
|
5838
|
+
i[n] = o[n]
|
|
5839
|
+
? function (v) {
|
|
5840
|
+
return (p = !p)
|
|
5841
|
+
? { value: __await(o[n](v)), done: false }
|
|
5842
|
+
: f
|
|
5843
|
+
? f(v)
|
|
5844
|
+
: v;
|
|
5845
|
+
}
|
|
5846
|
+
: f;
|
|
5847
|
+
}
|
|
5848
|
+
};
|
|
5849
|
+
__asyncValues = function (o) {
|
|
5850
|
+
if (!Symbol.asyncIterator)
|
|
5851
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
5852
|
+
var m = o[Symbol.asyncIterator],
|
|
5853
|
+
i;
|
|
5854
|
+
return m
|
|
5855
|
+
? m.call(o)
|
|
5856
|
+
: ((o =
|
|
5857
|
+
typeof __values === "function"
|
|
5858
|
+
? __values(o)
|
|
5859
|
+
: o[Symbol.iterator]()),
|
|
5860
|
+
(i = {}),
|
|
5861
|
+
verb("next"),
|
|
5862
|
+
verb("throw"),
|
|
5863
|
+
verb("return"),
|
|
5864
|
+
(i[Symbol.asyncIterator] = function () {
|
|
5865
|
+
return this;
|
|
5866
|
+
}),
|
|
5867
|
+
i);
|
|
5868
|
+
function verb(n) {
|
|
5869
|
+
i[n] =
|
|
5870
|
+
o[n] &&
|
|
5871
|
+
function (v) {
|
|
5872
|
+
return new Promise(function (resolve, reject) {
|
|
5873
|
+
(v = o[n](v)), settle(resolve, reject, v.done, v.value);
|
|
5874
|
+
});
|
|
5875
|
+
};
|
|
5876
|
+
}
|
|
5877
|
+
function settle(resolve, reject, d, v) {
|
|
5878
|
+
Promise.resolve(v).then(function (v) {
|
|
5879
|
+
resolve({ value: v, done: d });
|
|
5880
|
+
}, reject);
|
|
5881
|
+
}
|
|
5882
|
+
};
|
|
5883
|
+
__makeTemplateObject = function (cooked, raw) {
|
|
5884
|
+
if (Object.defineProperty) {
|
|
5885
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
5886
|
+
} else {
|
|
5887
|
+
cooked.raw = raw;
|
|
5888
|
+
}
|
|
5889
|
+
return cooked;
|
|
5890
|
+
};
|
|
5891
|
+
var __setModuleDefault = Object.create
|
|
5892
|
+
? function (o, v) {
|
|
5893
|
+
Object.defineProperty(o, "default", {
|
|
5894
|
+
enumerable: true,
|
|
5895
|
+
value: v,
|
|
5896
|
+
});
|
|
5897
|
+
}
|
|
5898
|
+
: function (o, v) {
|
|
5899
|
+
o["default"] = v;
|
|
5900
|
+
};
|
|
5901
|
+
var ownKeys = function (o) {
|
|
5902
|
+
ownKeys =
|
|
5903
|
+
Object.getOwnPropertyNames ||
|
|
5904
|
+
function (o) {
|
|
5905
|
+
var ar = [];
|
|
5906
|
+
for (var k in o)
|
|
5907
|
+
if (Object.prototype.hasOwnProperty.call(o, k))
|
|
5908
|
+
ar[ar.length] = k;
|
|
5909
|
+
return ar;
|
|
5910
|
+
};
|
|
5911
|
+
return ownKeys(o);
|
|
5912
|
+
};
|
|
5913
|
+
__importStar = function (mod) {
|
|
5914
|
+
if (mod && mod.__esModule) return mod;
|
|
5915
|
+
var result = {};
|
|
5916
|
+
if (mod != null)
|
|
5917
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++)
|
|
5918
|
+
if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
5919
|
+
__setModuleDefault(result, mod);
|
|
5920
|
+
return result;
|
|
5921
|
+
};
|
|
5922
|
+
__importDefault = function (mod) {
|
|
5923
|
+
return mod && mod.__esModule ? mod : { default: mod };
|
|
5924
|
+
};
|
|
5925
|
+
__classPrivateFieldGet = function (receiver, state, kind, f) {
|
|
5926
|
+
if (kind === "a" && !f)
|
|
5927
|
+
throw new TypeError(
|
|
5928
|
+
"Private accessor was defined without a getter",
|
|
5929
|
+
);
|
|
5930
|
+
if (
|
|
5931
|
+
typeof state === "function"
|
|
5932
|
+
? receiver !== state || !f
|
|
5933
|
+
: !state.has(receiver)
|
|
5934
|
+
)
|
|
5935
|
+
throw new TypeError(
|
|
5936
|
+
"Cannot read private member from an object whose class did not declare it",
|
|
5937
|
+
);
|
|
5938
|
+
return kind === "m"
|
|
5939
|
+
? f
|
|
5940
|
+
: kind === "a"
|
|
5941
|
+
? f.call(receiver)
|
|
5942
|
+
: f
|
|
5943
|
+
? f.value
|
|
5944
|
+
: state.get(receiver);
|
|
5945
|
+
};
|
|
5946
|
+
__classPrivateFieldSet = function (receiver, state, value, kind, f) {
|
|
5947
|
+
if (kind === "m")
|
|
5948
|
+
throw new TypeError("Private method is not writable");
|
|
5949
|
+
if (kind === "a" && !f)
|
|
5950
|
+
throw new TypeError(
|
|
5951
|
+
"Private accessor was defined without a setter",
|
|
5952
|
+
);
|
|
5953
|
+
if (
|
|
5954
|
+
typeof state === "function"
|
|
5955
|
+
? receiver !== state || !f
|
|
5956
|
+
: !state.has(receiver)
|
|
5957
|
+
)
|
|
5958
|
+
throw new TypeError(
|
|
5959
|
+
"Cannot write private member to an object whose class did not declare it",
|
|
5960
|
+
);
|
|
5961
|
+
return (
|
|
5962
|
+
kind === "a"
|
|
5963
|
+
? f.call(receiver, value)
|
|
5964
|
+
: f
|
|
5965
|
+
? (f.value = value)
|
|
5966
|
+
: state.set(receiver, value),
|
|
5967
|
+
value
|
|
5968
|
+
);
|
|
5969
|
+
};
|
|
5970
|
+
__classPrivateFieldIn = function (state, receiver) {
|
|
5971
|
+
if (
|
|
5972
|
+
receiver === null ||
|
|
5973
|
+
(typeof receiver !== "object" && typeof receiver !== "function")
|
|
5974
|
+
)
|
|
5975
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
5976
|
+
return typeof state === "function"
|
|
5977
|
+
? receiver === state
|
|
5978
|
+
: state.has(receiver);
|
|
5979
|
+
};
|
|
5980
|
+
__addDisposableResource = function (env, value, async) {
|
|
5981
|
+
if (value !== null && value !== void 0) {
|
|
5982
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
5983
|
+
throw new TypeError("Object expected.");
|
|
5984
|
+
var dispose, inner;
|
|
5985
|
+
if (async) {
|
|
5986
|
+
if (!Symbol.asyncDispose)
|
|
5987
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
5988
|
+
dispose = value[Symbol.asyncDispose];
|
|
5989
|
+
}
|
|
5990
|
+
if (dispose === void 0) {
|
|
5991
|
+
if (!Symbol.dispose)
|
|
5992
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
5993
|
+
dispose = value[Symbol.dispose];
|
|
5994
|
+
if (async) inner = dispose;
|
|
5995
|
+
}
|
|
5996
|
+
if (typeof dispose !== "function")
|
|
5997
|
+
throw new TypeError("Object not disposable.");
|
|
5998
|
+
if (inner)
|
|
5999
|
+
dispose = function () {
|
|
6000
|
+
try {
|
|
6001
|
+
inner.call(this);
|
|
6002
|
+
} catch (e) {
|
|
6003
|
+
return Promise.reject(e);
|
|
6004
|
+
}
|
|
6005
|
+
};
|
|
6006
|
+
env.stack.push({ value, dispose, async });
|
|
6007
|
+
} else if (async) {
|
|
6008
|
+
env.stack.push({ async: true });
|
|
6009
|
+
}
|
|
6010
|
+
return value;
|
|
6011
|
+
};
|
|
6012
|
+
var _SuppressedError =
|
|
6013
|
+
typeof SuppressedError === "function"
|
|
6014
|
+
? SuppressedError
|
|
6015
|
+
: function (error, suppressed, message) {
|
|
6016
|
+
var e = new Error(message);
|
|
6017
|
+
return (
|
|
6018
|
+
(e.name = "SuppressedError"),
|
|
6019
|
+
(e.error = error),
|
|
6020
|
+
(e.suppressed = suppressed),
|
|
6021
|
+
e
|
|
6022
|
+
);
|
|
6023
|
+
};
|
|
6024
|
+
__disposeResources = function (env) {
|
|
6025
|
+
function fail(e) {
|
|
6026
|
+
env.error = env.hasError
|
|
6027
|
+
? new _SuppressedError(
|
|
6028
|
+
e,
|
|
6029
|
+
env.error,
|
|
6030
|
+
"An error was suppressed during disposal.",
|
|
6031
|
+
)
|
|
6032
|
+
: e;
|
|
6033
|
+
env.hasError = true;
|
|
6034
|
+
}
|
|
6035
|
+
var r,
|
|
6036
|
+
s = 0;
|
|
6037
|
+
function next() {
|
|
6038
|
+
while ((r = env.stack.pop())) {
|
|
6039
|
+
try {
|
|
6040
|
+
if (!r.async && s === 1)
|
|
6041
|
+
return (
|
|
6042
|
+
(s = 0), env.stack.push(r), Promise.resolve().then(next)
|
|
6043
|
+
);
|
|
6044
|
+
if (r.dispose) {
|
|
6045
|
+
var result = r.dispose.call(r.value);
|
|
6046
|
+
if (r.async)
|
|
6047
|
+
return (
|
|
6048
|
+
(s |= 2),
|
|
6049
|
+
Promise.resolve(result).then(next, function (e) {
|
|
6050
|
+
fail(e);
|
|
6051
|
+
return next();
|
|
6052
|
+
})
|
|
6053
|
+
);
|
|
6054
|
+
} else s |= 1;
|
|
6055
|
+
} catch (e) {
|
|
6056
|
+
fail(e);
|
|
6057
|
+
}
|
|
6058
|
+
}
|
|
6059
|
+
if (s === 1)
|
|
6060
|
+
return env.hasError
|
|
6061
|
+
? Promise.reject(env.error)
|
|
6062
|
+
: Promise.resolve();
|
|
6063
|
+
if (env.hasError) throw env.error;
|
|
6064
|
+
}
|
|
6065
|
+
return next();
|
|
6066
|
+
};
|
|
6067
|
+
__rewriteRelativeImportExtension = function (path, preserveJsx) {
|
|
6068
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
6069
|
+
return path.replace(
|
|
6070
|
+
/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,
|
|
6071
|
+
function (m, tsx, d, ext, cm) {
|
|
6072
|
+
return tsx
|
|
6073
|
+
? preserveJsx
|
|
6074
|
+
? ".jsx"
|
|
6075
|
+
: ".js"
|
|
6076
|
+
: d && (!ext || !cm)
|
|
6077
|
+
? m
|
|
6078
|
+
: d + ext + "." + cm.toLowerCase() + "js";
|
|
6079
|
+
},
|
|
6080
|
+
);
|
|
6081
|
+
}
|
|
6082
|
+
return path;
|
|
6083
|
+
};
|
|
6084
|
+
exporter("__extends", __extends);
|
|
6085
|
+
exporter("__assign", __assign);
|
|
6086
|
+
exporter("__rest", __rest);
|
|
6087
|
+
exporter("__decorate", __decorate);
|
|
6088
|
+
exporter("__param", __param);
|
|
6089
|
+
exporter("__esDecorate", __esDecorate);
|
|
6090
|
+
exporter("__runInitializers", __runInitializers);
|
|
6091
|
+
exporter("__propKey", __propKey);
|
|
6092
|
+
exporter("__setFunctionName", __setFunctionName);
|
|
6093
|
+
exporter("__metadata", __metadata);
|
|
6094
|
+
exporter("__awaiter", __awaiter);
|
|
6095
|
+
exporter("__generator", __generator);
|
|
6096
|
+
exporter("__exportStar", __exportStar);
|
|
6097
|
+
exporter("__createBinding", __createBinding);
|
|
6098
|
+
exporter("__values", __values);
|
|
6099
|
+
exporter("__read", __read);
|
|
6100
|
+
exporter("__spread", __spread);
|
|
6101
|
+
exporter("__spreadArrays", __spreadArrays);
|
|
6102
|
+
exporter("__spreadArray", __spreadArray);
|
|
6103
|
+
exporter("__await", __await);
|
|
6104
|
+
exporter("__asyncGenerator", __asyncGenerator);
|
|
6105
|
+
exporter("__asyncDelegator", __asyncDelegator);
|
|
6106
|
+
exporter("__asyncValues", __asyncValues);
|
|
6107
|
+
exporter("__makeTemplateObject", __makeTemplateObject);
|
|
6108
|
+
exporter("__importStar", __importStar);
|
|
6109
|
+
exporter("__importDefault", __importDefault);
|
|
6110
|
+
exporter("__classPrivateFieldGet", __classPrivateFieldGet);
|
|
6111
|
+
exporter("__classPrivateFieldSet", __classPrivateFieldSet);
|
|
6112
|
+
exporter("__classPrivateFieldIn", __classPrivateFieldIn);
|
|
6113
|
+
exporter("__addDisposableResource", __addDisposableResource);
|
|
6114
|
+
exporter("__disposeResources", __disposeResources);
|
|
6115
|
+
exporter(
|
|
6116
|
+
"__rewriteRelativeImportExtension",
|
|
6117
|
+
__rewriteRelativeImportExtension,
|
|
6118
|
+
);
|
|
6119
|
+
});
|
|
6120
|
+
0 && 0;
|
|
6121
|
+
},
|
|
4985
6122
|
802: (module) => {
|
|
6123
|
+
"use strict";
|
|
4986
6124
|
module.exports = require("../mrmime");
|
|
4987
6125
|
},
|
|
4988
|
-
|
|
6126
|
+
9491: (module) => {
|
|
6127
|
+
"use strict";
|
|
4989
6128
|
module.exports = require("assert");
|
|
4990
6129
|
},
|
|
4991
6130
|
852: (module) => {
|
|
6131
|
+
"use strict";
|
|
4992
6132
|
module.exports = require("async_hooks");
|
|
4993
6133
|
},
|
|
4994
|
-
|
|
6134
|
+
4300: (module) => {
|
|
6135
|
+
"use strict";
|
|
4995
6136
|
module.exports = require("buffer");
|
|
4996
6137
|
},
|
|
4997
|
-
|
|
6138
|
+
2361: (module) => {
|
|
6139
|
+
"use strict";
|
|
4998
6140
|
module.exports = require("events");
|
|
4999
6141
|
},
|
|
5000
|
-
|
|
6142
|
+
7147: (module) => {
|
|
6143
|
+
"use strict";
|
|
5001
6144
|
module.exports = require("fs");
|
|
5002
6145
|
},
|
|
5003
|
-
|
|
6146
|
+
1017: (module) => {
|
|
6147
|
+
"use strict";
|
|
5004
6148
|
module.exports = require("path");
|
|
5005
6149
|
},
|
|
5006
|
-
|
|
6150
|
+
7282: (module) => {
|
|
6151
|
+
"use strict";
|
|
5007
6152
|
module.exports = require("process");
|
|
5008
6153
|
},
|
|
5009
|
-
|
|
6154
|
+
3477: (module) => {
|
|
6155
|
+
"use strict";
|
|
5010
6156
|
module.exports = require("querystring");
|
|
5011
6157
|
},
|
|
5012
|
-
|
|
6158
|
+
2781: (module) => {
|
|
6159
|
+
"use strict";
|
|
5013
6160
|
module.exports = require("stream");
|
|
5014
6161
|
},
|
|
5015
|
-
|
|
6162
|
+
7310: (module) => {
|
|
6163
|
+
"use strict";
|
|
5016
6164
|
module.exports = require("url");
|
|
5017
6165
|
},
|
|
5018
|
-
|
|
6166
|
+
3837: (module) => {
|
|
6167
|
+
"use strict";
|
|
5019
6168
|
module.exports = require("util");
|
|
5020
6169
|
},
|
|
5021
6170
|
};
|
|
@@ -5041,6 +6190,6 @@
|
|
|
5041
6190
|
}
|
|
5042
6191
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5043
6192
|
__nccwpck_require__.ab = __dirname + "/";
|
|
5044
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
6193
|
+
var __webpack_exports__ = __nccwpck_require__(3280);
|
|
5045
6194
|
module.exports = __webpack_exports__;
|
|
5046
6195
|
})();
|