@rspack-canary/core 1.6.0-canary-c1ffd5c5-20251016085846 → 1.6.0-canary-beafb11e-20251017173713
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/compiled/watchpack/index.js +1000 -3
- package/dist/RspackError.d.ts +3 -0
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +0 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +0 -1
- package/dist/exports.d.ts +1 -3
- package/dist/index.js +301 -4645
- package/dist/util/index.d.ts +0 -3
- package/dist/util/validateConfig.d.ts +5 -0
- package/package.json +4 -7
- package/compiled/graceful-fs/index.d.ts +0 -13
- package/compiled/graceful-fs/index.js +0 -1063
- package/compiled/graceful-fs/license +0 -15
- package/compiled/graceful-fs/package.json +0 -1
- package/dist/schema/config.d.ts +0 -1030
- package/dist/schema/loaders.d.ts +0 -402
- package/dist/schema/plugins.d.ts +0 -167
- package/dist/schema/utils.d.ts +0 -5
- package/dist/schema/validate.d.ts +0 -10
|
@@ -1,1063 +0,0 @@
|
|
|
1
|
-
/******/ (() => { // webpackBootstrap
|
|
2
|
-
/******/ var __webpack_modules__ = ({
|
|
3
|
-
|
|
4
|
-
/***/ 759:
|
|
5
|
-
/***/ ((module) => {
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
module.exports = clone
|
|
11
|
-
|
|
12
|
-
var getPrototypeOf = Object.getPrototypeOf || function (obj) {
|
|
13
|
-
return obj.__proto__
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function clone (obj) {
|
|
17
|
-
if (obj === null || typeof obj !== 'object')
|
|
18
|
-
return obj
|
|
19
|
-
|
|
20
|
-
if (obj instanceof Object)
|
|
21
|
-
var copy = { __proto__: getPrototypeOf(obj) }
|
|
22
|
-
else
|
|
23
|
-
var copy = Object.create(null)
|
|
24
|
-
|
|
25
|
-
Object.getOwnPropertyNames(obj).forEach(function (key) {
|
|
26
|
-
Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
return copy
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/***/ }),
|
|
34
|
-
|
|
35
|
-
/***/ 523:
|
|
36
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
37
|
-
|
|
38
|
-
var fs = __nccwpck_require__(896)
|
|
39
|
-
var polyfills = __nccwpck_require__(710)
|
|
40
|
-
var legacy = __nccwpck_require__(615)
|
|
41
|
-
var clone = __nccwpck_require__(759)
|
|
42
|
-
|
|
43
|
-
var util = __nccwpck_require__(23)
|
|
44
|
-
|
|
45
|
-
/* istanbul ignore next - node 0.x polyfill */
|
|
46
|
-
var gracefulQueue
|
|
47
|
-
var previousSymbol
|
|
48
|
-
|
|
49
|
-
/* istanbul ignore else - node 0.x polyfill */
|
|
50
|
-
if (typeof Symbol === 'function' && typeof Symbol.for === 'function') {
|
|
51
|
-
gracefulQueue = Symbol.for('graceful-fs.queue')
|
|
52
|
-
// This is used in testing by future versions
|
|
53
|
-
previousSymbol = Symbol.for('graceful-fs.previous')
|
|
54
|
-
} else {
|
|
55
|
-
gracefulQueue = '___graceful-fs.queue'
|
|
56
|
-
previousSymbol = '___graceful-fs.previous'
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function noop () {}
|
|
60
|
-
|
|
61
|
-
function publishQueue(context, queue) {
|
|
62
|
-
Object.defineProperty(context, gracefulQueue, {
|
|
63
|
-
get: function() {
|
|
64
|
-
return queue
|
|
65
|
-
}
|
|
66
|
-
})
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
var debug = noop
|
|
70
|
-
if (util.debuglog)
|
|
71
|
-
debug = util.debuglog('gfs4')
|
|
72
|
-
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ''))
|
|
73
|
-
debug = function() {
|
|
74
|
-
var m = util.format.apply(util, arguments)
|
|
75
|
-
m = 'GFS4: ' + m.split(/\n/).join('\nGFS4: ')
|
|
76
|
-
console.error(m)
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// Once time initialization
|
|
80
|
-
if (!fs[gracefulQueue]) {
|
|
81
|
-
// This queue can be shared by multiple loaded instances
|
|
82
|
-
var queue = global[gracefulQueue] || []
|
|
83
|
-
publishQueue(fs, queue)
|
|
84
|
-
|
|
85
|
-
// Patch fs.close/closeSync to shared queue version, because we need
|
|
86
|
-
// to retry() whenever a close happens *anywhere* in the program.
|
|
87
|
-
// This is essential when multiple graceful-fs instances are
|
|
88
|
-
// in play at the same time.
|
|
89
|
-
fs.close = (function (fs$close) {
|
|
90
|
-
function close (fd, cb) {
|
|
91
|
-
return fs$close.call(fs, fd, function (err) {
|
|
92
|
-
// This function uses the graceful-fs shared queue
|
|
93
|
-
if (!err) {
|
|
94
|
-
resetQueue()
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
if (typeof cb === 'function')
|
|
98
|
-
cb.apply(this, arguments)
|
|
99
|
-
})
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
Object.defineProperty(close, previousSymbol, {
|
|
103
|
-
value: fs$close
|
|
104
|
-
})
|
|
105
|
-
return close
|
|
106
|
-
})(fs.close)
|
|
107
|
-
|
|
108
|
-
fs.closeSync = (function (fs$closeSync) {
|
|
109
|
-
function closeSync (fd) {
|
|
110
|
-
// This function uses the graceful-fs shared queue
|
|
111
|
-
fs$closeSync.apply(fs, arguments)
|
|
112
|
-
resetQueue()
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
Object.defineProperty(closeSync, previousSymbol, {
|
|
116
|
-
value: fs$closeSync
|
|
117
|
-
})
|
|
118
|
-
return closeSync
|
|
119
|
-
})(fs.closeSync)
|
|
120
|
-
|
|
121
|
-
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) {
|
|
122
|
-
process.on('exit', function() {
|
|
123
|
-
debug(fs[gracefulQueue])
|
|
124
|
-
__nccwpck_require__(613).equal(fs[gracefulQueue].length, 0)
|
|
125
|
-
})
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
if (!global[gracefulQueue]) {
|
|
130
|
-
publishQueue(global, fs[gracefulQueue]);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
module.exports = patch(clone(fs))
|
|
134
|
-
if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
|
|
135
|
-
module.exports = patch(fs)
|
|
136
|
-
fs.__patched = true;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function patch (fs) {
|
|
140
|
-
// Everything that references the open() function needs to be in here
|
|
141
|
-
polyfills(fs)
|
|
142
|
-
fs.gracefulify = patch
|
|
143
|
-
|
|
144
|
-
fs.createReadStream = createReadStream
|
|
145
|
-
fs.createWriteStream = createWriteStream
|
|
146
|
-
var fs$readFile = fs.readFile
|
|
147
|
-
fs.readFile = readFile
|
|
148
|
-
function readFile (path, options, cb) {
|
|
149
|
-
if (typeof options === 'function')
|
|
150
|
-
cb = options, options = null
|
|
151
|
-
|
|
152
|
-
return go$readFile(path, options, cb)
|
|
153
|
-
|
|
154
|
-
function go$readFile (path, options, cb, startTime) {
|
|
155
|
-
return fs$readFile(path, options, function (err) {
|
|
156
|
-
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
|
157
|
-
enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])
|
|
158
|
-
else {
|
|
159
|
-
if (typeof cb === 'function')
|
|
160
|
-
cb.apply(this, arguments)
|
|
161
|
-
}
|
|
162
|
-
})
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
var fs$writeFile = fs.writeFile
|
|
167
|
-
fs.writeFile = writeFile
|
|
168
|
-
function writeFile (path, data, options, cb) {
|
|
169
|
-
if (typeof options === 'function')
|
|
170
|
-
cb = options, options = null
|
|
171
|
-
|
|
172
|
-
return go$writeFile(path, data, options, cb)
|
|
173
|
-
|
|
174
|
-
function go$writeFile (path, data, options, cb, startTime) {
|
|
175
|
-
return fs$writeFile(path, data, options, function (err) {
|
|
176
|
-
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
|
177
|
-
enqueue([go$writeFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
|
|
178
|
-
else {
|
|
179
|
-
if (typeof cb === 'function')
|
|
180
|
-
cb.apply(this, arguments)
|
|
181
|
-
}
|
|
182
|
-
})
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
var fs$appendFile = fs.appendFile
|
|
187
|
-
if (fs$appendFile)
|
|
188
|
-
fs.appendFile = appendFile
|
|
189
|
-
function appendFile (path, data, options, cb) {
|
|
190
|
-
if (typeof options === 'function')
|
|
191
|
-
cb = options, options = null
|
|
192
|
-
|
|
193
|
-
return go$appendFile(path, data, options, cb)
|
|
194
|
-
|
|
195
|
-
function go$appendFile (path, data, options, cb, startTime) {
|
|
196
|
-
return fs$appendFile(path, data, options, function (err) {
|
|
197
|
-
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
|
198
|
-
enqueue([go$appendFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
|
|
199
|
-
else {
|
|
200
|
-
if (typeof cb === 'function')
|
|
201
|
-
cb.apply(this, arguments)
|
|
202
|
-
}
|
|
203
|
-
})
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
var fs$copyFile = fs.copyFile
|
|
208
|
-
if (fs$copyFile)
|
|
209
|
-
fs.copyFile = copyFile
|
|
210
|
-
function copyFile (src, dest, flags, cb) {
|
|
211
|
-
if (typeof flags === 'function') {
|
|
212
|
-
cb = flags
|
|
213
|
-
flags = 0
|
|
214
|
-
}
|
|
215
|
-
return go$copyFile(src, dest, flags, cb)
|
|
216
|
-
|
|
217
|
-
function go$copyFile (src, dest, flags, cb, startTime) {
|
|
218
|
-
return fs$copyFile(src, dest, flags, function (err) {
|
|
219
|
-
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE' || err.code === 'EBUSY'))
|
|
220
|
-
enqueue([go$copyFile, [src, dest, flags, cb], err, startTime || Date.now(), Date.now()])
|
|
221
|
-
else {
|
|
222
|
-
if (typeof cb === 'function')
|
|
223
|
-
cb.apply(this, arguments)
|
|
224
|
-
}
|
|
225
|
-
})
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
var fs$readdir = fs.readdir
|
|
230
|
-
fs.readdir = readdir
|
|
231
|
-
var noReaddirOptionVersions = /^v[0-5]\./
|
|
232
|
-
function readdir (path, options, cb) {
|
|
233
|
-
if (typeof options === 'function')
|
|
234
|
-
cb = options, options = null
|
|
235
|
-
|
|
236
|
-
var go$readdir = noReaddirOptionVersions.test(process.version)
|
|
237
|
-
? function go$readdir (path, options, cb, startTime) {
|
|
238
|
-
return fs$readdir(path, fs$readdirCallback(
|
|
239
|
-
path, options, cb, startTime
|
|
240
|
-
))
|
|
241
|
-
}
|
|
242
|
-
: function go$readdir (path, options, cb, startTime) {
|
|
243
|
-
return fs$readdir(path, options, fs$readdirCallback(
|
|
244
|
-
path, options, cb, startTime
|
|
245
|
-
))
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
return go$readdir(path, options, cb)
|
|
249
|
-
|
|
250
|
-
function fs$readdirCallback (path, options, cb, startTime) {
|
|
251
|
-
return function (err, files) {
|
|
252
|
-
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
|
253
|
-
enqueue([
|
|
254
|
-
go$readdir,
|
|
255
|
-
[path, options, cb],
|
|
256
|
-
err,
|
|
257
|
-
startTime || Date.now(),
|
|
258
|
-
Date.now()
|
|
259
|
-
])
|
|
260
|
-
else {
|
|
261
|
-
if (files && files.sort)
|
|
262
|
-
files.sort()
|
|
263
|
-
|
|
264
|
-
if (typeof cb === 'function')
|
|
265
|
-
cb.call(this, err, files)
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
if (process.version.substr(0, 4) === 'v0.8') {
|
|
272
|
-
var legStreams = legacy(fs)
|
|
273
|
-
ReadStream = legStreams.ReadStream
|
|
274
|
-
WriteStream = legStreams.WriteStream
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
var fs$ReadStream = fs.ReadStream
|
|
278
|
-
if (fs$ReadStream) {
|
|
279
|
-
ReadStream.prototype = Object.create(fs$ReadStream.prototype)
|
|
280
|
-
ReadStream.prototype.open = ReadStream$open
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
var fs$WriteStream = fs.WriteStream
|
|
284
|
-
if (fs$WriteStream) {
|
|
285
|
-
WriteStream.prototype = Object.create(fs$WriteStream.prototype)
|
|
286
|
-
WriteStream.prototype.open = WriteStream$open
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
Object.defineProperty(fs, 'ReadStream', {
|
|
290
|
-
get: function () {
|
|
291
|
-
return ReadStream
|
|
292
|
-
},
|
|
293
|
-
set: function (val) {
|
|
294
|
-
ReadStream = val
|
|
295
|
-
},
|
|
296
|
-
enumerable: true,
|
|
297
|
-
configurable: true
|
|
298
|
-
})
|
|
299
|
-
Object.defineProperty(fs, 'WriteStream', {
|
|
300
|
-
get: function () {
|
|
301
|
-
return WriteStream
|
|
302
|
-
},
|
|
303
|
-
set: function (val) {
|
|
304
|
-
WriteStream = val
|
|
305
|
-
},
|
|
306
|
-
enumerable: true,
|
|
307
|
-
configurable: true
|
|
308
|
-
})
|
|
309
|
-
|
|
310
|
-
// legacy names
|
|
311
|
-
var FileReadStream = ReadStream
|
|
312
|
-
Object.defineProperty(fs, 'FileReadStream', {
|
|
313
|
-
get: function () {
|
|
314
|
-
return FileReadStream
|
|
315
|
-
},
|
|
316
|
-
set: function (val) {
|
|
317
|
-
FileReadStream = val
|
|
318
|
-
},
|
|
319
|
-
enumerable: true,
|
|
320
|
-
configurable: true
|
|
321
|
-
})
|
|
322
|
-
var FileWriteStream = WriteStream
|
|
323
|
-
Object.defineProperty(fs, 'FileWriteStream', {
|
|
324
|
-
get: function () {
|
|
325
|
-
return FileWriteStream
|
|
326
|
-
},
|
|
327
|
-
set: function (val) {
|
|
328
|
-
FileWriteStream = val
|
|
329
|
-
},
|
|
330
|
-
enumerable: true,
|
|
331
|
-
configurable: true
|
|
332
|
-
})
|
|
333
|
-
|
|
334
|
-
function ReadStream (path, options) {
|
|
335
|
-
if (this instanceof ReadStream)
|
|
336
|
-
return fs$ReadStream.apply(this, arguments), this
|
|
337
|
-
else
|
|
338
|
-
return ReadStream.apply(Object.create(ReadStream.prototype), arguments)
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
function ReadStream$open () {
|
|
342
|
-
var that = this
|
|
343
|
-
open(that.path, that.flags, that.mode, function (err, fd) {
|
|
344
|
-
if (err) {
|
|
345
|
-
if (that.autoClose)
|
|
346
|
-
that.destroy()
|
|
347
|
-
|
|
348
|
-
that.emit('error', err)
|
|
349
|
-
} else {
|
|
350
|
-
that.fd = fd
|
|
351
|
-
that.emit('open', fd)
|
|
352
|
-
that.read()
|
|
353
|
-
}
|
|
354
|
-
})
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
function WriteStream (path, options) {
|
|
358
|
-
if (this instanceof WriteStream)
|
|
359
|
-
return fs$WriteStream.apply(this, arguments), this
|
|
360
|
-
else
|
|
361
|
-
return WriteStream.apply(Object.create(WriteStream.prototype), arguments)
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
function WriteStream$open () {
|
|
365
|
-
var that = this
|
|
366
|
-
open(that.path, that.flags, that.mode, function (err, fd) {
|
|
367
|
-
if (err) {
|
|
368
|
-
that.destroy()
|
|
369
|
-
that.emit('error', err)
|
|
370
|
-
} else {
|
|
371
|
-
that.fd = fd
|
|
372
|
-
that.emit('open', fd)
|
|
373
|
-
}
|
|
374
|
-
})
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
function createReadStream (path, options) {
|
|
378
|
-
return new fs.ReadStream(path, options)
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
function createWriteStream (path, options) {
|
|
382
|
-
return new fs.WriteStream(path, options)
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
var fs$open = fs.open
|
|
386
|
-
fs.open = open
|
|
387
|
-
function open (path, flags, mode, cb) {
|
|
388
|
-
if (typeof mode === 'function')
|
|
389
|
-
cb = mode, mode = null
|
|
390
|
-
|
|
391
|
-
return go$open(path, flags, mode, cb)
|
|
392
|
-
|
|
393
|
-
function go$open (path, flags, mode, cb, startTime) {
|
|
394
|
-
return fs$open(path, flags, mode, function (err, fd) {
|
|
395
|
-
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
|
396
|
-
enqueue([go$open, [path, flags, mode, cb], err, startTime || Date.now(), Date.now()])
|
|
397
|
-
else {
|
|
398
|
-
if (typeof cb === 'function')
|
|
399
|
-
cb.apply(this, arguments)
|
|
400
|
-
}
|
|
401
|
-
})
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
return fs
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
function enqueue (elem) {
|
|
409
|
-
debug('ENQUEUE', elem[0].name, elem[1])
|
|
410
|
-
fs[gracefulQueue].push(elem)
|
|
411
|
-
retry()
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
// keep track of the timeout between retry() calls
|
|
415
|
-
var retryTimer
|
|
416
|
-
|
|
417
|
-
// reset the startTime and lastTime to now
|
|
418
|
-
// this resets the start of the 60 second overall timeout as well as the
|
|
419
|
-
// delay between attempts so that we'll retry these jobs sooner
|
|
420
|
-
function resetQueue () {
|
|
421
|
-
var now = Date.now()
|
|
422
|
-
for (var i = 0; i < fs[gracefulQueue].length; ++i) {
|
|
423
|
-
// entries that are only a length of 2 are from an older version, don't
|
|
424
|
-
// bother modifying those since they'll be retried anyway.
|
|
425
|
-
if (fs[gracefulQueue][i].length > 2) {
|
|
426
|
-
fs[gracefulQueue][i][3] = now // startTime
|
|
427
|
-
fs[gracefulQueue][i][4] = now // lastTime
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
// call retry to make sure we're actively processing the queue
|
|
431
|
-
retry()
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
function retry () {
|
|
435
|
-
// clear the timer and remove it to help prevent unintended concurrency
|
|
436
|
-
clearTimeout(retryTimer)
|
|
437
|
-
retryTimer = undefined
|
|
438
|
-
|
|
439
|
-
if (fs[gracefulQueue].length === 0)
|
|
440
|
-
return
|
|
441
|
-
|
|
442
|
-
var elem = fs[gracefulQueue].shift()
|
|
443
|
-
var fn = elem[0]
|
|
444
|
-
var args = elem[1]
|
|
445
|
-
// these items may be unset if they were added by an older graceful-fs
|
|
446
|
-
var err = elem[2]
|
|
447
|
-
var startTime = elem[3]
|
|
448
|
-
var lastTime = elem[4]
|
|
449
|
-
|
|
450
|
-
// if we don't have a startTime we have no way of knowing if we've waited
|
|
451
|
-
// long enough, so go ahead and retry this item now
|
|
452
|
-
if (startTime === undefined) {
|
|
453
|
-
debug('RETRY', fn.name, args)
|
|
454
|
-
fn.apply(null, args)
|
|
455
|
-
} else if (Date.now() - startTime >= 60000) {
|
|
456
|
-
// it's been more than 60 seconds total, bail now
|
|
457
|
-
debug('TIMEOUT', fn.name, args)
|
|
458
|
-
var cb = args.pop()
|
|
459
|
-
if (typeof cb === 'function')
|
|
460
|
-
cb.call(null, err)
|
|
461
|
-
} else {
|
|
462
|
-
// the amount of time between the last attempt and right now
|
|
463
|
-
var sinceAttempt = Date.now() - lastTime
|
|
464
|
-
// the amount of time between when we first tried, and when we last tried
|
|
465
|
-
// rounded up to at least 1
|
|
466
|
-
var sinceStart = Math.max(lastTime - startTime, 1)
|
|
467
|
-
// backoff. wait longer than the total time we've been retrying, but only
|
|
468
|
-
// up to a maximum of 100ms
|
|
469
|
-
var desiredDelay = Math.min(sinceStart * 1.2, 100)
|
|
470
|
-
// it's been long enough since the last retry, do it again
|
|
471
|
-
if (sinceAttempt >= desiredDelay) {
|
|
472
|
-
debug('RETRY', fn.name, args)
|
|
473
|
-
fn.apply(null, args.concat([startTime]))
|
|
474
|
-
} else {
|
|
475
|
-
// if we can't do this job yet, push it to the end of the queue
|
|
476
|
-
// and let the next iteration check again
|
|
477
|
-
fs[gracefulQueue].push(elem)
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
// schedule our next run if one isn't already scheduled
|
|
482
|
-
if (retryTimer === undefined) {
|
|
483
|
-
retryTimer = setTimeout(retry, 0)
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
/***/ }),
|
|
489
|
-
|
|
490
|
-
/***/ 615:
|
|
491
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
492
|
-
|
|
493
|
-
var Stream = (__nccwpck_require__(203).Stream)
|
|
494
|
-
|
|
495
|
-
module.exports = legacy
|
|
496
|
-
|
|
497
|
-
function legacy (fs) {
|
|
498
|
-
return {
|
|
499
|
-
ReadStream: ReadStream,
|
|
500
|
-
WriteStream: WriteStream
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
function ReadStream (path, options) {
|
|
504
|
-
if (!(this instanceof ReadStream)) return new ReadStream(path, options);
|
|
505
|
-
|
|
506
|
-
Stream.call(this);
|
|
507
|
-
|
|
508
|
-
var self = this;
|
|
509
|
-
|
|
510
|
-
this.path = path;
|
|
511
|
-
this.fd = null;
|
|
512
|
-
this.readable = true;
|
|
513
|
-
this.paused = false;
|
|
514
|
-
|
|
515
|
-
this.flags = 'r';
|
|
516
|
-
this.mode = 438; /*=0666*/
|
|
517
|
-
this.bufferSize = 64 * 1024;
|
|
518
|
-
|
|
519
|
-
options = options || {};
|
|
520
|
-
|
|
521
|
-
// Mixin options into this
|
|
522
|
-
var keys = Object.keys(options);
|
|
523
|
-
for (var index = 0, length = keys.length; index < length; index++) {
|
|
524
|
-
var key = keys[index];
|
|
525
|
-
this[key] = options[key];
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
if (this.encoding) this.setEncoding(this.encoding);
|
|
529
|
-
|
|
530
|
-
if (this.start !== undefined) {
|
|
531
|
-
if ('number' !== typeof this.start) {
|
|
532
|
-
throw TypeError('start must be a Number');
|
|
533
|
-
}
|
|
534
|
-
if (this.end === undefined) {
|
|
535
|
-
this.end = Infinity;
|
|
536
|
-
} else if ('number' !== typeof this.end) {
|
|
537
|
-
throw TypeError('end must be a Number');
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
if (this.start > this.end) {
|
|
541
|
-
throw new Error('start must be <= end');
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
this.pos = this.start;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
if (this.fd !== null) {
|
|
548
|
-
process.nextTick(function() {
|
|
549
|
-
self._read();
|
|
550
|
-
});
|
|
551
|
-
return;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
fs.open(this.path, this.flags, this.mode, function (err, fd) {
|
|
555
|
-
if (err) {
|
|
556
|
-
self.emit('error', err);
|
|
557
|
-
self.readable = false;
|
|
558
|
-
return;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
self.fd = fd;
|
|
562
|
-
self.emit('open', fd);
|
|
563
|
-
self._read();
|
|
564
|
-
})
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
function WriteStream (path, options) {
|
|
568
|
-
if (!(this instanceof WriteStream)) return new WriteStream(path, options);
|
|
569
|
-
|
|
570
|
-
Stream.call(this);
|
|
571
|
-
|
|
572
|
-
this.path = path;
|
|
573
|
-
this.fd = null;
|
|
574
|
-
this.writable = true;
|
|
575
|
-
|
|
576
|
-
this.flags = 'w';
|
|
577
|
-
this.encoding = 'binary';
|
|
578
|
-
this.mode = 438; /*=0666*/
|
|
579
|
-
this.bytesWritten = 0;
|
|
580
|
-
|
|
581
|
-
options = options || {};
|
|
582
|
-
|
|
583
|
-
// Mixin options into this
|
|
584
|
-
var keys = Object.keys(options);
|
|
585
|
-
for (var index = 0, length = keys.length; index < length; index++) {
|
|
586
|
-
var key = keys[index];
|
|
587
|
-
this[key] = options[key];
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
if (this.start !== undefined) {
|
|
591
|
-
if ('number' !== typeof this.start) {
|
|
592
|
-
throw TypeError('start must be a Number');
|
|
593
|
-
}
|
|
594
|
-
if (this.start < 0) {
|
|
595
|
-
throw new Error('start must be >= zero');
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
this.pos = this.start;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
this.busy = false;
|
|
602
|
-
this._queue = [];
|
|
603
|
-
|
|
604
|
-
if (this.fd === null) {
|
|
605
|
-
this._open = fs.open;
|
|
606
|
-
this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
|
|
607
|
-
this.flush();
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
/***/ }),
|
|
614
|
-
|
|
615
|
-
/***/ 710:
|
|
616
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
617
|
-
|
|
618
|
-
var constants = __nccwpck_require__(140)
|
|
619
|
-
|
|
620
|
-
var origCwd = process.cwd
|
|
621
|
-
var cwd = null
|
|
622
|
-
|
|
623
|
-
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform
|
|
624
|
-
|
|
625
|
-
process.cwd = function() {
|
|
626
|
-
if (!cwd)
|
|
627
|
-
cwd = origCwd.call(process)
|
|
628
|
-
return cwd
|
|
629
|
-
}
|
|
630
|
-
try {
|
|
631
|
-
process.cwd()
|
|
632
|
-
} catch (er) {}
|
|
633
|
-
|
|
634
|
-
// This check is needed until node.js 12 is required
|
|
635
|
-
if (typeof process.chdir === 'function') {
|
|
636
|
-
var chdir = process.chdir
|
|
637
|
-
process.chdir = function (d) {
|
|
638
|
-
cwd = null
|
|
639
|
-
chdir.call(process, d)
|
|
640
|
-
}
|
|
641
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir)
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
module.exports = patch
|
|
645
|
-
|
|
646
|
-
function patch (fs) {
|
|
647
|
-
// (re-)implement some things that are known busted or missing.
|
|
648
|
-
|
|
649
|
-
// lchmod, broken prior to 0.6.2
|
|
650
|
-
// back-port the fix here.
|
|
651
|
-
if (constants.hasOwnProperty('O_SYMLINK') &&
|
|
652
|
-
process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
|
|
653
|
-
patchLchmod(fs)
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
// lutimes implementation, or no-op
|
|
657
|
-
if (!fs.lutimes) {
|
|
658
|
-
patchLutimes(fs)
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
// https://github.com/isaacs/node-graceful-fs/issues/4
|
|
662
|
-
// Chown should not fail on einval or eperm if non-root.
|
|
663
|
-
// It should not fail on enosys ever, as this just indicates
|
|
664
|
-
// that a fs doesn't support the intended operation.
|
|
665
|
-
|
|
666
|
-
fs.chown = chownFix(fs.chown)
|
|
667
|
-
fs.fchown = chownFix(fs.fchown)
|
|
668
|
-
fs.lchown = chownFix(fs.lchown)
|
|
669
|
-
|
|
670
|
-
fs.chmod = chmodFix(fs.chmod)
|
|
671
|
-
fs.fchmod = chmodFix(fs.fchmod)
|
|
672
|
-
fs.lchmod = chmodFix(fs.lchmod)
|
|
673
|
-
|
|
674
|
-
fs.chownSync = chownFixSync(fs.chownSync)
|
|
675
|
-
fs.fchownSync = chownFixSync(fs.fchownSync)
|
|
676
|
-
fs.lchownSync = chownFixSync(fs.lchownSync)
|
|
677
|
-
|
|
678
|
-
fs.chmodSync = chmodFixSync(fs.chmodSync)
|
|
679
|
-
fs.fchmodSync = chmodFixSync(fs.fchmodSync)
|
|
680
|
-
fs.lchmodSync = chmodFixSync(fs.lchmodSync)
|
|
681
|
-
|
|
682
|
-
fs.stat = statFix(fs.stat)
|
|
683
|
-
fs.fstat = statFix(fs.fstat)
|
|
684
|
-
fs.lstat = statFix(fs.lstat)
|
|
685
|
-
|
|
686
|
-
fs.statSync = statFixSync(fs.statSync)
|
|
687
|
-
fs.fstatSync = statFixSync(fs.fstatSync)
|
|
688
|
-
fs.lstatSync = statFixSync(fs.lstatSync)
|
|
689
|
-
|
|
690
|
-
// if lchmod/lchown do not exist, then make them no-ops
|
|
691
|
-
if (fs.chmod && !fs.lchmod) {
|
|
692
|
-
fs.lchmod = function (path, mode, cb) {
|
|
693
|
-
if (cb) process.nextTick(cb)
|
|
694
|
-
}
|
|
695
|
-
fs.lchmodSync = function () {}
|
|
696
|
-
}
|
|
697
|
-
if (fs.chown && !fs.lchown) {
|
|
698
|
-
fs.lchown = function (path, uid, gid, cb) {
|
|
699
|
-
if (cb) process.nextTick(cb)
|
|
700
|
-
}
|
|
701
|
-
fs.lchownSync = function () {}
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
// on Windows, A/V software can lock the directory, causing this
|
|
705
|
-
// to fail with an EACCES or EPERM if the directory contains newly
|
|
706
|
-
// created files. Try again on failure, for up to 60 seconds.
|
|
707
|
-
|
|
708
|
-
// Set the timeout this long because some Windows Anti-Virus, such as Parity
|
|
709
|
-
// bit9, may lock files for up to a minute, causing npm package install
|
|
710
|
-
// failures. Also, take care to yield the scheduler. Windows scheduling gives
|
|
711
|
-
// CPU to a busy looping process, which can cause the program causing the lock
|
|
712
|
-
// contention to be starved of CPU by node, so the contention doesn't resolve.
|
|
713
|
-
if (platform === "win32") {
|
|
714
|
-
fs.rename = typeof fs.rename !== 'function' ? fs.rename
|
|
715
|
-
: (function (fs$rename) {
|
|
716
|
-
function rename (from, to, cb) {
|
|
717
|
-
var start = Date.now()
|
|
718
|
-
var backoff = 0;
|
|
719
|
-
fs$rename(from, to, function CB (er) {
|
|
720
|
-
if (er
|
|
721
|
-
&& (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
|
|
722
|
-
&& Date.now() - start < 60000) {
|
|
723
|
-
setTimeout(function() {
|
|
724
|
-
fs.stat(to, function (stater, st) {
|
|
725
|
-
if (stater && stater.code === "ENOENT")
|
|
726
|
-
fs$rename(from, to, CB);
|
|
727
|
-
else
|
|
728
|
-
cb(er)
|
|
729
|
-
})
|
|
730
|
-
}, backoff)
|
|
731
|
-
if (backoff < 100)
|
|
732
|
-
backoff += 10;
|
|
733
|
-
return;
|
|
734
|
-
}
|
|
735
|
-
if (cb) cb(er)
|
|
736
|
-
})
|
|
737
|
-
}
|
|
738
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename)
|
|
739
|
-
return rename
|
|
740
|
-
})(fs.rename)
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
// if read() returns EAGAIN, then just try it again.
|
|
744
|
-
fs.read = typeof fs.read !== 'function' ? fs.read
|
|
745
|
-
: (function (fs$read) {
|
|
746
|
-
function read (fd, buffer, offset, length, position, callback_) {
|
|
747
|
-
var callback
|
|
748
|
-
if (callback_ && typeof callback_ === 'function') {
|
|
749
|
-
var eagCounter = 0
|
|
750
|
-
callback = function (er, _, __) {
|
|
751
|
-
if (er && er.code === 'EAGAIN' && eagCounter < 10) {
|
|
752
|
-
eagCounter ++
|
|
753
|
-
return fs$read.call(fs, fd, buffer, offset, length, position, callback)
|
|
754
|
-
}
|
|
755
|
-
callback_.apply(this, arguments)
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
return fs$read.call(fs, fd, buffer, offset, length, position, callback)
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
// This ensures `util.promisify` works as it does for native `fs.read`.
|
|
762
|
-
if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read)
|
|
763
|
-
return read
|
|
764
|
-
})(fs.read)
|
|
765
|
-
|
|
766
|
-
fs.readSync = typeof fs.readSync !== 'function' ? fs.readSync
|
|
767
|
-
: (function (fs$readSync) { return function (fd, buffer, offset, length, position) {
|
|
768
|
-
var eagCounter = 0
|
|
769
|
-
while (true) {
|
|
770
|
-
try {
|
|
771
|
-
return fs$readSync.call(fs, fd, buffer, offset, length, position)
|
|
772
|
-
} catch (er) {
|
|
773
|
-
if (er.code === 'EAGAIN' && eagCounter < 10) {
|
|
774
|
-
eagCounter ++
|
|
775
|
-
continue
|
|
776
|
-
}
|
|
777
|
-
throw er
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}})(fs.readSync)
|
|
781
|
-
|
|
782
|
-
function patchLchmod (fs) {
|
|
783
|
-
fs.lchmod = function (path, mode, callback) {
|
|
784
|
-
fs.open( path
|
|
785
|
-
, constants.O_WRONLY | constants.O_SYMLINK
|
|
786
|
-
, mode
|
|
787
|
-
, function (err, fd) {
|
|
788
|
-
if (err) {
|
|
789
|
-
if (callback) callback(err)
|
|
790
|
-
return
|
|
791
|
-
}
|
|
792
|
-
// prefer to return the chmod error, if one occurs,
|
|
793
|
-
// but still try to close, and report closing errors if they occur.
|
|
794
|
-
fs.fchmod(fd, mode, function (err) {
|
|
795
|
-
fs.close(fd, function(err2) {
|
|
796
|
-
if (callback) callback(err || err2)
|
|
797
|
-
})
|
|
798
|
-
})
|
|
799
|
-
})
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
fs.lchmodSync = function (path, mode) {
|
|
803
|
-
var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
|
|
804
|
-
|
|
805
|
-
// prefer to return the chmod error, if one occurs,
|
|
806
|
-
// but still try to close, and report closing errors if they occur.
|
|
807
|
-
var threw = true
|
|
808
|
-
var ret
|
|
809
|
-
try {
|
|
810
|
-
ret = fs.fchmodSync(fd, mode)
|
|
811
|
-
threw = false
|
|
812
|
-
} finally {
|
|
813
|
-
if (threw) {
|
|
814
|
-
try {
|
|
815
|
-
fs.closeSync(fd)
|
|
816
|
-
} catch (er) {}
|
|
817
|
-
} else {
|
|
818
|
-
fs.closeSync(fd)
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
return ret
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
function patchLutimes (fs) {
|
|
826
|
-
if (constants.hasOwnProperty("O_SYMLINK") && fs.futimes) {
|
|
827
|
-
fs.lutimes = function (path, at, mt, cb) {
|
|
828
|
-
fs.open(path, constants.O_SYMLINK, function (er, fd) {
|
|
829
|
-
if (er) {
|
|
830
|
-
if (cb) cb(er)
|
|
831
|
-
return
|
|
832
|
-
}
|
|
833
|
-
fs.futimes(fd, at, mt, function (er) {
|
|
834
|
-
fs.close(fd, function (er2) {
|
|
835
|
-
if (cb) cb(er || er2)
|
|
836
|
-
})
|
|
837
|
-
})
|
|
838
|
-
})
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
fs.lutimesSync = function (path, at, mt) {
|
|
842
|
-
var fd = fs.openSync(path, constants.O_SYMLINK)
|
|
843
|
-
var ret
|
|
844
|
-
var threw = true
|
|
845
|
-
try {
|
|
846
|
-
ret = fs.futimesSync(fd, at, mt)
|
|
847
|
-
threw = false
|
|
848
|
-
} finally {
|
|
849
|
-
if (threw) {
|
|
850
|
-
try {
|
|
851
|
-
fs.closeSync(fd)
|
|
852
|
-
} catch (er) {}
|
|
853
|
-
} else {
|
|
854
|
-
fs.closeSync(fd)
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
return ret
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
} else if (fs.futimes) {
|
|
861
|
-
fs.lutimes = function (_a, _b, _c, cb) { if (cb) process.nextTick(cb) }
|
|
862
|
-
fs.lutimesSync = function () {}
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
function chmodFix (orig) {
|
|
867
|
-
if (!orig) return orig
|
|
868
|
-
return function (target, mode, cb) {
|
|
869
|
-
return orig.call(fs, target, mode, function (er) {
|
|
870
|
-
if (chownErOk(er)) er = null
|
|
871
|
-
if (cb) cb.apply(this, arguments)
|
|
872
|
-
})
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
function chmodFixSync (orig) {
|
|
877
|
-
if (!orig) return orig
|
|
878
|
-
return function (target, mode) {
|
|
879
|
-
try {
|
|
880
|
-
return orig.call(fs, target, mode)
|
|
881
|
-
} catch (er) {
|
|
882
|
-
if (!chownErOk(er)) throw er
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
function chownFix (orig) {
|
|
889
|
-
if (!orig) return orig
|
|
890
|
-
return function (target, uid, gid, cb) {
|
|
891
|
-
return orig.call(fs, target, uid, gid, function (er) {
|
|
892
|
-
if (chownErOk(er)) er = null
|
|
893
|
-
if (cb) cb.apply(this, arguments)
|
|
894
|
-
})
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
function chownFixSync (orig) {
|
|
899
|
-
if (!orig) return orig
|
|
900
|
-
return function (target, uid, gid) {
|
|
901
|
-
try {
|
|
902
|
-
return orig.call(fs, target, uid, gid)
|
|
903
|
-
} catch (er) {
|
|
904
|
-
if (!chownErOk(er)) throw er
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
function statFix (orig) {
|
|
910
|
-
if (!orig) return orig
|
|
911
|
-
// Older versions of Node erroneously returned signed integers for
|
|
912
|
-
// uid + gid.
|
|
913
|
-
return function (target, options, cb) {
|
|
914
|
-
if (typeof options === 'function') {
|
|
915
|
-
cb = options
|
|
916
|
-
options = null
|
|
917
|
-
}
|
|
918
|
-
function callback (er, stats) {
|
|
919
|
-
if (stats) {
|
|
920
|
-
if (stats.uid < 0) stats.uid += 0x100000000
|
|
921
|
-
if (stats.gid < 0) stats.gid += 0x100000000
|
|
922
|
-
}
|
|
923
|
-
if (cb) cb.apply(this, arguments)
|
|
924
|
-
}
|
|
925
|
-
return options ? orig.call(fs, target, options, callback)
|
|
926
|
-
: orig.call(fs, target, callback)
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
function statFixSync (orig) {
|
|
931
|
-
if (!orig) return orig
|
|
932
|
-
// Older versions of Node erroneously returned signed integers for
|
|
933
|
-
// uid + gid.
|
|
934
|
-
return function (target, options) {
|
|
935
|
-
var stats = options ? orig.call(fs, target, options)
|
|
936
|
-
: orig.call(fs, target)
|
|
937
|
-
if (stats) {
|
|
938
|
-
if (stats.uid < 0) stats.uid += 0x100000000
|
|
939
|
-
if (stats.gid < 0) stats.gid += 0x100000000
|
|
940
|
-
}
|
|
941
|
-
return stats;
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
// ENOSYS means that the fs doesn't support the op. Just ignore
|
|
946
|
-
// that, because it doesn't matter.
|
|
947
|
-
//
|
|
948
|
-
// if there's no getuid, or if getuid() is something other
|
|
949
|
-
// than 0, and the error is EINVAL or EPERM, then just ignore
|
|
950
|
-
// it.
|
|
951
|
-
//
|
|
952
|
-
// This specific case is a silent failure in cp, install, tar,
|
|
953
|
-
// and most other unix tools that manage permissions.
|
|
954
|
-
//
|
|
955
|
-
// When running as root, or if other types of errors are
|
|
956
|
-
// encountered, then it's strict.
|
|
957
|
-
function chownErOk (er) {
|
|
958
|
-
if (!er)
|
|
959
|
-
return true
|
|
960
|
-
|
|
961
|
-
if (er.code === "ENOSYS")
|
|
962
|
-
return true
|
|
963
|
-
|
|
964
|
-
var nonroot = !process.getuid || process.getuid() !== 0
|
|
965
|
-
if (nonroot) {
|
|
966
|
-
if (er.code === "EINVAL" || er.code === "EPERM")
|
|
967
|
-
return true
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
return false
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
/***/ }),
|
|
976
|
-
|
|
977
|
-
/***/ 613:
|
|
978
|
-
/***/ ((module) => {
|
|
979
|
-
|
|
980
|
-
"use strict";
|
|
981
|
-
module.exports = require("assert");
|
|
982
|
-
|
|
983
|
-
/***/ }),
|
|
984
|
-
|
|
985
|
-
/***/ 140:
|
|
986
|
-
/***/ ((module) => {
|
|
987
|
-
|
|
988
|
-
"use strict";
|
|
989
|
-
module.exports = require("constants");
|
|
990
|
-
|
|
991
|
-
/***/ }),
|
|
992
|
-
|
|
993
|
-
/***/ 896:
|
|
994
|
-
/***/ ((module) => {
|
|
995
|
-
|
|
996
|
-
"use strict";
|
|
997
|
-
module.exports = require("fs");
|
|
998
|
-
|
|
999
|
-
/***/ }),
|
|
1000
|
-
|
|
1001
|
-
/***/ 203:
|
|
1002
|
-
/***/ ((module) => {
|
|
1003
|
-
|
|
1004
|
-
"use strict";
|
|
1005
|
-
module.exports = require("stream");
|
|
1006
|
-
|
|
1007
|
-
/***/ }),
|
|
1008
|
-
|
|
1009
|
-
/***/ 23:
|
|
1010
|
-
/***/ ((module) => {
|
|
1011
|
-
|
|
1012
|
-
"use strict";
|
|
1013
|
-
module.exports = require("util");
|
|
1014
|
-
|
|
1015
|
-
/***/ })
|
|
1016
|
-
|
|
1017
|
-
/******/ });
|
|
1018
|
-
/************************************************************************/
|
|
1019
|
-
/******/ // The module cache
|
|
1020
|
-
/******/ var __webpack_module_cache__ = {};
|
|
1021
|
-
/******/
|
|
1022
|
-
/******/ // The require function
|
|
1023
|
-
/******/ function __nccwpck_require__(moduleId) {
|
|
1024
|
-
/******/ // Check if module is in cache
|
|
1025
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1026
|
-
/******/ if (cachedModule !== undefined) {
|
|
1027
|
-
/******/ return cachedModule.exports;
|
|
1028
|
-
/******/ }
|
|
1029
|
-
/******/ // Create a new module (and put it into the cache)
|
|
1030
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1031
|
-
/******/ // no module.id needed
|
|
1032
|
-
/******/ // no module.loaded needed
|
|
1033
|
-
/******/ exports: {}
|
|
1034
|
-
/******/ };
|
|
1035
|
-
/******/
|
|
1036
|
-
/******/ // Execute the module function
|
|
1037
|
-
/******/ var threw = true;
|
|
1038
|
-
/******/ try {
|
|
1039
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __nccwpck_require__);
|
|
1040
|
-
/******/ threw = false;
|
|
1041
|
-
/******/ } finally {
|
|
1042
|
-
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
|
1043
|
-
/******/ }
|
|
1044
|
-
/******/
|
|
1045
|
-
/******/ // Return the exports of the module
|
|
1046
|
-
/******/ return module.exports;
|
|
1047
|
-
/******/ }
|
|
1048
|
-
/******/
|
|
1049
|
-
/************************************************************************/
|
|
1050
|
-
/******/ /* webpack/runtime/compat */
|
|
1051
|
-
/******/
|
|
1052
|
-
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
|
|
1053
|
-
/******/
|
|
1054
|
-
/************************************************************************/
|
|
1055
|
-
/******/
|
|
1056
|
-
/******/ // startup
|
|
1057
|
-
/******/ // Load entry module and return exports
|
|
1058
|
-
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
1059
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(523);
|
|
1060
|
-
/******/ module.exports = __webpack_exports__;
|
|
1061
|
-
/******/
|
|
1062
|
-
/******/ })()
|
|
1063
|
-
;
|