vercel 23.1.3-canary.21 → 23.1.3-canary.22
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/dist/index.js +1270 -1356
- package/package.json +4 -4
package/dist/index.js
CHANGED
@@ -194852,162 +194852,21 @@ function sync (path, options) {
|
|
194852
194852
|
}
|
194853
194853
|
|
194854
194854
|
|
194855
|
-
/***/ }),
|
194856
|
-
|
194857
|
-
/***/ 1215:
|
194858
|
-
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_236922__) => {
|
194859
|
-
|
194860
|
-
var _fs
|
194861
|
-
try {
|
194862
|
-
_fs = __nested_webpack_require_236922__(552)
|
194863
|
-
} catch (_) {
|
194864
|
-
_fs = __nested_webpack_require_236922__(5747)
|
194865
|
-
}
|
194866
|
-
|
194867
|
-
function readFile (file, options, callback) {
|
194868
|
-
if (callback == null) {
|
194869
|
-
callback = options
|
194870
|
-
options = {}
|
194871
|
-
}
|
194872
|
-
|
194873
|
-
if (typeof options === 'string') {
|
194874
|
-
options = {encoding: options}
|
194875
|
-
}
|
194876
|
-
|
194877
|
-
options = options || {}
|
194878
|
-
var fs = options.fs || _fs
|
194879
|
-
|
194880
|
-
var shouldThrow = true
|
194881
|
-
if ('throws' in options) {
|
194882
|
-
shouldThrow = options.throws
|
194883
|
-
}
|
194884
|
-
|
194885
|
-
fs.readFile(file, options, function (err, data) {
|
194886
|
-
if (err) return callback(err)
|
194887
|
-
|
194888
|
-
data = stripBom(data)
|
194889
|
-
|
194890
|
-
var obj
|
194891
|
-
try {
|
194892
|
-
obj = JSON.parse(data, options ? options.reviver : null)
|
194893
|
-
} catch (err2) {
|
194894
|
-
if (shouldThrow) {
|
194895
|
-
err2.message = file + ': ' + err2.message
|
194896
|
-
return callback(err2)
|
194897
|
-
} else {
|
194898
|
-
return callback(null, null)
|
194899
|
-
}
|
194900
|
-
}
|
194901
|
-
|
194902
|
-
callback(null, obj)
|
194903
|
-
})
|
194904
|
-
}
|
194905
|
-
|
194906
|
-
function readFileSync (file, options) {
|
194907
|
-
options = options || {}
|
194908
|
-
if (typeof options === 'string') {
|
194909
|
-
options = {encoding: options}
|
194910
|
-
}
|
194911
|
-
|
194912
|
-
var fs = options.fs || _fs
|
194913
|
-
|
194914
|
-
var shouldThrow = true
|
194915
|
-
if ('throws' in options) {
|
194916
|
-
shouldThrow = options.throws
|
194917
|
-
}
|
194918
|
-
|
194919
|
-
try {
|
194920
|
-
var content = fs.readFileSync(file, options)
|
194921
|
-
content = stripBom(content)
|
194922
|
-
return JSON.parse(content, options.reviver)
|
194923
|
-
} catch (err) {
|
194924
|
-
if (shouldThrow) {
|
194925
|
-
err.message = file + ': ' + err.message
|
194926
|
-
throw err
|
194927
|
-
} else {
|
194928
|
-
return null
|
194929
|
-
}
|
194930
|
-
}
|
194931
|
-
}
|
194932
|
-
|
194933
|
-
function stringify (obj, options) {
|
194934
|
-
var spaces
|
194935
|
-
var EOL = '\n'
|
194936
|
-
if (typeof options === 'object' && options !== null) {
|
194937
|
-
if (options.spaces) {
|
194938
|
-
spaces = options.spaces
|
194939
|
-
}
|
194940
|
-
if (options.EOL) {
|
194941
|
-
EOL = options.EOL
|
194942
|
-
}
|
194943
|
-
}
|
194944
|
-
|
194945
|
-
var str = JSON.stringify(obj, options ? options.replacer : null, spaces)
|
194946
|
-
|
194947
|
-
return str.replace(/\n/g, EOL) + EOL
|
194948
|
-
}
|
194949
|
-
|
194950
|
-
function writeFile (file, obj, options, callback) {
|
194951
|
-
if (callback == null) {
|
194952
|
-
callback = options
|
194953
|
-
options = {}
|
194954
|
-
}
|
194955
|
-
options = options || {}
|
194956
|
-
var fs = options.fs || _fs
|
194957
|
-
|
194958
|
-
var str = ''
|
194959
|
-
try {
|
194960
|
-
str = stringify(obj, options)
|
194961
|
-
} catch (err) {
|
194962
|
-
// Need to return whether a callback was passed or not
|
194963
|
-
if (callback) callback(err, null)
|
194964
|
-
return
|
194965
|
-
}
|
194966
|
-
|
194967
|
-
fs.writeFile(file, str, options, callback)
|
194968
|
-
}
|
194969
|
-
|
194970
|
-
function writeFileSync (file, obj, options) {
|
194971
|
-
options = options || {}
|
194972
|
-
var fs = options.fs || _fs
|
194973
|
-
|
194974
|
-
var str = stringify(obj, options)
|
194975
|
-
// not sure if fs.writeFileSync returns anything, but just in case
|
194976
|
-
return fs.writeFileSync(file, str, options)
|
194977
|
-
}
|
194978
|
-
|
194979
|
-
function stripBom (content) {
|
194980
|
-
// we do this because JSON.parse would convert it to a utf8 string if encoding wasn't specified
|
194981
|
-
if (Buffer.isBuffer(content)) content = content.toString('utf8')
|
194982
|
-
content = content.replace(/^\uFEFF/, '')
|
194983
|
-
return content
|
194984
|
-
}
|
194985
|
-
|
194986
|
-
var jsonfile = {
|
194987
|
-
readFile: readFile,
|
194988
|
-
readFileSync: readFileSync,
|
194989
|
-
writeFile: writeFile,
|
194990
|
-
writeFileSync: writeFileSync
|
194991
|
-
}
|
194992
|
-
|
194993
|
-
module.exports = jsonfile
|
194994
|
-
|
194995
|
-
|
194996
194855
|
/***/ }),
|
194997
194856
|
|
194998
194857
|
/***/ 9566:
|
194999
|
-
/***/ ((module, __unused_webpack_exports,
|
194858
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_236922__) => {
|
195000
194859
|
|
195001
194860
|
module.exports = minimatch
|
195002
194861
|
minimatch.Minimatch = Minimatch
|
195003
194862
|
|
195004
194863
|
var path = { sep: '/' }
|
195005
194864
|
try {
|
195006
|
-
path =
|
194865
|
+
path = __nested_webpack_require_236922__(5622)
|
195007
194866
|
} catch (er) {}
|
195008
194867
|
|
195009
194868
|
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
|
195010
|
-
var expand =
|
194869
|
+
var expand = __nested_webpack_require_236922__(3197)
|
195011
194870
|
|
195012
194871
|
var plTypes = {
|
195013
194872
|
'!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
|
@@ -195926,12 +195785,12 @@ function regExpEscape (s) {
|
|
195926
195785
|
/***/ }),
|
195927
195786
|
|
195928
195787
|
/***/ 8179:
|
195929
|
-
/***/ ((module, __unused_webpack_exports,
|
195788
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_262372__) => {
|
195930
195789
|
|
195931
195790
|
module.exports = MultiStream
|
195932
195791
|
|
195933
|
-
var inherits =
|
195934
|
-
var stream =
|
195792
|
+
var inherits = __nested_webpack_require_262372__(6919)
|
195793
|
+
var stream = __nested_webpack_require_262372__(675)
|
195935
195794
|
|
195936
195795
|
inherits(MultiStream, stream.Readable)
|
195937
195796
|
|
@@ -196104,7 +195963,7 @@ module.exports = function(fn) {
|
|
196104
195963
|
/***/ }),
|
196105
195964
|
|
196106
195965
|
/***/ 2197:
|
196107
|
-
/***/ ((module, exports,
|
195966
|
+
/***/ ((module, exports, __nested_webpack_require_266228__) => {
|
196108
195967
|
|
196109
195968
|
"use strict";
|
196110
195969
|
|
@@ -196113,11 +195972,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
196113
195972
|
|
196114
195973
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
196115
195974
|
|
196116
|
-
var Stream = _interopDefault(
|
196117
|
-
var http = _interopDefault(
|
196118
|
-
var Url = _interopDefault(
|
196119
|
-
var https = _interopDefault(
|
196120
|
-
var zlib = _interopDefault(
|
195975
|
+
var Stream = _interopDefault(__nested_webpack_require_266228__(2413));
|
195976
|
+
var http = _interopDefault(__nested_webpack_require_266228__(5876));
|
195977
|
+
var Url = _interopDefault(__nested_webpack_require_266228__(8835));
|
195978
|
+
var https = _interopDefault(__nested_webpack_require_266228__(7211));
|
195979
|
+
var zlib = _interopDefault(__nested_webpack_require_266228__(8761));
|
196121
195980
|
|
196122
195981
|
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
|
196123
195982
|
|
@@ -196268,7 +196127,7 @@ FetchError.prototype.name = 'FetchError';
|
|
196268
196127
|
|
196269
196128
|
let convert;
|
196270
196129
|
try {
|
196271
|
-
convert =
|
196130
|
+
convert = __nested_webpack_require_266228__(9282)/* .convert */ .O;
|
196272
196131
|
} catch (e) {}
|
196273
196132
|
|
196274
196133
|
const INTERNALS = Symbol('Body internals');
|
@@ -197761,9 +197620,9 @@ exports.FetchError = FetchError;
|
|
197761
197620
|
/***/ }),
|
197762
197621
|
|
197763
197622
|
/***/ 7197:
|
197764
|
-
/***/ ((module, __unused_webpack_exports,
|
197623
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_307949__) => {
|
197765
197624
|
|
197766
|
-
var wrappy =
|
197625
|
+
var wrappy = __nested_webpack_require_307949__(4586)
|
197767
197626
|
module.exports = wrappy(once)
|
197768
197627
|
module.exports.strict = wrappy(onceStrict)
|
197769
197628
|
|
@@ -197914,7 +197773,7 @@ function nextTick(fn, arg1, arg2, arg3) {
|
|
197914
197773
|
/***/ }),
|
197915
197774
|
|
197916
197775
|
/***/ 8393:
|
197917
|
-
/***/ ((module, __unused_webpack_exports,
|
197776
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_311144__) => {
|
197918
197777
|
|
197919
197778
|
"use strict";
|
197920
197779
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -197947,7 +197806,7 @@ function nextTick(fn, arg1, arg2, arg3) {
|
|
197947
197806
|
|
197948
197807
|
/*<replacement>*/
|
197949
197808
|
|
197950
|
-
var pna =
|
197809
|
+
var pna = __nested_webpack_require_311144__(7843);
|
197951
197810
|
/*</replacement>*/
|
197952
197811
|
|
197953
197812
|
/*<replacement>*/
|
@@ -197962,12 +197821,12 @@ var objectKeys = Object.keys || function (obj) {
|
|
197962
197821
|
module.exports = Duplex;
|
197963
197822
|
|
197964
197823
|
/*<replacement>*/
|
197965
|
-
var util = Object.create(
|
197966
|
-
util.inherits =
|
197824
|
+
var util = Object.create(__nested_webpack_require_311144__(3487));
|
197825
|
+
util.inherits = __nested_webpack_require_311144__(6919);
|
197967
197826
|
/*</replacement>*/
|
197968
197827
|
|
197969
|
-
var Readable =
|
197970
|
-
var Writable =
|
197828
|
+
var Readable = __nested_webpack_require_311144__(284);
|
197829
|
+
var Writable = __nested_webpack_require_311144__(6100);
|
197971
197830
|
|
197972
197831
|
util.inherits(Duplex, Readable);
|
197973
197832
|
|
@@ -198052,7 +197911,7 @@ Duplex.prototype._destroy = function (err, cb) {
|
|
198052
197911
|
/***/ }),
|
198053
197912
|
|
198054
197913
|
/***/ 5125:
|
198055
|
-
/***/ ((module, __unused_webpack_exports,
|
197914
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_315247__) => {
|
198056
197915
|
|
198057
197916
|
"use strict";
|
198058
197917
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -198084,11 +197943,11 @@ Duplex.prototype._destroy = function (err, cb) {
|
|
198084
197943
|
|
198085
197944
|
module.exports = PassThrough;
|
198086
197945
|
|
198087
|
-
var Transform =
|
197946
|
+
var Transform = __nested_webpack_require_315247__(5469);
|
198088
197947
|
|
198089
197948
|
/*<replacement>*/
|
198090
|
-
var util = Object.create(
|
198091
|
-
util.inherits =
|
197949
|
+
var util = Object.create(__nested_webpack_require_315247__(3487));
|
197950
|
+
util.inherits = __nested_webpack_require_315247__(6919);
|
198092
197951
|
/*</replacement>*/
|
198093
197952
|
|
198094
197953
|
util.inherits(PassThrough, Transform);
|
@@ -198106,7 +197965,7 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
198106
197965
|
/***/ }),
|
198107
197966
|
|
198108
197967
|
/***/ 284:
|
198109
|
-
/***/ ((module, __unused_webpack_exports,
|
197968
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_317097__) => {
|
198110
197969
|
|
198111
197970
|
"use strict";
|
198112
197971
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -198134,13 +197993,13 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
198134
197993
|
|
198135
197994
|
/*<replacement>*/
|
198136
197995
|
|
198137
|
-
var pna =
|
197996
|
+
var pna = __nested_webpack_require_317097__(7843);
|
198138
197997
|
/*</replacement>*/
|
198139
197998
|
|
198140
197999
|
module.exports = Readable;
|
198141
198000
|
|
198142
198001
|
/*<replacement>*/
|
198143
|
-
var isArray =
|
198002
|
+
var isArray = __nested_webpack_require_317097__(9842);
|
198144
198003
|
/*</replacement>*/
|
198145
198004
|
|
198146
198005
|
/*<replacement>*/
|
@@ -198150,7 +198009,7 @@ var Duplex;
|
|
198150
198009
|
Readable.ReadableState = ReadableState;
|
198151
198010
|
|
198152
198011
|
/*<replacement>*/
|
198153
|
-
var EE =
|
198012
|
+
var EE = __nested_webpack_require_317097__(8614).EventEmitter;
|
198154
198013
|
|
198155
198014
|
var EElistenerCount = function (emitter, type) {
|
198156
198015
|
return emitter.listeners(type).length;
|
@@ -198158,12 +198017,12 @@ var EElistenerCount = function (emitter, type) {
|
|
198158
198017
|
/*</replacement>*/
|
198159
198018
|
|
198160
198019
|
/*<replacement>*/
|
198161
|
-
var Stream =
|
198020
|
+
var Stream = __nested_webpack_require_317097__(5016);
|
198162
198021
|
/*</replacement>*/
|
198163
198022
|
|
198164
198023
|
/*<replacement>*/
|
198165
198024
|
|
198166
|
-
var Buffer =
|
198025
|
+
var Buffer = __nested_webpack_require_317097__(4810).Buffer;
|
198167
198026
|
var OurUint8Array = global.Uint8Array || function () {};
|
198168
198027
|
function _uint8ArrayToBuffer(chunk) {
|
198169
198028
|
return Buffer.from(chunk);
|
@@ -198175,12 +198034,12 @@ function _isUint8Array(obj) {
|
|
198175
198034
|
/*</replacement>*/
|
198176
198035
|
|
198177
198036
|
/*<replacement>*/
|
198178
|
-
var util = Object.create(
|
198179
|
-
util.inherits =
|
198037
|
+
var util = Object.create(__nested_webpack_require_317097__(3487));
|
198038
|
+
util.inherits = __nested_webpack_require_317097__(6919);
|
198180
198039
|
/*</replacement>*/
|
198181
198040
|
|
198182
198041
|
/*<replacement>*/
|
198183
|
-
var debugUtil =
|
198042
|
+
var debugUtil = __nested_webpack_require_317097__(1669);
|
198184
198043
|
var debug = void 0;
|
198185
198044
|
if (debugUtil && debugUtil.debuglog) {
|
198186
198045
|
debug = debugUtil.debuglog('stream');
|
@@ -198189,8 +198048,8 @@ if (debugUtil && debugUtil.debuglog) {
|
|
198189
198048
|
}
|
198190
198049
|
/*</replacement>*/
|
198191
198050
|
|
198192
|
-
var BufferList =
|
198193
|
-
var destroyImpl =
|
198051
|
+
var BufferList = __nested_webpack_require_317097__(8739);
|
198052
|
+
var destroyImpl = __nested_webpack_require_317097__(3090);
|
198194
198053
|
var StringDecoder;
|
198195
198054
|
|
198196
198055
|
util.inherits(Readable, Stream);
|
@@ -198210,7 +198069,7 @@ function prependListener(emitter, event, fn) {
|
|
198210
198069
|
}
|
198211
198070
|
|
198212
198071
|
function ReadableState(options, stream) {
|
198213
|
-
Duplex = Duplex ||
|
198072
|
+
Duplex = Duplex || __nested_webpack_require_317097__(8393);
|
198214
198073
|
|
198215
198074
|
options = options || {};
|
198216
198075
|
|
@@ -198280,14 +198139,14 @@ function ReadableState(options, stream) {
|
|
198280
198139
|
this.decoder = null;
|
198281
198140
|
this.encoding = null;
|
198282
198141
|
if (options.encoding) {
|
198283
|
-
if (!StringDecoder) StringDecoder =
|
198142
|
+
if (!StringDecoder) StringDecoder = __nested_webpack_require_317097__(642)/* .StringDecoder */ .s;
|
198284
198143
|
this.decoder = new StringDecoder(options.encoding);
|
198285
198144
|
this.encoding = options.encoding;
|
198286
198145
|
}
|
198287
198146
|
}
|
198288
198147
|
|
198289
198148
|
function Readable(options) {
|
198290
|
-
Duplex = Duplex ||
|
198149
|
+
Duplex = Duplex || __nested_webpack_require_317097__(8393);
|
198291
198150
|
|
198292
198151
|
if (!(this instanceof Readable)) return new Readable(options);
|
198293
198152
|
|
@@ -198436,7 +198295,7 @@ Readable.prototype.isPaused = function () {
|
|
198436
198295
|
|
198437
198296
|
// backwards compatibility.
|
198438
198297
|
Readable.prototype.setEncoding = function (enc) {
|
198439
|
-
if (!StringDecoder) StringDecoder =
|
198298
|
+
if (!StringDecoder) StringDecoder = __nested_webpack_require_317097__(642)/* .StringDecoder */ .s;
|
198440
198299
|
this._readableState.decoder = new StringDecoder(enc);
|
198441
198300
|
this._readableState.encoding = enc;
|
198442
198301
|
return this;
|
@@ -199132,7 +198991,7 @@ function indexOf(xs, x) {
|
|
199132
198991
|
/***/ }),
|
199133
198992
|
|
199134
198993
|
/***/ 5469:
|
199135
|
-
/***/ ((module, __unused_webpack_exports,
|
198994
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_348518__) => {
|
199136
198995
|
|
199137
198996
|
"use strict";
|
199138
198997
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -199202,11 +199061,11 @@ function indexOf(xs, x) {
|
|
199202
199061
|
|
199203
199062
|
module.exports = Transform;
|
199204
199063
|
|
199205
|
-
var Duplex =
|
199064
|
+
var Duplex = __nested_webpack_require_348518__(8393);
|
199206
199065
|
|
199207
199066
|
/*<replacement>*/
|
199208
|
-
var util = Object.create(
|
199209
|
-
util.inherits =
|
199067
|
+
var util = Object.create(__nested_webpack_require_348518__(3487));
|
199068
|
+
util.inherits = __nested_webpack_require_348518__(6919);
|
199210
199069
|
/*</replacement>*/
|
199211
199070
|
|
199212
199071
|
util.inherits(Transform, Duplex);
|
@@ -199353,7 +199212,7 @@ function done(stream, er, data) {
|
|
199353
199212
|
/***/ }),
|
199354
199213
|
|
199355
199214
|
/***/ 6100:
|
199356
|
-
/***/ ((module, __unused_webpack_exports,
|
199215
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_356361__) => {
|
199357
199216
|
|
199358
199217
|
"use strict";
|
199359
199218
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -199385,7 +199244,7 @@ function done(stream, er, data) {
|
|
199385
199244
|
|
199386
199245
|
/*<replacement>*/
|
199387
199246
|
|
199388
|
-
var pna =
|
199247
|
+
var pna = __nested_webpack_require_356361__(7843);
|
199389
199248
|
/*</replacement>*/
|
199390
199249
|
|
199391
199250
|
module.exports = Writable;
|
@@ -199422,23 +199281,23 @@ var Duplex;
|
|
199422
199281
|
Writable.WritableState = WritableState;
|
199423
199282
|
|
199424
199283
|
/*<replacement>*/
|
199425
|
-
var util = Object.create(
|
199426
|
-
util.inherits =
|
199284
|
+
var util = Object.create(__nested_webpack_require_356361__(3487));
|
199285
|
+
util.inherits = __nested_webpack_require_356361__(6919);
|
199427
199286
|
/*</replacement>*/
|
199428
199287
|
|
199429
199288
|
/*<replacement>*/
|
199430
199289
|
var internalUtil = {
|
199431
|
-
deprecate:
|
199290
|
+
deprecate: __nested_webpack_require_356361__(9209)
|
199432
199291
|
};
|
199433
199292
|
/*</replacement>*/
|
199434
199293
|
|
199435
199294
|
/*<replacement>*/
|
199436
|
-
var Stream =
|
199295
|
+
var Stream = __nested_webpack_require_356361__(5016);
|
199437
199296
|
/*</replacement>*/
|
199438
199297
|
|
199439
199298
|
/*<replacement>*/
|
199440
199299
|
|
199441
|
-
var Buffer =
|
199300
|
+
var Buffer = __nested_webpack_require_356361__(4810).Buffer;
|
199442
199301
|
var OurUint8Array = global.Uint8Array || function () {};
|
199443
199302
|
function _uint8ArrayToBuffer(chunk) {
|
199444
199303
|
return Buffer.from(chunk);
|
@@ -199449,14 +199308,14 @@ function _isUint8Array(obj) {
|
|
199449
199308
|
|
199450
199309
|
/*</replacement>*/
|
199451
199310
|
|
199452
|
-
var destroyImpl =
|
199311
|
+
var destroyImpl = __nested_webpack_require_356361__(3090);
|
199453
199312
|
|
199454
199313
|
util.inherits(Writable, Stream);
|
199455
199314
|
|
199456
199315
|
function nop() {}
|
199457
199316
|
|
199458
199317
|
function WritableState(options, stream) {
|
199459
|
-
Duplex = Duplex ||
|
199318
|
+
Duplex = Duplex || __nested_webpack_require_356361__(8393);
|
199460
199319
|
|
199461
199320
|
options = options || {};
|
199462
199321
|
|
@@ -199606,7 +199465,7 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot
|
|
199606
199465
|
}
|
199607
199466
|
|
199608
199467
|
function Writable(options) {
|
199609
|
-
Duplex = Duplex ||
|
199468
|
+
Duplex = Duplex || __nested_webpack_require_356361__(8393);
|
199610
199469
|
|
199611
199470
|
// Writable ctor is applied to Duplexes, too.
|
199612
199471
|
// `realHasInstance` is necessary because using plain `instanceof`
|
@@ -200047,15 +199906,15 @@ Writable.prototype._destroy = function (err, cb) {
|
|
200047
199906
|
/***/ }),
|
200048
199907
|
|
200049
199908
|
/***/ 8739:
|
200050
|
-
/***/ ((module, __unused_webpack_exports,
|
199909
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_376751__) => {
|
200051
199910
|
|
200052
199911
|
"use strict";
|
200053
199912
|
|
200054
199913
|
|
200055
199914
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
200056
199915
|
|
200057
|
-
var Buffer =
|
200058
|
-
var util =
|
199916
|
+
var Buffer = __nested_webpack_require_376751__(4810).Buffer;
|
199917
|
+
var util = __nested_webpack_require_376751__(1669);
|
200059
199918
|
|
200060
199919
|
function copyBuffer(src, target, offset) {
|
200061
199920
|
src.copy(target, offset);
|
@@ -200133,14 +199992,14 @@ if (util && util.inspect && util.inspect.custom) {
|
|
200133
199992
|
/***/ }),
|
200134
199993
|
|
200135
199994
|
/***/ 3090:
|
200136
|
-
/***/ ((module, __unused_webpack_exports,
|
199995
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_378918__) => {
|
200137
199996
|
|
200138
199997
|
"use strict";
|
200139
199998
|
|
200140
199999
|
|
200141
200000
|
/*<replacement>*/
|
200142
200001
|
|
200143
|
-
var pna =
|
200002
|
+
var pna = __nested_webpack_require_378918__(7843);
|
200144
200003
|
/*</replacement>*/
|
200145
200004
|
|
200146
200005
|
// undocumented cb() API, needed for core, not for public API
|
@@ -200214,18 +200073,18 @@ module.exports = {
|
|
200214
200073
|
/***/ }),
|
200215
200074
|
|
200216
200075
|
/***/ 5016:
|
200217
|
-
/***/ ((module, __unused_webpack_exports,
|
200076
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_380856__) => {
|
200218
200077
|
|
200219
|
-
module.exports =
|
200078
|
+
module.exports = __nested_webpack_require_380856__(2413);
|
200220
200079
|
|
200221
200080
|
|
200222
200081
|
/***/ }),
|
200223
200082
|
|
200224
200083
|
/***/ 4810:
|
200225
|
-
/***/ ((module, exports,
|
200084
|
+
/***/ ((module, exports, __nested_webpack_require_380977__) => {
|
200226
200085
|
|
200227
200086
|
/* eslint-disable node/no-deprecated-api */
|
200228
|
-
var buffer =
|
200087
|
+
var buffer = __nested_webpack_require_380977__(4293)
|
200229
200088
|
var Buffer = buffer.Buffer
|
200230
200089
|
|
200231
200090
|
// alternative to using Object.keys for old browsers
|
@@ -200291,9 +200150,9 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
200291
200150
|
/***/ }),
|
200292
200151
|
|
200293
200152
|
/***/ 675:
|
200294
|
-
/***/ ((module, exports,
|
200153
|
+
/***/ ((module, exports, __nested_webpack_require_382590__) => {
|
200295
200154
|
|
200296
|
-
var Stream =
|
200155
|
+
var Stream = __nested_webpack_require_382590__(2413);
|
200297
200156
|
if (process.env.READABLE_STREAM === 'disable' && Stream) {
|
200298
200157
|
module.exports = Stream;
|
200299
200158
|
exports = module.exports = Stream.Readable;
|
@@ -200304,27 +200163,27 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
|
|
200304
200163
|
exports.PassThrough = Stream.PassThrough;
|
200305
200164
|
exports.Stream = Stream;
|
200306
200165
|
} else {
|
200307
|
-
exports = module.exports =
|
200166
|
+
exports = module.exports = __nested_webpack_require_382590__(284);
|
200308
200167
|
exports.Stream = Stream || exports;
|
200309
200168
|
exports.Readable = exports;
|
200310
|
-
exports.Writable =
|
200311
|
-
exports.Duplex =
|
200312
|
-
exports.Transform =
|
200313
|
-
exports.PassThrough =
|
200169
|
+
exports.Writable = __nested_webpack_require_382590__(6100);
|
200170
|
+
exports.Duplex = __nested_webpack_require_382590__(8393);
|
200171
|
+
exports.Transform = __nested_webpack_require_382590__(5469);
|
200172
|
+
exports.PassThrough = __nested_webpack_require_382590__(5125);
|
200314
200173
|
}
|
200315
200174
|
|
200316
200175
|
|
200317
200176
|
/***/ }),
|
200318
200177
|
|
200319
200178
|
/***/ 6393:
|
200320
|
-
/***/ ((module, __unused_webpack_exports,
|
200179
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_383405__) => {
|
200321
200180
|
|
200322
200181
|
"use strict";
|
200323
200182
|
/* eslint-disable node/no-deprecated-api */
|
200324
200183
|
|
200325
200184
|
|
200326
200185
|
|
200327
|
-
var buffer =
|
200186
|
+
var buffer = __nested_webpack_require_383405__(4293)
|
200328
200187
|
var Buffer = buffer.Buffer
|
200329
200188
|
|
200330
200189
|
var safer = {}
|
@@ -200402,11 +200261,11 @@ module.exports = safer
|
|
200402
200261
|
/***/ }),
|
200403
200262
|
|
200404
200263
|
/***/ 4970:
|
200405
|
-
/***/ ((module, __unused_webpack_exports,
|
200264
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_385619__) => {
|
200406
200265
|
|
200407
200266
|
"use strict";
|
200408
200267
|
|
200409
|
-
var shebangRegex =
|
200268
|
+
var shebangRegex = __nested_webpack_require_385619__(1504);
|
200410
200269
|
|
200411
200270
|
module.exports = function (str) {
|
200412
200271
|
var match = str.match(shebangRegex);
|
@@ -200439,7 +200298,7 @@ module.exports = /^#!.*/;
|
|
200439
200298
|
/***/ }),
|
200440
200299
|
|
200441
200300
|
/***/ 642:
|
200442
|
-
/***/ ((__unused_webpack_module, exports,
|
200301
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_386148__) => {
|
200443
200302
|
|
200444
200303
|
"use strict";
|
200445
200304
|
// Copyright Joyent, Inc. and other Node contributors.
|
@@ -200467,7 +200326,7 @@ module.exports = /^#!.*/;
|
|
200467
200326
|
|
200468
200327
|
/*<replacement>*/
|
200469
200328
|
|
200470
|
-
var Buffer =
|
200329
|
+
var Buffer = __nested_webpack_require_386148__(265).Buffer;
|
200471
200330
|
/*</replacement>*/
|
200472
200331
|
|
200473
200332
|
var isEncoding = Buffer.isEncoding || function (encoding) {
|
@@ -200742,10 +200601,10 @@ function simpleEnd(buf) {
|
|
200742
200601
|
/***/ }),
|
200743
200602
|
|
200744
200603
|
/***/ 265:
|
200745
|
-
/***/ ((module, exports,
|
200604
|
+
/***/ ((module, exports, __nested_webpack_require_395680__) => {
|
200746
200605
|
|
200747
200606
|
/* eslint-disable node/no-deprecated-api */
|
200748
|
-
var buffer =
|
200607
|
+
var buffer = __nested_webpack_require_395680__(4293)
|
200749
200608
|
var Buffer = buffer.Buffer
|
200750
200609
|
|
200751
200610
|
// alternative to using Object.keys for old browsers
|
@@ -200808,56 +200667,23 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
200808
200667
|
}
|
200809
200668
|
|
200810
200669
|
|
200811
|
-
/***/ }),
|
200812
|
-
|
200813
|
-
/***/ 2703:
|
200814
|
-
/***/ ((__unused_webpack_module, exports) => {
|
200815
|
-
|
200816
|
-
"use strict";
|
200817
|
-
|
200818
|
-
|
200819
|
-
exports.E = function (fn) {
|
200820
|
-
return Object.defineProperty(function () {
|
200821
|
-
if (typeof arguments[arguments.length - 1] === 'function') fn.apply(this, arguments)
|
200822
|
-
else {
|
200823
|
-
return new Promise((resolve, reject) => {
|
200824
|
-
arguments[arguments.length] = (err, res) => {
|
200825
|
-
if (err) return reject(err)
|
200826
|
-
resolve(res)
|
200827
|
-
}
|
200828
|
-
arguments.length++
|
200829
|
-
fn.apply(this, arguments)
|
200830
|
-
})
|
200831
|
-
}
|
200832
|
-
}, 'name', { value: fn.name })
|
200833
|
-
}
|
200834
|
-
|
200835
|
-
exports.p = function (fn) {
|
200836
|
-
return Object.defineProperty(function () {
|
200837
|
-
const cb = arguments[arguments.length - 1]
|
200838
|
-
if (typeof cb !== 'function') return fn.apply(this, arguments)
|
200839
|
-
else fn.apply(this, arguments).then(r => cb(null, r), cb)
|
200840
|
-
}, 'name', { value: fn.name })
|
200841
|
-
}
|
200842
|
-
|
200843
|
-
|
200844
200670
|
/***/ }),
|
200845
200671
|
|
200846
200672
|
/***/ 9209:
|
200847
|
-
/***/ ((module, __unused_webpack_exports,
|
200673
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_397311__) => {
|
200848
200674
|
|
200849
200675
|
|
200850
200676
|
/**
|
200851
200677
|
* For Node.js, simply re-export the core `util.deprecate` function.
|
200852
200678
|
*/
|
200853
200679
|
|
200854
|
-
module.exports =
|
200680
|
+
module.exports = __nested_webpack_require_397311__(1669).deprecate;
|
200855
200681
|
|
200856
200682
|
|
200857
200683
|
/***/ }),
|
200858
200684
|
|
200859
200685
|
/***/ 8201:
|
200860
|
-
/***/ ((module, __unused_webpack_exports,
|
200686
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_397538__) => {
|
200861
200687
|
|
200862
200688
|
module.exports = which
|
200863
200689
|
which.sync = whichSync
|
@@ -200866,9 +200692,9 @@ var isWindows = process.platform === 'win32' ||
|
|
200866
200692
|
process.env.OSTYPE === 'cygwin' ||
|
200867
200693
|
process.env.OSTYPE === 'msys'
|
200868
200694
|
|
200869
|
-
var path =
|
200695
|
+
var path = __nested_webpack_require_397538__(5622)
|
200870
200696
|
var COLON = isWindows ? ';' : ':'
|
200871
|
-
var isexe =
|
200697
|
+
var isexe = __nested_webpack_require_397538__(228)
|
200872
200698
|
|
200873
200699
|
function getNotFoundError (cmd) {
|
200874
200700
|
var er = new Error('not found: ' + cmd)
|
@@ -201039,15 +200865,15 @@ function wrappy (fn, cb) {
|
|
201039
200865
|
/***/ }),
|
201040
200866
|
|
201041
200867
|
/***/ 1223:
|
201042
|
-
/***/ ((__unused_webpack_module, exports,
|
200868
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_401786__) => {
|
201043
200869
|
|
201044
|
-
var fs =
|
201045
|
-
var Transform =
|
201046
|
-
var PassThrough =
|
201047
|
-
var zlib =
|
201048
|
-
var util =
|
201049
|
-
var EventEmitter =
|
201050
|
-
var crc32 =
|
200870
|
+
var fs = __nested_webpack_require_401786__(5747);
|
200871
|
+
var Transform = __nested_webpack_require_401786__(2413).Transform;
|
200872
|
+
var PassThrough = __nested_webpack_require_401786__(2413).PassThrough;
|
200873
|
+
var zlib = __nested_webpack_require_401786__(8761);
|
200874
|
+
var util = __nested_webpack_require_401786__(1669);
|
200875
|
+
var EventEmitter = __nested_webpack_require_401786__(8614).EventEmitter;
|
200876
|
+
var crc32 = __nested_webpack_require_401786__(360);
|
201051
200877
|
|
201052
200878
|
exports.ZipFile = ZipFile;
|
201053
200879
|
exports.dateToDosDateTime = dateToDosDateTime;
|
@@ -201687,14 +201513,14 @@ Crc32Watcher.prototype._transform = function(chunk, encoding, cb) {
|
|
201687
201513
|
/***/ }),
|
201688
201514
|
|
201689
201515
|
/***/ 7618:
|
201690
|
-
/***/ ((module, __unused_webpack_exports,
|
201516
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_427846__) => {
|
201691
201517
|
|
201692
201518
|
"use strict";
|
201693
201519
|
|
201694
201520
|
|
201695
|
-
const cp =
|
201696
|
-
const parse =
|
201697
|
-
const enoent =
|
201521
|
+
const cp = __nested_webpack_require_427846__(3129);
|
201522
|
+
const parse = __nested_webpack_require_427846__(5025);
|
201523
|
+
const enoent = __nested_webpack_require_427846__(2773);
|
201698
201524
|
|
201699
201525
|
function spawn(command, args, options) {
|
201700
201526
|
// Parse the arguments
|
@@ -201801,17 +201627,17 @@ module.exports = {
|
|
201801
201627
|
/***/ }),
|
201802
201628
|
|
201803
201629
|
/***/ 5025:
|
201804
|
-
/***/ ((module, __unused_webpack_exports,
|
201630
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_430667__) => {
|
201805
201631
|
|
201806
201632
|
"use strict";
|
201807
201633
|
|
201808
201634
|
|
201809
|
-
const path =
|
201810
|
-
const niceTry =
|
201811
|
-
const resolveCommand =
|
201812
|
-
const escape =
|
201813
|
-
const readShebang =
|
201814
|
-
const semver =
|
201635
|
+
const path = __nested_webpack_require_430667__(5622);
|
201636
|
+
const niceTry = __nested_webpack_require_430667__(7369);
|
201637
|
+
const resolveCommand = __nested_webpack_require_430667__(7231);
|
201638
|
+
const escape = __nested_webpack_require_430667__(1880);
|
201639
|
+
const readShebang = __nested_webpack_require_430667__(2655);
|
201640
|
+
const semver = __nested_webpack_require_430667__(8515);
|
201815
201641
|
|
201816
201642
|
const isWin = process.platform === 'win32';
|
201817
201643
|
const isExecutableRegExp = /\.(?:com|exe)$/i;
|
@@ -201987,13 +201813,13 @@ module.exports.argument = escapeArgument;
|
|
201987
201813
|
/***/ }),
|
201988
201814
|
|
201989
201815
|
/***/ 2655:
|
201990
|
-
/***/ ((module, __unused_webpack_exports,
|
201816
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_436410__) => {
|
201991
201817
|
|
201992
201818
|
"use strict";
|
201993
201819
|
|
201994
201820
|
|
201995
|
-
const fs =
|
201996
|
-
const shebangCommand =
|
201821
|
+
const fs = __nested_webpack_require_436410__(5747);
|
201822
|
+
const shebangCommand = __nested_webpack_require_436410__(4970);
|
201997
201823
|
|
201998
201824
|
function readShebang(command) {
|
201999
201825
|
// Read the first 150 bytes from the file
|
@@ -202027,14 +201853,14 @@ module.exports = readShebang;
|
|
202027
201853
|
/***/ }),
|
202028
201854
|
|
202029
201855
|
/***/ 7231:
|
202030
|
-
/***/ ((module, __unused_webpack_exports,
|
201856
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_437256__) => {
|
202031
201857
|
|
202032
201858
|
"use strict";
|
202033
201859
|
|
202034
201860
|
|
202035
|
-
const path =
|
202036
|
-
const which =
|
202037
|
-
const pathKey =
|
201861
|
+
const path = __nested_webpack_require_437256__(5622);
|
201862
|
+
const which = __nested_webpack_require_437256__(8201);
|
201863
|
+
const pathKey = __nested_webpack_require_437256__(4725)();
|
202038
201864
|
|
202039
201865
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
202040
201866
|
const cwd = process.cwd();
|
@@ -203572,9 +203398,9 @@ function coerce (version) {
|
|
203572
203398
|
/***/ }),
|
203573
203399
|
|
203574
203400
|
/***/ 687:
|
203575
|
-
/***/ ((module, __unused_webpack_exports,
|
203401
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_477561__) => {
|
203576
203402
|
|
203577
|
-
var once =
|
203403
|
+
var once = __nested_webpack_require_477561__(7197);
|
203578
203404
|
|
203579
203405
|
var noop = function() {};
|
203580
203406
|
|
@@ -203666,21 +203492,20 @@ module.exports = eos;
|
|
203666
203492
|
/***/ }),
|
203667
203493
|
|
203668
203494
|
/***/ 4994:
|
203669
|
-
/***/ ((module, __unused_webpack_exports,
|
203495
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_480158__) => {
|
203670
203496
|
|
203671
203497
|
"use strict";
|
203672
203498
|
|
203673
203499
|
|
203674
|
-
const fs =
|
203675
|
-
const path =
|
203676
|
-
const
|
203677
|
-
const
|
203678
|
-
|
203679
|
-
const notExist = Symbol('notExist')
|
203500
|
+
const fs = __nested_webpack_require_480158__(552)
|
203501
|
+
const path = __nested_webpack_require_480158__(5622)
|
203502
|
+
const mkdirsSync = __nested_webpack_require_480158__(9181).mkdirsSync
|
203503
|
+
const utimesMillisSync = __nested_webpack_require_480158__(8605).utimesMillisSync
|
203504
|
+
const stat = __nested_webpack_require_480158__(9783)
|
203680
203505
|
|
203681
203506
|
function copySync (src, dest, opts) {
|
203682
203507
|
if (typeof opts === 'function') {
|
203683
|
-
opts = {filter: opts}
|
203508
|
+
opts = { filter: opts }
|
203684
203509
|
}
|
203685
203510
|
|
203686
203511
|
opts = opts || {}
|
@@ -203693,13 +203518,16 @@ function copySync (src, dest, opts) {
|
|
203693
203518
|
see https://github.com/jprichardson/node-fs-extra/issues/269`)
|
203694
203519
|
}
|
203695
203520
|
|
203696
|
-
const destStat =
|
203521
|
+
const { srcStat, destStat } = stat.checkPathsSync(src, dest, 'copy', opts)
|
203522
|
+
stat.checkParentPathsSync(src, srcStat, dest, 'copy')
|
203523
|
+
return handleFilterAndCopy(destStat, src, dest, opts)
|
203524
|
+
}
|
203697
203525
|
|
203526
|
+
function handleFilterAndCopy (destStat, src, dest, opts) {
|
203698
203527
|
if (opts.filter && !opts.filter(src, dest)) return
|
203699
|
-
|
203700
203528
|
const destParent = path.dirname(dest)
|
203701
|
-
if (!fs.existsSync(destParent))
|
203702
|
-
return
|
203529
|
+
if (!fs.existsSync(destParent)) mkdirsSync(destParent)
|
203530
|
+
return getStats(destStat, src, dest, opts)
|
203703
203531
|
}
|
203704
203532
|
|
203705
203533
|
function startCopy (destStat, src, dest, opts) {
|
@@ -203716,10 +203544,13 @@ function getStats (destStat, src, dest, opts) {
|
|
203716
203544
|
srcStat.isCharacterDevice() ||
|
203717
203545
|
srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts)
|
203718
203546
|
else if (srcStat.isSymbolicLink()) return onLink(destStat, src, dest, opts)
|
203547
|
+
else if (srcStat.isSocket()) throw new Error(`Cannot copy a socket file: ${src}`)
|
203548
|
+
else if (srcStat.isFIFO()) throw new Error(`Cannot copy a FIFO pipe: ${src}`)
|
203549
|
+
throw new Error(`Unknown file: ${src}`)
|
203719
203550
|
}
|
203720
203551
|
|
203721
203552
|
function onFile (srcStat, destStat, src, dest, opts) {
|
203722
|
-
if (destStat
|
203553
|
+
if (!destStat) return copyFile(srcStat, src, dest, opts)
|
203723
203554
|
return mayCopyFile(srcStat, src, dest, opts)
|
203724
203555
|
}
|
203725
203556
|
|
@@ -203733,49 +203564,48 @@ function mayCopyFile (srcStat, src, dest, opts) {
|
|
203733
203564
|
}
|
203734
203565
|
|
203735
203566
|
function copyFile (srcStat, src, dest, opts) {
|
203736
|
-
|
203737
|
-
|
203738
|
-
|
203739
|
-
if (opts.preserveTimestamps) {
|
203740
|
-
return utimesSync(dest, srcStat.atime, srcStat.mtime)
|
203741
|
-
}
|
203742
|
-
return
|
203743
|
-
}
|
203744
|
-
return copyFileFallback(srcStat, src, dest, opts)
|
203567
|
+
fs.copyFileSync(src, dest)
|
203568
|
+
if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest)
|
203569
|
+
return setDestMode(dest, srcStat.mode)
|
203745
203570
|
}
|
203746
203571
|
|
203747
|
-
function
|
203748
|
-
|
203749
|
-
|
203572
|
+
function handleTimestamps (srcMode, src, dest) {
|
203573
|
+
// Make sure the file is writable before setting the timestamp
|
203574
|
+
// otherwise open fails with EPERM when invoked with 'r+'
|
203575
|
+
// (through utimes call)
|
203576
|
+
if (fileIsNotWritable(srcMode)) makeFileWritable(dest, srcMode)
|
203577
|
+
return setDestTimestamps(src, dest)
|
203578
|
+
}
|
203750
203579
|
|
203751
|
-
|
203752
|
-
|
203753
|
-
|
203580
|
+
function fileIsNotWritable (srcMode) {
|
203581
|
+
return (srcMode & 0o200) === 0
|
203582
|
+
}
|
203754
203583
|
|
203755
|
-
|
203756
|
-
|
203757
|
-
|
203758
|
-
pos += bytesRead
|
203759
|
-
}
|
203584
|
+
function makeFileWritable (dest, srcMode) {
|
203585
|
+
return setDestMode(dest, srcMode | 0o200)
|
203586
|
+
}
|
203760
203587
|
|
203761
|
-
|
203588
|
+
function setDestMode (dest, srcMode) {
|
203589
|
+
return fs.chmodSync(dest, srcMode)
|
203590
|
+
}
|
203762
203591
|
|
203763
|
-
|
203764
|
-
|
203592
|
+
function setDestTimestamps (src, dest) {
|
203593
|
+
// The initial srcStat.atime cannot be trusted
|
203594
|
+
// because it is modified by the read(2) system call
|
203595
|
+
// (See https://nodejs.org/api/fs.html#fs_stat_time_values)
|
203596
|
+
const updatedSrcStat = fs.statSync(src)
|
203597
|
+
return utimesMillisSync(dest, updatedSrcStat.atime, updatedSrcStat.mtime)
|
203765
203598
|
}
|
203766
203599
|
|
203767
203600
|
function onDir (srcStat, destStat, src, dest, opts) {
|
203768
|
-
if (destStat
|
203769
|
-
if (destStat && !destStat.isDirectory()) {
|
203770
|
-
throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`)
|
203771
|
-
}
|
203601
|
+
if (!destStat) return mkDirAndCopy(srcStat.mode, src, dest, opts)
|
203772
203602
|
return copyDir(src, dest, opts)
|
203773
203603
|
}
|
203774
203604
|
|
203775
|
-
function mkDirAndCopy (
|
203605
|
+
function mkDirAndCopy (srcMode, src, dest, opts) {
|
203776
203606
|
fs.mkdirSync(dest)
|
203777
203607
|
copyDir(src, dest, opts)
|
203778
|
-
return
|
203608
|
+
return setDestMode(dest, srcMode)
|
203779
203609
|
}
|
203780
203610
|
|
203781
203611
|
function copyDir (src, dest, opts) {
|
@@ -203785,18 +203615,17 @@ function copyDir (src, dest, opts) {
|
|
203785
203615
|
function copyDirItem (item, src, dest, opts) {
|
203786
203616
|
const srcItem = path.join(src, item)
|
203787
203617
|
const destItem = path.join(dest, item)
|
203788
|
-
const destStat =
|
203618
|
+
const { destStat } = stat.checkPathsSync(srcItem, destItem, 'copy', opts)
|
203789
203619
|
return startCopy(destStat, srcItem, destItem, opts)
|
203790
203620
|
}
|
203791
203621
|
|
203792
203622
|
function onLink (destStat, src, dest, opts) {
|
203793
203623
|
let resolvedSrc = fs.readlinkSync(src)
|
203794
|
-
|
203795
203624
|
if (opts.dereference) {
|
203796
203625
|
resolvedSrc = path.resolve(process.cwd(), resolvedSrc)
|
203797
203626
|
}
|
203798
203627
|
|
203799
|
-
if (destStat
|
203628
|
+
if (!destStat) {
|
203800
203629
|
return fs.symlinkSync(resolvedSrc, dest)
|
203801
203630
|
} else {
|
203802
203631
|
let resolvedDest
|
@@ -203812,14 +203641,14 @@ function onLink (destStat, src, dest, opts) {
|
|
203812
203641
|
if (opts.dereference) {
|
203813
203642
|
resolvedDest = path.resolve(process.cwd(), resolvedDest)
|
203814
203643
|
}
|
203815
|
-
if (isSrcSubdir(resolvedSrc, resolvedDest)) {
|
203644
|
+
if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
|
203816
203645
|
throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`)
|
203817
203646
|
}
|
203818
203647
|
|
203819
203648
|
// prevent copy if src is a subdir of dest since unlinking
|
203820
203649
|
// dest in this case would result in removing src contents
|
203821
203650
|
// and therefore a broken symlink would be created.
|
203822
|
-
if (fs.statSync(dest).isDirectory() && isSrcSubdir(resolvedDest, resolvedSrc)) {
|
203651
|
+
if (fs.statSync(dest).isDirectory() && stat.isSrcSubdir(resolvedDest, resolvedSrc)) {
|
203823
203652
|
throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`)
|
203824
203653
|
}
|
203825
203654
|
return copyLink(resolvedSrc, dest)
|
@@ -203831,74 +203660,43 @@ function copyLink (resolvedSrc, dest) {
|
|
203831
203660
|
return fs.symlinkSync(resolvedSrc, dest)
|
203832
203661
|
}
|
203833
203662
|
|
203834
|
-
// return true if dest is a subdir of src, otherwise false.
|
203835
|
-
function isSrcSubdir (src, dest) {
|
203836
|
-
const srcArray = path.resolve(src).split(path.sep)
|
203837
|
-
const destArray = path.resolve(dest).split(path.sep)
|
203838
|
-
return srcArray.reduce((acc, current, i) => acc && destArray[i] === current, true)
|
203839
|
-
}
|
203840
|
-
|
203841
|
-
function checkStats (src, dest) {
|
203842
|
-
const srcStat = fs.statSync(src)
|
203843
|
-
let destStat
|
203844
|
-
try {
|
203845
|
-
destStat = fs.statSync(dest)
|
203846
|
-
} catch (err) {
|
203847
|
-
if (err.code === 'ENOENT') return {srcStat, destStat: notExist}
|
203848
|
-
throw err
|
203849
|
-
}
|
203850
|
-
return {srcStat, destStat}
|
203851
|
-
}
|
203852
|
-
|
203853
|
-
function checkPaths (src, dest) {
|
203854
|
-
const {srcStat, destStat} = checkStats(src, dest)
|
203855
|
-
if (destStat.ino && destStat.ino === srcStat.ino) {
|
203856
|
-
throw new Error('Source and destination must not be the same.')
|
203857
|
-
}
|
203858
|
-
if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {
|
203859
|
-
throw new Error(`Cannot copy '${src}' to a subdirectory of itself, '${dest}'.`)
|
203860
|
-
}
|
203861
|
-
return destStat
|
203862
|
-
}
|
203863
|
-
|
203864
203663
|
module.exports = copySync
|
203865
203664
|
|
203866
203665
|
|
203867
203666
|
/***/ }),
|
203868
203667
|
|
203869
203668
|
/***/ 9567:
|
203870
|
-
/***/ ((module, __unused_webpack_exports,
|
203669
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_485992__) => {
|
203871
203670
|
|
203872
203671
|
"use strict";
|
203873
203672
|
|
203874
203673
|
|
203875
203674
|
module.exports = {
|
203876
|
-
copySync:
|
203675
|
+
copySync: __nested_webpack_require_485992__(4994)
|
203877
203676
|
}
|
203878
203677
|
|
203879
203678
|
|
203880
203679
|
/***/ }),
|
203881
203680
|
|
203882
203681
|
/***/ 4487:
|
203883
|
-
/***/ ((module, __unused_webpack_exports,
|
203682
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_486161__) => {
|
203884
203683
|
|
203885
203684
|
"use strict";
|
203886
203685
|
|
203887
203686
|
|
203888
|
-
const fs =
|
203889
|
-
const path =
|
203890
|
-
const
|
203891
|
-
const pathExists =
|
203892
|
-
const
|
203893
|
-
|
203894
|
-
const notExist = Symbol('notExist')
|
203687
|
+
const fs = __nested_webpack_require_486161__(552)
|
203688
|
+
const path = __nested_webpack_require_486161__(5622)
|
203689
|
+
const mkdirs = __nested_webpack_require_486161__(9181).mkdirs
|
203690
|
+
const pathExists = __nested_webpack_require_486161__(5516).pathExists
|
203691
|
+
const utimesMillis = __nested_webpack_require_486161__(8605).utimesMillis
|
203692
|
+
const stat = __nested_webpack_require_486161__(9783)
|
203895
203693
|
|
203896
203694
|
function copy (src, dest, opts, cb) {
|
203897
203695
|
if (typeof opts === 'function' && !cb) {
|
203898
203696
|
cb = opts
|
203899
203697
|
opts = {}
|
203900
203698
|
} else if (typeof opts === 'function') {
|
203901
|
-
opts = {filter: opts}
|
203699
|
+
opts = { filter: opts }
|
203902
203700
|
}
|
203903
203701
|
|
203904
203702
|
cb = cb || function () {}
|
@@ -203913,10 +203711,14 @@ function copy (src, dest, opts, cb) {
|
|
203913
203711
|
see https://github.com/jprichardson/node-fs-extra/issues/269`)
|
203914
203712
|
}
|
203915
203713
|
|
203916
|
-
checkPaths(src, dest, (err,
|
203714
|
+
stat.checkPaths(src, dest, 'copy', opts, (err, stats) => {
|
203917
203715
|
if (err) return cb(err)
|
203918
|
-
|
203919
|
-
|
203716
|
+
const { srcStat, destStat } = stats
|
203717
|
+
stat.checkParentPaths(src, srcStat, dest, 'copy', err => {
|
203718
|
+
if (err) return cb(err)
|
203719
|
+
if (opts.filter) return handleFilter(checkParentDir, destStat, src, dest, opts, cb)
|
203720
|
+
return checkParentDir(destStat, src, dest, opts, cb)
|
203721
|
+
})
|
203920
203722
|
})
|
203921
203723
|
}
|
203922
203724
|
|
@@ -203924,20 +203726,17 @@ function checkParentDir (destStat, src, dest, opts, cb) {
|
|
203924
203726
|
const destParent = path.dirname(dest)
|
203925
203727
|
pathExists(destParent, (err, dirExists) => {
|
203926
203728
|
if (err) return cb(err)
|
203927
|
-
if (dirExists) return
|
203928
|
-
|
203729
|
+
if (dirExists) return getStats(destStat, src, dest, opts, cb)
|
203730
|
+
mkdirs(destParent, err => {
|
203929
203731
|
if (err) return cb(err)
|
203930
|
-
return
|
203732
|
+
return getStats(destStat, src, dest, opts, cb)
|
203931
203733
|
})
|
203932
203734
|
})
|
203933
203735
|
}
|
203934
203736
|
|
203935
203737
|
function handleFilter (onInclude, destStat, src, dest, opts, cb) {
|
203936
203738
|
Promise.resolve(opts.filter(src, dest)).then(include => {
|
203937
|
-
if (include)
|
203938
|
-
if (destStat) return onInclude(destStat, src, dest, opts, cb)
|
203939
|
-
return onInclude(src, dest, opts, cb)
|
203940
|
-
}
|
203739
|
+
if (include) return onInclude(destStat, src, dest, opts, cb)
|
203941
203740
|
return cb()
|
203942
203741
|
}, error => cb(error))
|
203943
203742
|
}
|
@@ -203957,11 +203756,14 @@ function getStats (destStat, src, dest, opts, cb) {
|
|
203957
203756
|
srcStat.isCharacterDevice() ||
|
203958
203757
|
srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts, cb)
|
203959
203758
|
else if (srcStat.isSymbolicLink()) return onLink(destStat, src, dest, opts, cb)
|
203759
|
+
else if (srcStat.isSocket()) return cb(new Error(`Cannot copy a socket file: ${src}`))
|
203760
|
+
else if (srcStat.isFIFO()) return cb(new Error(`Cannot copy a FIFO pipe: ${src}`))
|
203761
|
+
return cb(new Error(`Unknown file: ${src}`))
|
203960
203762
|
})
|
203961
203763
|
}
|
203962
203764
|
|
203963
203765
|
function onFile (srcStat, destStat, src, dest, opts, cb) {
|
203964
|
-
if (destStat
|
203766
|
+
if (!destStat) return copyFile(srcStat, src, dest, opts, cb)
|
203965
203767
|
return mayCopyFile(srcStat, src, dest, opts, cb)
|
203966
203768
|
}
|
203967
203769
|
|
@@ -203977,49 +203779,66 @@ function mayCopyFile (srcStat, src, dest, opts, cb) {
|
|
203977
203779
|
}
|
203978
203780
|
|
203979
203781
|
function copyFile (srcStat, src, dest, opts, cb) {
|
203980
|
-
|
203981
|
-
|
203782
|
+
fs.copyFile(src, dest, err => {
|
203783
|
+
if (err) return cb(err)
|
203784
|
+
if (opts.preserveTimestamps) return handleTimestampsAndMode(srcStat.mode, src, dest, cb)
|
203785
|
+
return setDestMode(dest, srcStat.mode, cb)
|
203786
|
+
})
|
203787
|
+
}
|
203788
|
+
|
203789
|
+
function handleTimestampsAndMode (srcMode, src, dest, cb) {
|
203790
|
+
// Make sure the file is writable before setting the timestamp
|
203791
|
+
// otherwise open fails with EPERM when invoked with 'r+'
|
203792
|
+
// (through utimes call)
|
203793
|
+
if (fileIsNotWritable(srcMode)) {
|
203794
|
+
return makeFileWritable(dest, srcMode, err => {
|
203982
203795
|
if (err) return cb(err)
|
203983
|
-
return
|
203796
|
+
return setDestTimestampsAndMode(srcMode, src, dest, cb)
|
203984
203797
|
})
|
203985
203798
|
}
|
203986
|
-
return
|
203799
|
+
return setDestTimestampsAndMode(srcMode, src, dest, cb)
|
203987
203800
|
}
|
203988
203801
|
|
203989
|
-
function
|
203990
|
-
|
203991
|
-
|
203992
|
-
|
203993
|
-
|
203994
|
-
|
203995
|
-
|
203802
|
+
function fileIsNotWritable (srcMode) {
|
203803
|
+
return (srcMode & 0o200) === 0
|
203804
|
+
}
|
203805
|
+
|
203806
|
+
function makeFileWritable (dest, srcMode, cb) {
|
203807
|
+
return setDestMode(dest, srcMode | 0o200, cb)
|
203808
|
+
}
|
203809
|
+
|
203810
|
+
function setDestTimestampsAndMode (srcMode, src, dest, cb) {
|
203811
|
+
setDestTimestamps(src, dest, err => {
|
203812
|
+
if (err) return cb(err)
|
203813
|
+
return setDestMode(dest, srcMode, cb)
|
203996
203814
|
})
|
203997
203815
|
}
|
203998
203816
|
|
203999
|
-
function
|
204000
|
-
fs.chmod(dest,
|
203817
|
+
function setDestMode (dest, srcMode, cb) {
|
203818
|
+
return fs.chmod(dest, srcMode, cb)
|
203819
|
+
}
|
203820
|
+
|
203821
|
+
function setDestTimestamps (src, dest, cb) {
|
203822
|
+
// The initial srcStat.atime cannot be trusted
|
203823
|
+
// because it is modified by the read(2) system call
|
203824
|
+
// (See https://nodejs.org/api/fs.html#fs_stat_time_values)
|
203825
|
+
fs.stat(src, (err, updatedSrcStat) => {
|
204001
203826
|
if (err) return cb(err)
|
204002
|
-
|
204003
|
-
return utimes(dest, srcStat.atime, srcStat.mtime, cb)
|
204004
|
-
}
|
204005
|
-
return cb()
|
203827
|
+
return utimesMillis(dest, updatedSrcStat.atime, updatedSrcStat.mtime, cb)
|
204006
203828
|
})
|
204007
203829
|
}
|
204008
203830
|
|
204009
203831
|
function onDir (srcStat, destStat, src, dest, opts, cb) {
|
204010
|
-
if (destStat
|
204011
|
-
if (destStat && !destStat.isDirectory()) {
|
204012
|
-
return cb(new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`))
|
204013
|
-
}
|
203832
|
+
if (!destStat) return mkDirAndCopy(srcStat.mode, src, dest, opts, cb)
|
204014
203833
|
return copyDir(src, dest, opts, cb)
|
204015
203834
|
}
|
204016
203835
|
|
204017
|
-
function mkDirAndCopy (
|
203836
|
+
function mkDirAndCopy (srcMode, src, dest, opts, cb) {
|
204018
203837
|
fs.mkdir(dest, err => {
|
204019
203838
|
if (err) return cb(err)
|
204020
203839
|
copyDir(src, dest, opts, err => {
|
204021
203840
|
if (err) return cb(err)
|
204022
|
-
return
|
203841
|
+
return setDestMode(dest, srcMode, cb)
|
204023
203842
|
})
|
204024
203843
|
})
|
204025
203844
|
}
|
@@ -204040,8 +203859,9 @@ function copyDirItems (items, src, dest, opts, cb) {
|
|
204040
203859
|
function copyDirItem (items, item, src, dest, opts, cb) {
|
204041
203860
|
const srcItem = path.join(src, item)
|
204042
203861
|
const destItem = path.join(dest, item)
|
204043
|
-
checkPaths(srcItem, destItem, (err,
|
203862
|
+
stat.checkPaths(srcItem, destItem, 'copy', opts, (err, stats) => {
|
204044
203863
|
if (err) return cb(err)
|
203864
|
+
const { destStat } = stats
|
204045
203865
|
startCopy(destStat, srcItem, destItem, opts, err => {
|
204046
203866
|
if (err) return cb(err)
|
204047
203867
|
return copyDirItems(items, src, dest, opts, cb)
|
@@ -204052,12 +203872,11 @@ function copyDirItem (items, item, src, dest, opts, cb) {
|
|
204052
203872
|
function onLink (destStat, src, dest, opts, cb) {
|
204053
203873
|
fs.readlink(src, (err, resolvedSrc) => {
|
204054
203874
|
if (err) return cb(err)
|
204055
|
-
|
204056
203875
|
if (opts.dereference) {
|
204057
203876
|
resolvedSrc = path.resolve(process.cwd(), resolvedSrc)
|
204058
203877
|
}
|
204059
203878
|
|
204060
|
-
if (destStat
|
203879
|
+
if (!destStat) {
|
204061
203880
|
return fs.symlink(resolvedSrc, dest, cb)
|
204062
203881
|
} else {
|
204063
203882
|
fs.readlink(dest, (err, resolvedDest) => {
|
@@ -204071,14 +203890,14 @@ function onLink (destStat, src, dest, opts, cb) {
|
|
204071
203890
|
if (opts.dereference) {
|
204072
203891
|
resolvedDest = path.resolve(process.cwd(), resolvedDest)
|
204073
203892
|
}
|
204074
|
-
if (isSrcSubdir(resolvedSrc, resolvedDest)) {
|
203893
|
+
if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
|
204075
203894
|
return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`))
|
204076
203895
|
}
|
204077
203896
|
|
204078
203897
|
// do not copy if src is a subdir of dest since unlinking
|
204079
203898
|
// dest in this case would result in removing src contents
|
204080
203899
|
// and therefore a broken symlink would be created.
|
204081
|
-
if (destStat.isDirectory() && isSrcSubdir(resolvedDest, resolvedSrc)) {
|
203900
|
+
if (destStat.isDirectory() && stat.isSrcSubdir(resolvedDest, resolvedSrc)) {
|
204082
203901
|
return cb(new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`))
|
204083
203902
|
}
|
204084
203903
|
return copyLink(resolvedSrc, dest, cb)
|
@@ -204094,96 +203913,53 @@ function copyLink (resolvedSrc, dest, cb) {
|
|
204094
203913
|
})
|
204095
203914
|
}
|
204096
203915
|
|
204097
|
-
// return true if dest is a subdir of src, otherwise false.
|
204098
|
-
function isSrcSubdir (src, dest) {
|
204099
|
-
const srcArray = path.resolve(src).split(path.sep)
|
204100
|
-
const destArray = path.resolve(dest).split(path.sep)
|
204101
|
-
return srcArray.reduce((acc, current, i) => acc && destArray[i] === current, true)
|
204102
|
-
}
|
204103
|
-
|
204104
|
-
function checkStats (src, dest, cb) {
|
204105
|
-
fs.stat(src, (err, srcStat) => {
|
204106
|
-
if (err) return cb(err)
|
204107
|
-
fs.stat(dest, (err, destStat) => {
|
204108
|
-
if (err) {
|
204109
|
-
if (err.code === 'ENOENT') return cb(null, {srcStat, destStat: notExist})
|
204110
|
-
return cb(err)
|
204111
|
-
}
|
204112
|
-
return cb(null, {srcStat, destStat})
|
204113
|
-
})
|
204114
|
-
})
|
204115
|
-
}
|
204116
|
-
|
204117
|
-
function checkPaths (src, dest, cb) {
|
204118
|
-
checkStats(src, dest, (err, stats) => {
|
204119
|
-
if (err) return cb(err)
|
204120
|
-
const {srcStat, destStat} = stats
|
204121
|
-
if (destStat.ino && destStat.ino === srcStat.ino) {
|
204122
|
-
return cb(new Error('Source and destination must not be the same.'))
|
204123
|
-
}
|
204124
|
-
if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {
|
204125
|
-
return cb(new Error(`Cannot copy '${src}' to a subdirectory of itself, '${dest}'.`))
|
204126
|
-
}
|
204127
|
-
return cb(null, destStat)
|
204128
|
-
})
|
204129
|
-
}
|
204130
|
-
|
204131
203916
|
module.exports = copy
|
204132
203917
|
|
204133
203918
|
|
204134
203919
|
/***/ }),
|
204135
203920
|
|
204136
203921
|
/***/ 8852:
|
204137
|
-
/***/ ((module, __unused_webpack_exports,
|
203922
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_493975__) => {
|
204138
203923
|
|
204139
203924
|
"use strict";
|
204140
203925
|
|
204141
203926
|
|
204142
|
-
const u =
|
203927
|
+
const u = __nested_webpack_require_493975__(7500).fromCallback
|
204143
203928
|
module.exports = {
|
204144
|
-
copy: u(
|
203929
|
+
copy: u(__nested_webpack_require_493975__(4487))
|
204145
203930
|
}
|
204146
203931
|
|
204147
203932
|
|
204148
203933
|
/***/ }),
|
204149
203934
|
|
204150
203935
|
/***/ 2677:
|
204151
|
-
/***/ ((module, __unused_webpack_exports,
|
203936
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_494192__) => {
|
204152
203937
|
|
204153
203938
|
"use strict";
|
204154
203939
|
|
204155
203940
|
|
204156
|
-
const u =
|
204157
|
-
const fs =
|
204158
|
-
const path =
|
204159
|
-
const mkdir =
|
204160
|
-
const remove =
|
204161
|
-
|
204162
|
-
const emptyDir = u(function emptyDir (dir, callback) {
|
204163
|
-
callback = callback || function () {}
|
204164
|
-
fs.readdir(dir, (err, items) => {
|
204165
|
-
if (err) return mkdir.mkdirs(dir, callback)
|
203941
|
+
const u = __nested_webpack_require_494192__(7500).fromPromise
|
203942
|
+
const fs = __nested_webpack_require_494192__(893)
|
203943
|
+
const path = __nested_webpack_require_494192__(5622)
|
203944
|
+
const mkdir = __nested_webpack_require_494192__(9181)
|
203945
|
+
const remove = __nested_webpack_require_494192__(4879)
|
204166
203946
|
|
204167
|
-
|
204168
|
-
|
204169
|
-
|
203947
|
+
const emptyDir = u(async function emptyDir (dir) {
|
203948
|
+
let items
|
203949
|
+
try {
|
203950
|
+
items = await fs.readdir(dir)
|
203951
|
+
} catch {
|
203952
|
+
return mkdir.mkdirs(dir)
|
203953
|
+
}
|
204170
203954
|
|
204171
|
-
|
204172
|
-
const item = items.pop()
|
204173
|
-
if (!item) return callback()
|
204174
|
-
remove.remove(item, err => {
|
204175
|
-
if (err) return callback(err)
|
204176
|
-
deleteItem()
|
204177
|
-
})
|
204178
|
-
}
|
204179
|
-
})
|
203955
|
+
return Promise.all(items.map(item => remove.remove(path.join(dir, item))))
|
204180
203956
|
})
|
204181
203957
|
|
204182
203958
|
function emptyDirSync (dir) {
|
204183
203959
|
let items
|
204184
203960
|
try {
|
204185
203961
|
items = fs.readdirSync(dir)
|
204186
|
-
} catch
|
203962
|
+
} catch {
|
204187
203963
|
return mkdir.mkdirsSync(dir)
|
204188
203964
|
}
|
204189
203965
|
|
@@ -204204,16 +203980,15 @@ module.exports = {
|
|
204204
203980
|
/***/ }),
|
204205
203981
|
|
204206
203982
|
/***/ 2446:
|
204207
|
-
/***/ ((module, __unused_webpack_exports,
|
203983
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_495065__) => {
|
204208
203984
|
|
204209
203985
|
"use strict";
|
204210
203986
|
|
204211
203987
|
|
204212
|
-
const u =
|
204213
|
-
const path =
|
204214
|
-
const fs =
|
204215
|
-
const mkdir =
|
204216
|
-
const pathExists = __nested_webpack_require_499834__(5516).pathExists
|
203988
|
+
const u = __nested_webpack_require_495065__(7500).fromCallback
|
203989
|
+
const path = __nested_webpack_require_495065__(5622)
|
203990
|
+
const fs = __nested_webpack_require_495065__(552)
|
203991
|
+
const mkdir = __nested_webpack_require_495065__(9181)
|
204217
203992
|
|
204218
203993
|
function createFile (file, callback) {
|
204219
203994
|
function makeFile () {
|
@@ -204226,13 +204001,26 @@ function createFile (file, callback) {
|
|
204226
204001
|
fs.stat(file, (err, stats) => { // eslint-disable-line handle-callback-err
|
204227
204002
|
if (!err && stats.isFile()) return callback()
|
204228
204003
|
const dir = path.dirname(file)
|
204229
|
-
|
204230
|
-
if (err)
|
204231
|
-
|
204232
|
-
|
204233
|
-
|
204234
|
-
|
204235
|
-
|
204004
|
+
fs.stat(dir, (err, stats) => {
|
204005
|
+
if (err) {
|
204006
|
+
// if the directory doesn't exist, make it
|
204007
|
+
if (err.code === 'ENOENT') {
|
204008
|
+
return mkdir.mkdirs(dir, err => {
|
204009
|
+
if (err) return callback(err)
|
204010
|
+
makeFile()
|
204011
|
+
})
|
204012
|
+
}
|
204013
|
+
return callback(err)
|
204014
|
+
}
|
204015
|
+
|
204016
|
+
if (stats.isDirectory()) makeFile()
|
204017
|
+
else {
|
204018
|
+
// parent is not a directory
|
204019
|
+
// This is just to cause an internal ENOTDIR error to be thrown
|
204020
|
+
fs.readdir(dir, err => {
|
204021
|
+
if (err) return callback(err)
|
204022
|
+
})
|
204023
|
+
}
|
204236
204024
|
})
|
204237
204025
|
})
|
204238
204026
|
}
|
@@ -204241,12 +204029,20 @@ function createFileSync (file) {
|
|
204241
204029
|
let stats
|
204242
204030
|
try {
|
204243
204031
|
stats = fs.statSync(file)
|
204244
|
-
} catch
|
204032
|
+
} catch {}
|
204245
204033
|
if (stats && stats.isFile()) return
|
204246
204034
|
|
204247
204035
|
const dir = path.dirname(file)
|
204248
|
-
|
204249
|
-
|
204036
|
+
try {
|
204037
|
+
if (!fs.statSync(dir).isDirectory()) {
|
204038
|
+
// parent is not a directory
|
204039
|
+
// This is just to cause an internal ENOTDIR error to be thrown
|
204040
|
+
fs.readdirSync(dir)
|
204041
|
+
}
|
204042
|
+
} catch (err) {
|
204043
|
+
// If the stat call above failed because the directory doesn't exist, create it
|
204044
|
+
if (err && err.code === 'ENOENT') mkdir.mkdirsSync(dir)
|
204045
|
+
else throw err
|
204250
204046
|
}
|
204251
204047
|
|
204252
204048
|
fs.writeFileSync(file, '')
|
@@ -204261,14 +204057,14 @@ module.exports = {
|
|
204261
204057
|
/***/ }),
|
204262
204058
|
|
204263
204059
|
/***/ 6004:
|
204264
|
-
/***/ ((module, __unused_webpack_exports,
|
204060
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_496889__) => {
|
204265
204061
|
|
204266
204062
|
"use strict";
|
204267
204063
|
|
204268
204064
|
|
204269
|
-
const file =
|
204270
|
-
const link =
|
204271
|
-
const symlink =
|
204065
|
+
const file = __nested_webpack_require_496889__(2446)
|
204066
|
+
const link = __nested_webpack_require_496889__(9140)
|
204067
|
+
const symlink = __nested_webpack_require_496889__(3674)
|
204272
204068
|
|
204273
204069
|
module.exports = {
|
204274
204070
|
// file
|
@@ -204292,16 +204088,17 @@ module.exports = {
|
|
204292
204088
|
/***/ }),
|
204293
204089
|
|
204294
204090
|
/***/ 9140:
|
204295
|
-
/***/ ((module, __unused_webpack_exports,
|
204091
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_497629__) => {
|
204296
204092
|
|
204297
204093
|
"use strict";
|
204298
204094
|
|
204299
204095
|
|
204300
|
-
const u =
|
204301
|
-
const path =
|
204302
|
-
const fs =
|
204303
|
-
const mkdir =
|
204304
|
-
const pathExists =
|
204096
|
+
const u = __nested_webpack_require_497629__(7500).fromCallback
|
204097
|
+
const path = __nested_webpack_require_497629__(5622)
|
204098
|
+
const fs = __nested_webpack_require_497629__(552)
|
204099
|
+
const mkdir = __nested_webpack_require_497629__(9181)
|
204100
|
+
const pathExists = __nested_webpack_require_497629__(5516).pathExists
|
204101
|
+
const { areIdentical } = __nested_webpack_require_497629__(9783)
|
204305
204102
|
|
204306
204103
|
function createLink (srcpath, dstpath, callback) {
|
204307
204104
|
function makeLink (srcpath, dstpath) {
|
@@ -204311,14 +204108,13 @@ function createLink (srcpath, dstpath, callback) {
|
|
204311
204108
|
})
|
204312
204109
|
}
|
204313
204110
|
|
204314
|
-
|
204315
|
-
|
204316
|
-
if (destinationExists) return callback(null)
|
204317
|
-
fs.lstat(srcpath, (err) => {
|
204111
|
+
fs.lstat(dstpath, (_, dstStat) => {
|
204112
|
+
fs.lstat(srcpath, (err, srcStat) => {
|
204318
204113
|
if (err) {
|
204319
204114
|
err.message = err.message.replace('lstat', 'ensureLink')
|
204320
204115
|
return callback(err)
|
204321
204116
|
}
|
204117
|
+
if (dstStat && areIdentical(srcStat, dstStat)) return callback(null)
|
204322
204118
|
|
204323
204119
|
const dir = path.dirname(dstpath)
|
204324
204120
|
pathExists(dir, (err, dirExists) => {
|
@@ -204334,11 +204130,14 @@ function createLink (srcpath, dstpath, callback) {
|
|
204334
204130
|
}
|
204335
204131
|
|
204336
204132
|
function createLinkSync (srcpath, dstpath) {
|
204337
|
-
|
204338
|
-
|
204133
|
+
let dstStat
|
204134
|
+
try {
|
204135
|
+
dstStat = fs.lstatSync(dstpath)
|
204136
|
+
} catch {}
|
204339
204137
|
|
204340
204138
|
try {
|
204341
|
-
fs.lstatSync(srcpath)
|
204139
|
+
const srcStat = fs.lstatSync(srcpath)
|
204140
|
+
if (dstStat && areIdentical(srcStat, dstStat)) return
|
204342
204141
|
} catch (err) {
|
204343
204142
|
err.message = err.message.replace('lstat', 'ensureLink')
|
204344
204143
|
throw err
|
@@ -204361,14 +204160,14 @@ module.exports = {
|
|
204361
204160
|
/***/ }),
|
204362
204161
|
|
204363
204162
|
/***/ 6522:
|
204364
|
-
/***/ ((module, __unused_webpack_exports,
|
204163
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_499398__) => {
|
204365
204164
|
|
204366
204165
|
"use strict";
|
204367
204166
|
|
204368
204167
|
|
204369
|
-
const path =
|
204370
|
-
const fs =
|
204371
|
-
const pathExists =
|
204168
|
+
const path = __nested_webpack_require_499398__(5622)
|
204169
|
+
const fs = __nested_webpack_require_499398__(552)
|
204170
|
+
const pathExists = __nested_webpack_require_499398__(5516).pathExists
|
204372
204171
|
|
204373
204172
|
/**
|
204374
204173
|
* Function that returns two types of paths, one relative to symlink, and one
|
@@ -204400,8 +204199,8 @@ function symlinkPaths (srcpath, dstpath, callback) {
|
|
204400
204199
|
return callback(err)
|
204401
204200
|
}
|
204402
204201
|
return callback(null, {
|
204403
|
-
|
204404
|
-
|
204202
|
+
toCwd: srcpath,
|
204203
|
+
toDst: srcpath
|
204405
204204
|
})
|
204406
204205
|
})
|
204407
204206
|
} else {
|
@@ -204411,8 +204210,8 @@ function symlinkPaths (srcpath, dstpath, callback) {
|
|
204411
204210
|
if (err) return callback(err)
|
204412
204211
|
if (exists) {
|
204413
204212
|
return callback(null, {
|
204414
|
-
|
204415
|
-
|
204213
|
+
toCwd: relativeToDst,
|
204214
|
+
toDst: srcpath
|
204416
204215
|
})
|
204417
204216
|
} else {
|
204418
204217
|
return fs.lstat(srcpath, (err) => {
|
@@ -204421,8 +204220,8 @@ function symlinkPaths (srcpath, dstpath, callback) {
|
|
204421
204220
|
return callback(err)
|
204422
204221
|
}
|
204423
204222
|
return callback(null, {
|
204424
|
-
|
204425
|
-
|
204223
|
+
toCwd: srcpath,
|
204224
|
+
toDst: path.relative(dstdir, srcpath)
|
204426
204225
|
})
|
204427
204226
|
})
|
204428
204227
|
}
|
@@ -204436,8 +204235,8 @@ function symlinkPathsSync (srcpath, dstpath) {
|
|
204436
204235
|
exists = fs.existsSync(srcpath)
|
204437
204236
|
if (!exists) throw new Error('absolute srcpath does not exist')
|
204438
204237
|
return {
|
204439
|
-
|
204440
|
-
|
204238
|
+
toCwd: srcpath,
|
204239
|
+
toDst: srcpath
|
204441
204240
|
}
|
204442
204241
|
} else {
|
204443
204242
|
const dstdir = path.dirname(dstpath)
|
@@ -204445,15 +204244,15 @@ function symlinkPathsSync (srcpath, dstpath) {
|
|
204445
204244
|
exists = fs.existsSync(relativeToDst)
|
204446
204245
|
if (exists) {
|
204447
204246
|
return {
|
204448
|
-
|
204449
|
-
|
204247
|
+
toCwd: relativeToDst,
|
204248
|
+
toDst: srcpath
|
204450
204249
|
}
|
204451
204250
|
} else {
|
204452
204251
|
exists = fs.existsSync(srcpath)
|
204453
204252
|
if (!exists) throw new Error('relative srcpath does not exist')
|
204454
204253
|
return {
|
204455
|
-
|
204456
|
-
|
204254
|
+
toCwd: srcpath,
|
204255
|
+
toDst: path.relative(dstdir, srcpath)
|
204457
204256
|
}
|
204458
204257
|
}
|
204459
204258
|
}
|
@@ -204468,12 +204267,12 @@ module.exports = {
|
|
204468
204267
|
/***/ }),
|
204469
204268
|
|
204470
204269
|
/***/ 9634:
|
204471
|
-
/***/ ((module, __unused_webpack_exports,
|
204270
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_502880__) => {
|
204472
204271
|
|
204473
204272
|
"use strict";
|
204474
204273
|
|
204475
204274
|
|
204476
|
-
const fs =
|
204275
|
+
const fs = __nested_webpack_require_502880__(552)
|
204477
204276
|
|
204478
204277
|
function symlinkType (srcpath, type, callback) {
|
204479
204278
|
callback = (typeof type === 'function') ? type : callback
|
@@ -204492,7 +204291,7 @@ function symlinkTypeSync (srcpath, type) {
|
|
204492
204291
|
if (type) return type
|
204493
204292
|
try {
|
204494
204293
|
stats = fs.lstatSync(srcpath)
|
204495
|
-
} catch
|
204294
|
+
} catch {
|
204496
204295
|
return 'file'
|
204497
204296
|
}
|
204498
204297
|
return (stats && stats.isDirectory()) ? 'dir' : 'file'
|
@@ -204507,48 +204306,60 @@ module.exports = {
|
|
204507
204306
|
/***/ }),
|
204508
204307
|
|
204509
204308
|
/***/ 3674:
|
204510
|
-
/***/ ((module, __unused_webpack_exports,
|
204309
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_503672__) => {
|
204511
204310
|
|
204512
204311
|
"use strict";
|
204513
204312
|
|
204514
204313
|
|
204515
|
-
const u =
|
204516
|
-
const path =
|
204517
|
-
const fs =
|
204518
|
-
const _mkdirs =
|
204314
|
+
const u = __nested_webpack_require_503672__(7500).fromCallback
|
204315
|
+
const path = __nested_webpack_require_503672__(5622)
|
204316
|
+
const fs = __nested_webpack_require_503672__(893)
|
204317
|
+
const _mkdirs = __nested_webpack_require_503672__(9181)
|
204519
204318
|
const mkdirs = _mkdirs.mkdirs
|
204520
204319
|
const mkdirsSync = _mkdirs.mkdirsSync
|
204521
204320
|
|
204522
|
-
const _symlinkPaths =
|
204321
|
+
const _symlinkPaths = __nested_webpack_require_503672__(6522)
|
204523
204322
|
const symlinkPaths = _symlinkPaths.symlinkPaths
|
204524
204323
|
const symlinkPathsSync = _symlinkPaths.symlinkPathsSync
|
204525
204324
|
|
204526
|
-
const _symlinkType =
|
204325
|
+
const _symlinkType = __nested_webpack_require_503672__(9634)
|
204527
204326
|
const symlinkType = _symlinkType.symlinkType
|
204528
204327
|
const symlinkTypeSync = _symlinkType.symlinkTypeSync
|
204529
204328
|
|
204530
|
-
const pathExists =
|
204329
|
+
const pathExists = __nested_webpack_require_503672__(5516).pathExists
|
204330
|
+
|
204331
|
+
const { areIdentical } = __nested_webpack_require_503672__(9783)
|
204531
204332
|
|
204532
204333
|
function createSymlink (srcpath, dstpath, type, callback) {
|
204533
204334
|
callback = (typeof type === 'function') ? type : callback
|
204534
204335
|
type = (typeof type === 'function') ? false : type
|
204535
204336
|
|
204536
|
-
|
204337
|
+
fs.lstat(dstpath, (err, stats) => {
|
204338
|
+
if (!err && stats.isSymbolicLink()) {
|
204339
|
+
Promise.all([
|
204340
|
+
fs.stat(srcpath),
|
204341
|
+
fs.stat(dstpath)
|
204342
|
+
]).then(([srcStat, dstStat]) => {
|
204343
|
+
if (areIdentical(srcStat, dstStat)) return callback(null)
|
204344
|
+
_createSymlink(srcpath, dstpath, type, callback)
|
204345
|
+
})
|
204346
|
+
} else _createSymlink(srcpath, dstpath, type, callback)
|
204347
|
+
})
|
204348
|
+
}
|
204349
|
+
|
204350
|
+
function _createSymlink (srcpath, dstpath, type, callback) {
|
204351
|
+
symlinkPaths(srcpath, dstpath, (err, relative) => {
|
204537
204352
|
if (err) return callback(err)
|
204538
|
-
|
204539
|
-
|
204353
|
+
srcpath = relative.toDst
|
204354
|
+
symlinkType(relative.toCwd, type, (err, type) => {
|
204540
204355
|
if (err) return callback(err)
|
204541
|
-
|
204542
|
-
|
204356
|
+
const dir = path.dirname(dstpath)
|
204357
|
+
pathExists(dir, (err, dirExists) => {
|
204543
204358
|
if (err) return callback(err)
|
204544
|
-
|
204545
|
-
|
204359
|
+
if (dirExists) return fs.symlink(srcpath, dstpath, type, callback)
|
204360
|
+
mkdirs(dir, err => {
|
204546
204361
|
if (err) return callback(err)
|
204547
|
-
|
204548
|
-
mkdirs(dir, err => {
|
204549
|
-
if (err) return callback(err)
|
204550
|
-
fs.symlink(srcpath, dstpath, type, callback)
|
204551
|
-
})
|
204362
|
+
fs.symlink(srcpath, dstpath, type, callback)
|
204552
204363
|
})
|
204553
204364
|
})
|
204554
204365
|
})
|
@@ -204556,8 +204367,15 @@ function createSymlink (srcpath, dstpath, type, callback) {
|
|
204556
204367
|
}
|
204557
204368
|
|
204558
204369
|
function createSymlinkSync (srcpath, dstpath, type) {
|
204559
|
-
|
204560
|
-
|
204370
|
+
let stats
|
204371
|
+
try {
|
204372
|
+
stats = fs.lstatSync(dstpath)
|
204373
|
+
} catch {}
|
204374
|
+
if (stats && stats.isSymbolicLink()) {
|
204375
|
+
const srcStat = fs.statSync(srcpath)
|
204376
|
+
const dstStat = fs.statSync(dstpath)
|
204377
|
+
if (areIdentical(srcStat, dstStat)) return
|
204378
|
+
}
|
204561
204379
|
|
204562
204380
|
const relative = symlinkPathsSync(srcpath, dstpath)
|
204563
204381
|
srcpath = relative.toDst
|
@@ -204578,14 +204396,14 @@ module.exports = {
|
|
204578
204396
|
/***/ }),
|
204579
204397
|
|
204580
204398
|
/***/ 893:
|
204581
|
-
/***/ ((__unused_webpack_module, exports,
|
204399
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_506315__) => {
|
204582
204400
|
|
204583
204401
|
"use strict";
|
204584
204402
|
|
204585
204403
|
// This is adapted from https://github.com/normalize/mz
|
204586
204404
|
// Copyright (c) 2014-2016 Jonathan Ong me@jongleberry.com and Contributors
|
204587
|
-
const u =
|
204588
|
-
const fs =
|
204405
|
+
const u = __nested_webpack_require_506315__(7500).fromCallback
|
204406
|
+
const fs = __nested_webpack_require_506315__(552)
|
204589
204407
|
|
204590
204408
|
const api = [
|
204591
204409
|
'access',
|
@@ -204601,18 +204419,20 @@ const api = [
|
|
204601
204419
|
'fsync',
|
204602
204420
|
'ftruncate',
|
204603
204421
|
'futimes',
|
204604
|
-
'lchown',
|
204605
204422
|
'lchmod',
|
204423
|
+
'lchown',
|
204606
204424
|
'link',
|
204607
204425
|
'lstat',
|
204608
204426
|
'mkdir',
|
204609
204427
|
'mkdtemp',
|
204610
204428
|
'open',
|
204611
|
-
'
|
204429
|
+
'opendir',
|
204612
204430
|
'readdir',
|
204431
|
+
'readFile',
|
204613
204432
|
'readlink',
|
204614
204433
|
'realpath',
|
204615
204434
|
'rename',
|
204435
|
+
'rm',
|
204616
204436
|
'rmdir',
|
204617
204437
|
'stat',
|
204618
204438
|
'symlink',
|
@@ -204622,26 +204442,20 @@ const api = [
|
|
204622
204442
|
'writeFile'
|
204623
204443
|
].filter(key => {
|
204624
204444
|
// Some commands are not available on some systems. Ex:
|
204625
|
-
// fs.
|
204626
|
-
// fs.
|
204445
|
+
// fs.opendir was added in Node.js v12.12.0
|
204446
|
+
// fs.rm was added in Node.js v14.14.0
|
204627
204447
|
// fs.lchown is not available on at least some Linux
|
204628
204448
|
return typeof fs[key] === 'function'
|
204629
204449
|
})
|
204630
204450
|
|
204631
|
-
// Export
|
204632
|
-
Object.
|
204633
|
-
if (key === 'promises') {
|
204634
|
-
// fs.promises is a getter property that triggers ExperimentalWarning
|
204635
|
-
// Don't re-export it here, the getter is defined in "lib/index.js"
|
204636
|
-
return
|
204637
|
-
}
|
204638
|
-
exports[key] = fs[key]
|
204639
|
-
})
|
204451
|
+
// Export cloned fs:
|
204452
|
+
Object.assign(exports, fs)
|
204640
204453
|
|
204641
204454
|
// Universalify async methods:
|
204642
204455
|
api.forEach(method => {
|
204643
204456
|
exports[method] = u(fs[method])
|
204644
204457
|
})
|
204458
|
+
exports.realpath.native = u(fs.realpath.native)
|
204645
204459
|
|
204646
204460
|
// We differ from mz/fs in that we still ship the old, broken, fs.exists()
|
204647
204461
|
// since we are a drop-in replacement for the native module
|
@@ -204654,7 +204468,7 @@ exports.exists = function (filename, callback) {
|
|
204654
204468
|
})
|
204655
204469
|
}
|
204656
204470
|
|
204657
|
-
// fs.read() & fs.
|
204471
|
+
// fs.read(), fs.write(), & fs.writev() need special treatment due to multiple callback args
|
204658
204472
|
|
204659
204473
|
exports.read = function (fd, buffer, offset, length, position, callback) {
|
204660
204474
|
if (typeof callback === 'function') {
|
@@ -204686,56 +204500,65 @@ exports.write = function (fd, buffer, ...args) {
|
|
204686
204500
|
})
|
204687
204501
|
}
|
204688
204502
|
|
204503
|
+
// fs.writev only available in Node v12.9.0+
|
204504
|
+
if (typeof fs.writev === 'function') {
|
204505
|
+
// Function signature is
|
204506
|
+
// s.writev(fd, buffers[, position], callback)
|
204507
|
+
// We need to handle the optional arg, so we use ...args
|
204508
|
+
exports.writev = function (fd, buffers, ...args) {
|
204509
|
+
if (typeof args[args.length - 1] === 'function') {
|
204510
|
+
return fs.writev(fd, buffers, ...args)
|
204511
|
+
}
|
204512
|
+
|
204513
|
+
return new Promise((resolve, reject) => {
|
204514
|
+
fs.writev(fd, buffers, ...args, (err, bytesWritten, buffers) => {
|
204515
|
+
if (err) return reject(err)
|
204516
|
+
resolve({ bytesWritten, buffers })
|
204517
|
+
})
|
204518
|
+
})
|
204519
|
+
}
|
204520
|
+
}
|
204521
|
+
|
204689
204522
|
|
204690
204523
|
/***/ }),
|
204691
204524
|
|
204692
204525
|
/***/ 5392:
|
204693
|
-
/***/ ((module, __unused_webpack_exports,
|
204526
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_509521__) => {
|
204694
204527
|
|
204695
204528
|
"use strict";
|
204696
204529
|
|
204697
204530
|
|
204698
|
-
module.exports =
|
204699
|
-
{},
|
204531
|
+
module.exports = {
|
204700
204532
|
// Export promiseified graceful-fs:
|
204701
|
-
|
204533
|
+
...__nested_webpack_require_509521__(893),
|
204702
204534
|
// Export extra methods:
|
204703
|
-
|
204704
|
-
|
204705
|
-
|
204706
|
-
|
204707
|
-
|
204708
|
-
|
204709
|
-
|
204710
|
-
|
204711
|
-
|
204712
|
-
|
204713
|
-
|
204714
|
-
)
|
204715
|
-
|
204716
|
-
// Export fs.promises as a getter property so that we don't trigger
|
204717
|
-
// ExperimentalWarning before fs.promises is actually accessed.
|
204718
|
-
const fs = __nested_webpack_require_512721__(5747)
|
204719
|
-
if (Object.getOwnPropertyDescriptor(fs, 'promises')) {
|
204720
|
-
Object.defineProperty(module.exports, "promises", ({
|
204721
|
-
get () { return fs.promises }
|
204722
|
-
}))
|
204535
|
+
...__nested_webpack_require_509521__(9567),
|
204536
|
+
...__nested_webpack_require_509521__(8852),
|
204537
|
+
...__nested_webpack_require_509521__(2677),
|
204538
|
+
...__nested_webpack_require_509521__(6004),
|
204539
|
+
...__nested_webpack_require_509521__(3960),
|
204540
|
+
...__nested_webpack_require_509521__(9181),
|
204541
|
+
...__nested_webpack_require_509521__(4168),
|
204542
|
+
...__nested_webpack_require_509521__(7819),
|
204543
|
+
...__nested_webpack_require_509521__(3849),
|
204544
|
+
...__nested_webpack_require_509521__(5516),
|
204545
|
+
...__nested_webpack_require_509521__(4879)
|
204723
204546
|
}
|
204724
204547
|
|
204725
204548
|
|
204726
204549
|
/***/ }),
|
204727
204550
|
|
204728
204551
|
/***/ 3960:
|
204729
|
-
/***/ ((module, __unused_webpack_exports,
|
204552
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_510099__) => {
|
204730
204553
|
|
204731
204554
|
"use strict";
|
204732
204555
|
|
204733
204556
|
|
204734
|
-
const u =
|
204735
|
-
const jsonFile =
|
204557
|
+
const u = __nested_webpack_require_510099__(7500).fromPromise
|
204558
|
+
const jsonFile = __nested_webpack_require_510099__(4003)
|
204736
204559
|
|
204737
|
-
jsonFile.outputJson = u(
|
204738
|
-
jsonFile.outputJsonSync =
|
204560
|
+
jsonFile.outputJson = u(__nested_webpack_require_510099__(7583))
|
204561
|
+
jsonFile.outputJsonSync = __nested_webpack_require_510099__(3719)
|
204739
204562
|
// aliases
|
204740
204563
|
jsonFile.outputJSON = jsonFile.outputJson
|
204741
204564
|
jsonFile.outputJSONSync = jsonFile.outputJsonSync
|
@@ -204750,19 +204573,18 @@ module.exports = jsonFile
|
|
204750
204573
|
/***/ }),
|
204751
204574
|
|
204752
204575
|
/***/ 4003:
|
204753
|
-
/***/ ((module, __unused_webpack_exports,
|
204576
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_510706__) => {
|
204754
204577
|
|
204755
204578
|
"use strict";
|
204756
204579
|
|
204757
204580
|
|
204758
|
-
const
|
204759
|
-
const jsonFile = __nested_webpack_require_514221__(1215)
|
204581
|
+
const jsonFile = __nested_webpack_require_510706__(4862)
|
204760
204582
|
|
204761
204583
|
module.exports = {
|
204762
204584
|
// jsonfile exports
|
204763
|
-
readJson:
|
204585
|
+
readJson: jsonFile.readFile,
|
204764
204586
|
readJsonSync: jsonFile.readFileSync,
|
204765
|
-
writeJson:
|
204587
|
+
writeJson: jsonFile.writeFile,
|
204766
204588
|
writeJsonSync: jsonFile.writeFileSync
|
204767
204589
|
}
|
204768
204590
|
|
@@ -204770,24 +204592,18 @@ module.exports = {
|
|
204770
204592
|
/***/ }),
|
204771
204593
|
|
204772
204594
|
/***/ 3719:
|
204773
|
-
/***/ ((module, __unused_webpack_exports,
|
204595
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_511046__) => {
|
204774
204596
|
|
204775
204597
|
"use strict";
|
204776
204598
|
|
204777
204599
|
|
204778
|
-
const
|
204779
|
-
const
|
204780
|
-
const mkdir = __nested_webpack_require_514625__(9181)
|
204781
|
-
const jsonFile = __nested_webpack_require_514625__(4003)
|
204600
|
+
const { stringify } = __nested_webpack_require_511046__(7653)
|
204601
|
+
const { outputFileSync } = __nested_webpack_require_511046__(3849)
|
204782
204602
|
|
204783
204603
|
function outputJsonSync (file, data, options) {
|
204784
|
-
const
|
204785
|
-
|
204786
|
-
if (!fs.existsSync(dir)) {
|
204787
|
-
mkdir.mkdirsSync(dir)
|
204788
|
-
}
|
204604
|
+
const str = stringify(data, options)
|
204789
204605
|
|
204790
|
-
|
204606
|
+
outputFileSync(file, str, options)
|
204791
204607
|
}
|
204792
204608
|
|
204793
204609
|
module.exports = outputJsonSync
|
@@ -204796,33 +204612,18 @@ module.exports = outputJsonSync
|
|
204796
204612
|
/***/ }),
|
204797
204613
|
|
204798
204614
|
/***/ 7583:
|
204799
|
-
/***/ ((module, __unused_webpack_exports,
|
204615
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_511418__) => {
|
204800
204616
|
|
204801
204617
|
"use strict";
|
204802
204618
|
|
204803
204619
|
|
204804
|
-
const
|
204805
|
-
const
|
204806
|
-
const pathExists = __nested_webpack_require_515117__(5516).pathExists
|
204807
|
-
const jsonFile = __nested_webpack_require_515117__(4003)
|
204808
|
-
|
204809
|
-
function outputJson (file, data, options, callback) {
|
204810
|
-
if (typeof options === 'function') {
|
204811
|
-
callback = options
|
204812
|
-
options = {}
|
204813
|
-
}
|
204814
|
-
|
204815
|
-
const dir = path.dirname(file)
|
204620
|
+
const { stringify } = __nested_webpack_require_511418__(7653)
|
204621
|
+
const { outputFile } = __nested_webpack_require_511418__(3849)
|
204816
204622
|
|
204817
|
-
|
204818
|
-
|
204819
|
-
if (itDoes) return jsonFile.writeJson(file, data, options, callback)
|
204623
|
+
async function outputJson (file, data, options = {}) {
|
204624
|
+
const str = stringify(data, options)
|
204820
204625
|
|
204821
|
-
|
204822
|
-
if (err) return callback(err)
|
204823
|
-
jsonFile.writeJson(file, data, options, callback)
|
204824
|
-
})
|
204825
|
-
})
|
204626
|
+
await outputFile(file, str, options)
|
204826
204627
|
}
|
204827
204628
|
|
204828
204629
|
module.exports = outputJson
|
@@ -204831,331 +204632,193 @@ module.exports = outputJson
|
|
204831
204632
|
/***/ }),
|
204832
204633
|
|
204833
204634
|
/***/ 9181:
|
204834
|
-
/***/ ((module, __unused_webpack_exports,
|
204635
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_511791__) => {
|
204835
204636
|
|
204836
204637
|
"use strict";
|
204837
204638
|
|
204838
|
-
const u =
|
204839
|
-
const
|
204840
|
-
const
|
204639
|
+
const u = __nested_webpack_require_511791__(7500).fromPromise
|
204640
|
+
const { makeDir: _makeDir, makeDirSync } = __nested_webpack_require_511791__(511)
|
204641
|
+
const makeDir = u(_makeDir)
|
204841
204642
|
|
204842
204643
|
module.exports = {
|
204843
|
-
mkdirs,
|
204844
|
-
mkdirsSync,
|
204644
|
+
mkdirs: makeDir,
|
204645
|
+
mkdirsSync: makeDirSync,
|
204845
204646
|
// alias
|
204846
|
-
mkdirp:
|
204847
|
-
mkdirpSync:
|
204848
|
-
ensureDir:
|
204849
|
-
ensureDirSync:
|
204647
|
+
mkdirp: makeDir,
|
204648
|
+
mkdirpSync: makeDirSync,
|
204649
|
+
ensureDir: makeDir,
|
204650
|
+
ensureDirSync: makeDirSync
|
204850
204651
|
}
|
204851
204652
|
|
204852
204653
|
|
204853
204654
|
/***/ }),
|
204854
204655
|
|
204855
|
-
/***/
|
204856
|
-
/***/ ((module, __unused_webpack_exports,
|
204656
|
+
/***/ 511:
|
204657
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_512219__) => {
|
204857
204658
|
|
204858
204659
|
"use strict";
|
204859
204660
|
|
204661
|
+
const fs = __nested_webpack_require_512219__(893)
|
204662
|
+
const { checkPath } = __nested_webpack_require_512219__(1176)
|
204860
204663
|
|
204861
|
-
const
|
204862
|
-
const
|
204863
|
-
|
204864
|
-
|
204865
|
-
|
204866
|
-
|
204867
|
-
function mkdirsSync (p, opts, made) {
|
204868
|
-
if (!opts || typeof opts !== 'object') {
|
204869
|
-
opts = { mode: opts }
|
204870
|
-
}
|
204871
|
-
|
204872
|
-
let mode = opts.mode
|
204873
|
-
const xfs = opts.fs || fs
|
204874
|
-
|
204875
|
-
if (process.platform === 'win32' && invalidWin32Path(p)) {
|
204876
|
-
const errInval = new Error(p + ' contains invalid WIN32 path characters.')
|
204877
|
-
errInval.code = 'EINVAL'
|
204878
|
-
throw errInval
|
204879
|
-
}
|
204664
|
+
const getMode = options => {
|
204665
|
+
const defaults = { mode: 0o777 }
|
204666
|
+
if (typeof options === 'number') return options
|
204667
|
+
return ({ ...defaults, ...options }).mode
|
204668
|
+
}
|
204880
204669
|
|
204881
|
-
|
204882
|
-
|
204883
|
-
}
|
204884
|
-
if (!made) made = null
|
204670
|
+
module.exports.makeDir = async (dir, options) => {
|
204671
|
+
checkPath(dir)
|
204885
204672
|
|
204886
|
-
|
204673
|
+
return fs.mkdir(dir, {
|
204674
|
+
mode: getMode(options),
|
204675
|
+
recursive: true
|
204676
|
+
})
|
204677
|
+
}
|
204887
204678
|
|
204888
|
-
|
204889
|
-
|
204890
|
-
made = made || p
|
204891
|
-
} catch (err0) {
|
204892
|
-
if (err0.code === 'ENOENT') {
|
204893
|
-
if (path.dirname(p) === p) throw err0
|
204894
|
-
made = mkdirsSync(path.dirname(p), opts, made)
|
204895
|
-
mkdirsSync(p, opts, made)
|
204896
|
-
} else {
|
204897
|
-
// In the case of any other error, just see if there's a dir there
|
204898
|
-
// already. If so, then hooray! If not, then something is borked.
|
204899
|
-
let stat
|
204900
|
-
try {
|
204901
|
-
stat = xfs.statSync(p)
|
204902
|
-
} catch (err1) {
|
204903
|
-
throw err0
|
204904
|
-
}
|
204905
|
-
if (!stat.isDirectory()) throw err0
|
204906
|
-
}
|
204907
|
-
}
|
204679
|
+
module.exports.makeDirSync = (dir, options) => {
|
204680
|
+
checkPath(dir)
|
204908
204681
|
|
204909
|
-
return
|
204682
|
+
return fs.mkdirSync(dir, {
|
204683
|
+
mode: getMode(options),
|
204684
|
+
recursive: true
|
204685
|
+
})
|
204910
204686
|
}
|
204911
204687
|
|
204912
|
-
module.exports = mkdirsSync
|
204913
|
-
|
204914
204688
|
|
204915
204689
|
/***/ }),
|
204916
204690
|
|
204917
|
-
/***/
|
204918
|
-
/***/ ((module, __unused_webpack_exports,
|
204691
|
+
/***/ 1176:
|
204692
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_512875__) => {
|
204919
204693
|
|
204920
204694
|
"use strict";
|
204695
|
+
// Adapted from https://github.com/sindresorhus/make-dir
|
204696
|
+
// Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
204697
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
204698
|
+
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
204699
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
204921
204700
|
|
204701
|
+
const path = __nested_webpack_require_512875__(5622)
|
204922
204702
|
|
204923
|
-
|
204924
|
-
|
204925
|
-
|
204926
|
-
|
204927
|
-
const
|
204928
|
-
|
204929
|
-
function mkdirs (p, opts, callback, made) {
|
204930
|
-
if (typeof opts === 'function') {
|
204931
|
-
callback = opts
|
204932
|
-
opts = {}
|
204933
|
-
} else if (!opts || typeof opts !== 'object') {
|
204934
|
-
opts = { mode: opts }
|
204935
|
-
}
|
204936
|
-
|
204937
|
-
if (process.platform === 'win32' && invalidWin32Path(p)) {
|
204938
|
-
const errInval = new Error(p + ' contains invalid WIN32 path characters.')
|
204939
|
-
errInval.code = 'EINVAL'
|
204940
|
-
return callback(errInval)
|
204941
|
-
}
|
204942
|
-
|
204943
|
-
let mode = opts.mode
|
204944
|
-
const xfs = opts.fs || fs
|
204945
|
-
|
204946
|
-
if (mode === undefined) {
|
204947
|
-
mode = o777 & (~process.umask())
|
204948
|
-
}
|
204949
|
-
if (!made) made = null
|
204950
|
-
|
204951
|
-
callback = callback || function () {}
|
204952
|
-
p = path.resolve(p)
|
204953
|
-
|
204954
|
-
xfs.mkdir(p, mode, er => {
|
204955
|
-
if (!er) {
|
204956
|
-
made = made || p
|
204957
|
-
return callback(null, made)
|
204958
|
-
}
|
204959
|
-
switch (er.code) {
|
204960
|
-
case 'ENOENT':
|
204961
|
-
if (path.dirname(p) === p) return callback(er)
|
204962
|
-
mkdirs(path.dirname(p), opts, (er, made) => {
|
204963
|
-
if (er) callback(er, made)
|
204964
|
-
else mkdirs(p, opts, callback, made)
|
204965
|
-
})
|
204966
|
-
break
|
204703
|
+
// https://github.com/nodejs/node/issues/8987
|
204704
|
+
// https://github.com/libuv/libuv/pull/1088
|
204705
|
+
module.exports.checkPath = function checkPath (pth) {
|
204706
|
+
if (process.platform === 'win32') {
|
204707
|
+
const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path.parse(pth).root, ''))
|
204967
204708
|
|
204968
|
-
|
204969
|
-
|
204970
|
-
|
204971
|
-
|
204972
|
-
xfs.stat(p, (er2, stat) => {
|
204973
|
-
// if the stat fails, then that's super weird.
|
204974
|
-
// let the original error be the failure reason.
|
204975
|
-
if (er2 || !stat.isDirectory()) callback(er, made)
|
204976
|
-
else callback(null, made)
|
204977
|
-
})
|
204978
|
-
break
|
204709
|
+
if (pathHasInvalidWinCharacters) {
|
204710
|
+
const error = new Error(`Path contains invalid characters: ${pth}`)
|
204711
|
+
error.code = 'EINVAL'
|
204712
|
+
throw error
|
204979
204713
|
}
|
204980
|
-
}
|
204714
|
+
}
|
204981
204715
|
}
|
204982
204716
|
|
204983
|
-
module.exports = mkdirs
|
204984
|
-
|
204985
204717
|
|
204986
204718
|
/***/ }),
|
204987
204719
|
|
204988
|
-
/***/
|
204989
|
-
/***/ ((module, __unused_webpack_exports,
|
204720
|
+
/***/ 4168:
|
204721
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_514636__) => {
|
204990
204722
|
|
204991
204723
|
"use strict";
|
204992
204724
|
|
204993
204725
|
|
204994
|
-
const path = __nested_webpack_require_519412__(5622)
|
204995
|
-
|
204996
|
-
// get drive on windows
|
204997
|
-
function getRootPath (p) {
|
204998
|
-
p = path.normalize(path.resolve(p)).split(path.sep)
|
204999
|
-
if (p.length > 0) return p[0]
|
205000
|
-
return null
|
205001
|
-
}
|
205002
|
-
|
205003
|
-
// http://stackoverflow.com/a/62888/10333 contains more accurate
|
205004
|
-
// TODO: expand to include the rest
|
205005
|
-
const INVALID_PATH_CHARS = /[<>:"|?*]/
|
205006
|
-
|
205007
|
-
function invalidWin32Path (p) {
|
205008
|
-
const rp = getRootPath(p)
|
205009
|
-
p = p.replace(rp, '')
|
205010
|
-
return INVALID_PATH_CHARS.test(p)
|
205011
|
-
}
|
205012
|
-
|
205013
204726
|
module.exports = {
|
205014
|
-
|
205015
|
-
invalidWin32Path
|
204727
|
+
moveSync: __nested_webpack_require_514636__(6776)
|
205016
204728
|
}
|
205017
204729
|
|
205018
204730
|
|
205019
204731
|
/***/ }),
|
205020
204732
|
|
205021
|
-
/***/
|
205022
|
-
/***/ ((module, __unused_webpack_exports,
|
204733
|
+
/***/ 6776:
|
204734
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_514805__) => {
|
205023
204735
|
|
205024
204736
|
"use strict";
|
205025
204737
|
|
205026
204738
|
|
205027
|
-
const fs =
|
205028
|
-
const path =
|
205029
|
-
const copySync =
|
205030
|
-
const removeSync =
|
205031
|
-
const mkdirpSync =
|
205032
|
-
const
|
205033
|
-
|
205034
|
-
function moveSync (src, dest, options) {
|
205035
|
-
options = options || {}
|
205036
|
-
const overwrite = options.overwrite || options.clobber || false
|
205037
|
-
|
205038
|
-
src = path.resolve(src)
|
205039
|
-
dest = path.resolve(dest)
|
205040
|
-
|
205041
|
-
if (src === dest) return fs.accessSync(src)
|
204739
|
+
const fs = __nested_webpack_require_514805__(552)
|
204740
|
+
const path = __nested_webpack_require_514805__(5622)
|
204741
|
+
const copySync = __nested_webpack_require_514805__(9567).copySync
|
204742
|
+
const removeSync = __nested_webpack_require_514805__(4879).removeSync
|
204743
|
+
const mkdirpSync = __nested_webpack_require_514805__(9181).mkdirpSync
|
204744
|
+
const stat = __nested_webpack_require_514805__(9783)
|
205042
204745
|
|
205043
|
-
|
204746
|
+
function moveSync (src, dest, opts) {
|
204747
|
+
opts = opts || {}
|
204748
|
+
const overwrite = opts.overwrite || opts.clobber || false
|
205044
204749
|
|
205045
|
-
|
205046
|
-
|
204750
|
+
const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, 'move', opts)
|
204751
|
+
stat.checkParentPathsSync(src, srcStat, dest, 'move')
|
204752
|
+
if (!isParentRoot(dest)) mkdirpSync(path.dirname(dest))
|
204753
|
+
return doRename(src, dest, overwrite, isChangingCase)
|
204754
|
+
}
|
205047
204755
|
|
205048
|
-
|
205049
|
-
|
205050
|
-
|
205051
|
-
|
205052
|
-
|
205053
|
-
if (err.code === 'ENOTEMPTY' || err.code === 'EEXIST' || err.code === 'EPERM') {
|
205054
|
-
removeSync(dest)
|
205055
|
-
options.overwrite = false // just overwriteed it, no need to do it again
|
205056
|
-
return moveSync(src, dest, options)
|
205057
|
-
}
|
204756
|
+
function isParentRoot (dest) {
|
204757
|
+
const parent = path.dirname(dest)
|
204758
|
+
const parsedPath = path.parse(parent)
|
204759
|
+
return parsedPath.root === parent
|
204760
|
+
}
|
205058
204761
|
|
205059
|
-
|
205060
|
-
|
205061
|
-
|
205062
|
-
|
205063
|
-
|
205064
|
-
fs.linkSync(src, dest)
|
205065
|
-
return fs.unlinkSync(src)
|
205066
|
-
} catch (err) {
|
205067
|
-
if (err.code === 'EXDEV' || err.code === 'EISDIR' || err.code === 'EPERM' || err.code === 'ENOTSUP') {
|
205068
|
-
return moveSyncAcrossDevice(src, dest, overwrite)
|
205069
|
-
}
|
205070
|
-
throw err
|
205071
|
-
}
|
205072
|
-
}
|
204762
|
+
function doRename (src, dest, overwrite, isChangingCase) {
|
204763
|
+
if (isChangingCase) return rename(src, dest, overwrite)
|
204764
|
+
if (overwrite) {
|
204765
|
+
removeSync(dest)
|
204766
|
+
return rename(src, dest, overwrite)
|
205073
204767
|
}
|
204768
|
+
if (fs.existsSync(dest)) throw new Error('dest already exists.')
|
204769
|
+
return rename(src, dest, overwrite)
|
205074
204770
|
}
|
205075
204771
|
|
205076
|
-
function
|
205077
|
-
|
205078
|
-
|
205079
|
-
|
205080
|
-
|
205081
|
-
|
205082
|
-
return moveFileSyncAcrossDevice(src, dest, overwrite)
|
204772
|
+
function rename (src, dest, overwrite) {
|
204773
|
+
try {
|
204774
|
+
fs.renameSync(src, dest)
|
204775
|
+
} catch (err) {
|
204776
|
+
if (err.code !== 'EXDEV') throw err
|
204777
|
+
return moveAcrossDevice(src, dest, overwrite)
|
205083
204778
|
}
|
205084
204779
|
}
|
205085
204780
|
|
205086
|
-
function
|
205087
|
-
const
|
205088
|
-
|
205089
|
-
|
205090
|
-
const flags = overwrite ? 'w' : 'wx'
|
205091
|
-
|
205092
|
-
const fdr = fs.openSync(src, 'r')
|
205093
|
-
const stat = fs.fstatSync(fdr)
|
205094
|
-
const fdw = fs.openSync(dest, flags, stat.mode)
|
205095
|
-
let pos = 0
|
205096
|
-
|
205097
|
-
while (pos < stat.size) {
|
205098
|
-
const bytesRead = fs.readSync(fdr, _buff, 0, BUF_LENGTH, pos)
|
205099
|
-
fs.writeSync(fdw, _buff, 0, bytesRead)
|
205100
|
-
pos += bytesRead
|
204781
|
+
function moveAcrossDevice (src, dest, overwrite) {
|
204782
|
+
const opts = {
|
204783
|
+
overwrite,
|
204784
|
+
errorOnExist: true
|
205101
204785
|
}
|
205102
|
-
|
205103
|
-
|
205104
|
-
fs.closeSync(fdw)
|
205105
|
-
return fs.unlinkSync(src)
|
204786
|
+
copySync(src, dest, opts)
|
204787
|
+
return removeSync(src)
|
205106
204788
|
}
|
205107
204789
|
|
205108
|
-
|
205109
|
-
const options = {
|
205110
|
-
overwrite: false
|
205111
|
-
}
|
204790
|
+
module.exports = moveSync
|
205112
204791
|
|
205113
|
-
if (overwrite) {
|
205114
|
-
removeSync(dest)
|
205115
|
-
tryCopySync()
|
205116
|
-
} else {
|
205117
|
-
tryCopySync()
|
205118
|
-
}
|
205119
204792
|
|
205120
|
-
|
205121
|
-
|
205122
|
-
|
205123
|
-
|
205124
|
-
|
204793
|
+
/***/ }),
|
204794
|
+
|
204795
|
+
/***/ 7819:
|
204796
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_516417__) => {
|
204797
|
+
|
204798
|
+
"use strict";
|
205125
204799
|
|
205126
|
-
// return true if dest is a subdir of src, otherwise false.
|
205127
|
-
// extract dest base dir and check if that is the same as src basename
|
205128
|
-
function isSrcSubdir (src, dest) {
|
205129
|
-
try {
|
205130
|
-
return fs.statSync(src).isDirectory() &&
|
205131
|
-
src !== dest &&
|
205132
|
-
dest.indexOf(src) > -1 &&
|
205133
|
-
dest.split(path.dirname(src) + path.sep)[1].split(path.sep)[0] === path.basename(src)
|
205134
|
-
} catch (e) {
|
205135
|
-
return false
|
205136
|
-
}
|
205137
|
-
}
|
205138
204800
|
|
204801
|
+
const u = __nested_webpack_require_516417__(7500).fromCallback
|
205139
204802
|
module.exports = {
|
205140
|
-
|
204803
|
+
move: u(__nested_webpack_require_516417__(4064))
|
205141
204804
|
}
|
205142
204805
|
|
205143
204806
|
|
205144
204807
|
/***/ }),
|
205145
204808
|
|
205146
|
-
/***/
|
205147
|
-
/***/ ((module, __unused_webpack_exports,
|
204809
|
+
/***/ 4064:
|
204810
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_516634__) => {
|
205148
204811
|
|
205149
204812
|
"use strict";
|
205150
204813
|
|
205151
204814
|
|
205152
|
-
const
|
205153
|
-
const
|
205154
|
-
const
|
205155
|
-
const
|
205156
|
-
const
|
205157
|
-
const
|
205158
|
-
const
|
204815
|
+
const fs = __nested_webpack_require_516634__(552)
|
204816
|
+
const path = __nested_webpack_require_516634__(5622)
|
204817
|
+
const copy = __nested_webpack_require_516634__(8852).copy
|
204818
|
+
const remove = __nested_webpack_require_516634__(4879).remove
|
204819
|
+
const mkdirp = __nested_webpack_require_516634__(9181).mkdirp
|
204820
|
+
const pathExists = __nested_webpack_require_516634__(5516).pathExists
|
204821
|
+
const stat = __nested_webpack_require_516634__(9783)
|
205159
204822
|
|
205160
204823
|
function move (src, dest, opts, cb) {
|
205161
204824
|
if (typeof opts === 'function') {
|
@@ -205165,25 +204828,28 @@ function move (src, dest, opts, cb) {
|
|
205165
204828
|
|
205166
204829
|
const overwrite = opts.overwrite || opts.clobber || false
|
205167
204830
|
|
205168
|
-
src
|
205169
|
-
dest = path.resolve(dest)
|
205170
|
-
|
205171
|
-
if (src === dest) return fs.access(src, cb)
|
205172
|
-
|
205173
|
-
fs.stat(src, (err, st) => {
|
204831
|
+
stat.checkPaths(src, dest, 'move', opts, (err, stats) => {
|
205174
204832
|
if (err) return cb(err)
|
205175
|
-
|
205176
|
-
|
205177
|
-
return cb(new Error(`Cannot move '${src}' to a subdirectory of itself, '${dest}'.`))
|
205178
|
-
}
|
205179
|
-
mkdirp(path.dirname(dest), err => {
|
204833
|
+
const { srcStat, isChangingCase = false } = stats
|
204834
|
+
stat.checkParentPaths(src, srcStat, dest, 'move', err => {
|
205180
204835
|
if (err) return cb(err)
|
205181
|
-
return doRename(src, dest, overwrite, cb)
|
204836
|
+
if (isParentRoot(dest)) return doRename(src, dest, overwrite, isChangingCase, cb)
|
204837
|
+
mkdirp(path.dirname(dest), err => {
|
204838
|
+
if (err) return cb(err)
|
204839
|
+
return doRename(src, dest, overwrite, isChangingCase, cb)
|
204840
|
+
})
|
205182
204841
|
})
|
205183
204842
|
})
|
205184
204843
|
}
|
205185
204844
|
|
205186
|
-
function
|
204845
|
+
function isParentRoot (dest) {
|
204846
|
+
const parent = path.dirname(dest)
|
204847
|
+
const parsedPath = path.parse(parent)
|
204848
|
+
return parsedPath.root === parent
|
204849
|
+
}
|
204850
|
+
|
204851
|
+
function doRename (src, dest, overwrite, isChangingCase, cb) {
|
204852
|
+
if (isChangingCase) return rename(src, dest, overwrite, cb)
|
205187
204853
|
if (overwrite) {
|
205188
204854
|
return remove(dest, err => {
|
205189
204855
|
if (err) return cb(err)
|
@@ -205210,40 +204876,28 @@ function moveAcrossDevice (src, dest, overwrite, cb) {
|
|
205210
204876
|
overwrite,
|
205211
204877
|
errorOnExist: true
|
205212
204878
|
}
|
205213
|
-
|
205214
204879
|
copy(src, dest, opts, err => {
|
205215
204880
|
if (err) return cb(err)
|
205216
204881
|
return remove(src, cb)
|
205217
204882
|
})
|
205218
204883
|
}
|
205219
204884
|
|
205220
|
-
|
205221
|
-
const srcArray = src.split(path.sep)
|
205222
|
-
const destArray = dest.split(path.sep)
|
205223
|
-
|
205224
|
-
return srcArray.reduce((acc, current, i) => {
|
205225
|
-
return acc && destArray[i] === current
|
205226
|
-
}, true)
|
205227
|
-
}
|
205228
|
-
|
205229
|
-
module.exports = {
|
205230
|
-
move: u(move)
|
205231
|
-
}
|
204885
|
+
module.exports = move
|
205232
204886
|
|
205233
204887
|
|
205234
204888
|
/***/ }),
|
205235
204889
|
|
205236
204890
|
/***/ 3849:
|
205237
|
-
/***/ ((module, __unused_webpack_exports,
|
204891
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_518750__) => {
|
205238
204892
|
|
205239
204893
|
"use strict";
|
205240
204894
|
|
205241
204895
|
|
205242
|
-
const u =
|
205243
|
-
const fs =
|
205244
|
-
const path =
|
205245
|
-
const mkdir =
|
205246
|
-
const pathExists =
|
204896
|
+
const u = __nested_webpack_require_518750__(7500).fromCallback
|
204897
|
+
const fs = __nested_webpack_require_518750__(552)
|
204898
|
+
const path = __nested_webpack_require_518750__(5622)
|
204899
|
+
const mkdir = __nested_webpack_require_518750__(9181)
|
204900
|
+
const pathExists = __nested_webpack_require_518750__(5516).pathExists
|
205247
204901
|
|
205248
204902
|
function outputFile (file, data, encoding, callback) {
|
205249
204903
|
if (typeof encoding === 'function') {
|
@@ -205282,12 +204936,12 @@ module.exports = {
|
|
205282
204936
|
/***/ }),
|
205283
204937
|
|
205284
204938
|
/***/ 5516:
|
205285
|
-
/***/ ((module, __unused_webpack_exports,
|
204939
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_519812__) => {
|
205286
204940
|
|
205287
204941
|
"use strict";
|
205288
204942
|
|
205289
|
-
const u =
|
205290
|
-
const fs =
|
204943
|
+
const u = __nested_webpack_require_519812__(7500).fromPromise
|
204944
|
+
const fs = __nested_webpack_require_519812__(893)
|
205291
204945
|
|
205292
204946
|
function pathExists (path) {
|
205293
204947
|
return fs.access(path).then(() => true).catch(() => false)
|
@@ -205302,31 +204956,44 @@ module.exports = {
|
|
205302
204956
|
/***/ }),
|
205303
204957
|
|
205304
204958
|
/***/ 4879:
|
205305
|
-
/***/ ((module, __unused_webpack_exports,
|
204959
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_520181__) => {
|
205306
204960
|
|
205307
204961
|
"use strict";
|
205308
204962
|
|
205309
204963
|
|
205310
|
-
const
|
205311
|
-
const
|
204964
|
+
const fs = __nested_webpack_require_520181__(552)
|
204965
|
+
const u = __nested_webpack_require_520181__(7500).fromCallback
|
204966
|
+
const rimraf = __nested_webpack_require_520181__(7137)
|
204967
|
+
|
204968
|
+
function remove (path, callback) {
|
204969
|
+
// Node 14.14.0+
|
204970
|
+
if (fs.rm) return fs.rm(path, { recursive: true, force: true }, callback)
|
204971
|
+
rimraf(path, callback)
|
204972
|
+
}
|
204973
|
+
|
204974
|
+
function removeSync (path) {
|
204975
|
+
// Node 14.14.0+
|
204976
|
+
if (fs.rmSync) return fs.rmSync(path, { recursive: true, force: true })
|
204977
|
+
rimraf.sync(path)
|
204978
|
+
}
|
205312
204979
|
|
205313
204980
|
module.exports = {
|
205314
|
-
remove: u(
|
205315
|
-
removeSync
|
204981
|
+
remove: u(remove),
|
204982
|
+
removeSync
|
205316
204983
|
}
|
205317
204984
|
|
205318
204985
|
|
205319
204986
|
/***/ }),
|
205320
204987
|
|
205321
204988
|
/***/ 7137:
|
205322
|
-
/***/ ((module, __unused_webpack_exports,
|
204989
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_520776__) => {
|
205323
204990
|
|
205324
204991
|
"use strict";
|
205325
204992
|
|
205326
204993
|
|
205327
|
-
const fs =
|
205328
|
-
const path =
|
205329
|
-
const assert =
|
204994
|
+
const fs = __nested_webpack_require_520776__(552)
|
204995
|
+
const path = __nested_webpack_require_520776__(5622)
|
204996
|
+
const assert = __nested_webpack_require_520776__(2357)
|
205330
204997
|
|
205331
204998
|
const isWindows = (process.platform === 'win32')
|
205332
204999
|
|
@@ -205437,9 +205104,6 @@ function fixWinEPERM (p, options, er, cb) {
|
|
205437
205104
|
assert(p)
|
205438
205105
|
assert(options)
|
205439
205106
|
assert(typeof cb === 'function')
|
205440
|
-
if (er) {
|
205441
|
-
assert(er instanceof Error)
|
205442
|
-
}
|
205443
205107
|
|
205444
205108
|
options.chmod(p, 0o666, er2 => {
|
205445
205109
|
if (er2) {
|
@@ -205463,9 +205127,6 @@ function fixWinEPERMSync (p, options, er) {
|
|
205463
205127
|
|
205464
205128
|
assert(p)
|
205465
205129
|
assert(options)
|
205466
|
-
if (er) {
|
205467
|
-
assert(er instanceof Error)
|
205468
|
-
}
|
205469
205130
|
|
205470
205131
|
try {
|
205471
205132
|
options.chmodSync(p, 0o666)
|
@@ -205497,9 +205158,6 @@ function fixWinEPERMSync (p, options, er) {
|
|
205497
205158
|
function rmdir (p, options, originalEr, cb) {
|
205498
205159
|
assert(p)
|
205499
205160
|
assert(options)
|
205500
|
-
if (originalEr) {
|
205501
|
-
assert(originalEr instanceof Error)
|
205502
|
-
}
|
205503
205161
|
assert(typeof cb === 'function')
|
205504
205162
|
|
205505
205163
|
// try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS)
|
@@ -205592,9 +205250,6 @@ function rimrafSync (p, options) {
|
|
205592
205250
|
function rmdirSync (p, options, originalEr) {
|
205593
205251
|
assert(p)
|
205594
205252
|
assert(options)
|
205595
|
-
if (originalEr) {
|
205596
|
-
assert(originalEr instanceof Error)
|
205597
|
-
}
|
205598
205253
|
|
205599
205254
|
try {
|
205600
205255
|
options.rmdirSync(p)
|
@@ -205614,24 +205269,24 @@ function rmkidsSync (p, options) {
|
|
205614
205269
|
assert(options)
|
205615
205270
|
options.readdirSync(p).forEach(f => rimrafSync(path.join(p, f), options))
|
205616
205271
|
|
205617
|
-
|
205618
|
-
|
205619
|
-
|
205620
|
-
|
205621
|
-
|
205622
|
-
|
205623
|
-
|
205624
|
-
|
205625
|
-
|
205626
|
-
|
205627
|
-
|
205628
|
-
|
205629
|
-
|
205630
|
-
|
205631
|
-
|
205632
|
-
|
205633
|
-
|
205634
|
-
}
|
205272
|
+
if (isWindows) {
|
205273
|
+
// We only end up here once we got ENOTEMPTY at least once, and
|
205274
|
+
// at this point, we are guaranteed to have removed all the kids.
|
205275
|
+
// So, we know that it won't be ENOENT or ENOTDIR or anything else.
|
205276
|
+
// try really hard to delete stuff on windows, because it has a
|
205277
|
+
// PROFOUNDLY annoying habit of not closing handles promptly when
|
205278
|
+
// files are deleted, resulting in spurious ENOTEMPTY errors.
|
205279
|
+
const startTime = Date.now()
|
205280
|
+
do {
|
205281
|
+
try {
|
205282
|
+
const ret = options.rmdirSync(p, options)
|
205283
|
+
return ret
|
205284
|
+
} catch {}
|
205285
|
+
} while (Date.now() - startTime < 500) // give up after 500ms
|
205286
|
+
} else {
|
205287
|
+
const ret = options.rmdirSync(p, options)
|
205288
|
+
return ret
|
205289
|
+
}
|
205635
205290
|
}
|
205636
205291
|
|
205637
205292
|
module.exports = rimraf
|
@@ -205640,84 +205295,176 @@ rimraf.sync = rimrafSync
|
|
205640
205295
|
|
205641
205296
|
/***/ }),
|
205642
205297
|
|
205643
|
-
/***/
|
205644
|
-
/***/ ((module) => {
|
205298
|
+
/***/ 9783:
|
205299
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_528335__) => {
|
205645
205300
|
|
205646
205301
|
"use strict";
|
205647
205302
|
|
205648
|
-
|
205649
|
-
|
205650
|
-
|
205651
|
-
|
205652
|
-
|
205653
|
-
|
205654
|
-
|
205655
|
-
}
|
205303
|
+
|
205304
|
+
const fs = __nested_webpack_require_528335__(893)
|
205305
|
+
const path = __nested_webpack_require_528335__(5622)
|
205306
|
+
const util = __nested_webpack_require_528335__(1669)
|
205307
|
+
|
205308
|
+
function getStats (src, dest, opts) {
|
205309
|
+
const statFunc = opts.dereference
|
205310
|
+
? (file) => fs.stat(file, { bigint: true })
|
205311
|
+
: (file) => fs.lstat(file, { bigint: true })
|
205312
|
+
return Promise.all([
|
205313
|
+
statFunc(src),
|
205314
|
+
statFunc(dest).catch(err => {
|
205315
|
+
if (err.code === 'ENOENT') return null
|
205316
|
+
throw err
|
205317
|
+
})
|
205318
|
+
]).then(([srcStat, destStat]) => ({ srcStat, destStat }))
|
205319
|
+
}
|
205320
|
+
|
205321
|
+
function getStatsSync (src, dest, opts) {
|
205322
|
+
let destStat
|
205323
|
+
const statFunc = opts.dereference
|
205324
|
+
? (file) => fs.statSync(file, { bigint: true })
|
205325
|
+
: (file) => fs.lstatSync(file, { bigint: true })
|
205326
|
+
const srcStat = statFunc(src)
|
205327
|
+
try {
|
205328
|
+
destStat = statFunc(dest)
|
205329
|
+
} catch (err) {
|
205330
|
+
if (err.code === 'ENOENT') return { srcStat, destStat: null }
|
205331
|
+
throw err
|
205656
205332
|
}
|
205657
|
-
return
|
205333
|
+
return { srcStat, destStat }
|
205658
205334
|
}
|
205659
205335
|
|
205336
|
+
function checkPaths (src, dest, funcName, opts, cb) {
|
205337
|
+
util.callbackify(getStats)(src, dest, opts, (err, stats) => {
|
205338
|
+
if (err) return cb(err)
|
205339
|
+
const { srcStat, destStat } = stats
|
205660
205340
|
|
205661
|
-
|
205341
|
+
if (destStat) {
|
205342
|
+
if (areIdentical(srcStat, destStat)) {
|
205343
|
+
const srcBaseName = path.basename(src)
|
205344
|
+
const destBaseName = path.basename(dest)
|
205345
|
+
if (funcName === 'move' &&
|
205346
|
+
srcBaseName !== destBaseName &&
|
205347
|
+
srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
|
205348
|
+
return cb(null, { srcStat, destStat, isChangingCase: true })
|
205349
|
+
}
|
205350
|
+
return cb(new Error('Source and destination must not be the same.'))
|
205351
|
+
}
|
205352
|
+
if (srcStat.isDirectory() && !destStat.isDirectory()) {
|
205353
|
+
return cb(new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`))
|
205354
|
+
}
|
205355
|
+
if (!srcStat.isDirectory() && destStat.isDirectory()) {
|
205356
|
+
return cb(new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`))
|
205357
|
+
}
|
205358
|
+
}
|
205662
205359
|
|
205663
|
-
|
205664
|
-
|
205360
|
+
if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {
|
205361
|
+
return cb(new Error(errMsg(src, dest, funcName)))
|
205362
|
+
}
|
205363
|
+
return cb(null, { srcStat, destStat })
|
205364
|
+
})
|
205365
|
+
}
|
205665
205366
|
|
205666
|
-
|
205367
|
+
function checkPathsSync (src, dest, funcName, opts) {
|
205368
|
+
const { srcStat, destStat } = getStatsSync(src, dest, opts)
|
205667
205369
|
|
205370
|
+
if (destStat) {
|
205371
|
+
if (areIdentical(srcStat, destStat)) {
|
205372
|
+
const srcBaseName = path.basename(src)
|
205373
|
+
const destBaseName = path.basename(dest)
|
205374
|
+
if (funcName === 'move' &&
|
205375
|
+
srcBaseName !== destBaseName &&
|
205376
|
+
srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
|
205377
|
+
return { srcStat, destStat, isChangingCase: true }
|
205378
|
+
}
|
205379
|
+
throw new Error('Source and destination must not be the same.')
|
205380
|
+
}
|
205381
|
+
if (srcStat.isDirectory() && !destStat.isDirectory()) {
|
205382
|
+
throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`)
|
205383
|
+
}
|
205384
|
+
if (!srcStat.isDirectory() && destStat.isDirectory()) {
|
205385
|
+
throw new Error(`Cannot overwrite directory '${dest}' with non-directory '${src}'.`)
|
205386
|
+
}
|
205387
|
+
}
|
205668
205388
|
|
205669
|
-
|
205670
|
-
|
205671
|
-
|
205389
|
+
if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {
|
205390
|
+
throw new Error(errMsg(src, dest, funcName))
|
205391
|
+
}
|
205392
|
+
return { srcStat, destStat }
|
205393
|
+
}
|
205672
205394
|
|
205673
|
-
//
|
205674
|
-
|
205675
|
-
|
205676
|
-
|
205395
|
+
// recursively check if dest parent is a subdirectory of src.
|
205396
|
+
// It works for all file types including symlinks since it
|
205397
|
+
// checks the src and dest inodes. It starts from the deepest
|
205398
|
+
// parent and stops once it reaches the src parent or the root path.
|
205399
|
+
function checkParentPaths (src, srcStat, dest, funcName, cb) {
|
205400
|
+
const srcParent = path.resolve(path.dirname(src))
|
205401
|
+
const destParent = path.resolve(path.dirname(dest))
|
205402
|
+
if (destParent === srcParent || destParent === path.parse(destParent).root) return cb()
|
205403
|
+
fs.stat(destParent, { bigint: true }, (err, destStat) => {
|
205404
|
+
if (err) {
|
205405
|
+
if (err.code === 'ENOENT') return cb()
|
205406
|
+
return cb(err)
|
205407
|
+
}
|
205408
|
+
if (areIdentical(srcStat, destStat)) {
|
205409
|
+
return cb(new Error(errMsg(src, dest, funcName)))
|
205410
|
+
}
|
205411
|
+
return checkParentPaths(src, srcStat, destParent, funcName, cb)
|
205412
|
+
})
|
205413
|
+
}
|
205677
205414
|
|
205678
|
-
|
205679
|
-
const
|
205680
|
-
|
205681
|
-
|
205682
|
-
|
205683
|
-
|
205684
|
-
|
205415
|
+
function checkParentPathsSync (src, srcStat, dest, funcName) {
|
205416
|
+
const srcParent = path.resolve(path.dirname(src))
|
205417
|
+
const destParent = path.resolve(path.dirname(dest))
|
205418
|
+
if (destParent === srcParent || destParent === path.parse(destParent).root) return
|
205419
|
+
let destStat
|
205420
|
+
try {
|
205421
|
+
destStat = fs.statSync(destParent, { bigint: true })
|
205422
|
+
} catch (err) {
|
205423
|
+
if (err.code === 'ENOENT') return
|
205424
|
+
throw err
|
205425
|
+
}
|
205426
|
+
if (areIdentical(srcStat, destStat)) {
|
205427
|
+
throw new Error(errMsg(src, dest, funcName))
|
205428
|
+
}
|
205429
|
+
return checkParentPathsSync(src, srcStat, destParent, funcName)
|
205685
205430
|
}
|
205686
205431
|
|
205687
|
-
function
|
205688
|
-
|
205689
|
-
|
205432
|
+
function areIdentical (srcStat, destStat) {
|
205433
|
+
return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev
|
205434
|
+
}
|
205690
205435
|
|
205691
|
-
|
205692
|
-
|
205693
|
-
|
205694
|
-
|
205695
|
-
|
205696
|
-
|
205697
|
-
fs.futimes(fd, d, d, err => {
|
205698
|
-
if (err) return callback(err)
|
205699
|
-
fs.close(fd, err => {
|
205700
|
-
if (err) return callback(err)
|
205701
|
-
fs.stat(tmpfile, (err, stats) => {
|
205702
|
-
if (err) return callback(err)
|
205703
|
-
callback(null, stats.mtime > 1435410243000)
|
205704
|
-
})
|
205705
|
-
})
|
205706
|
-
})
|
205707
|
-
})
|
205708
|
-
})
|
205436
|
+
// return true if dest is a subdir of src, otherwise false.
|
205437
|
+
// It only checks the path strings.
|
205438
|
+
function isSrcSubdir (src, dest) {
|
205439
|
+
const srcArr = path.resolve(src).split(path.sep).filter(i => i)
|
205440
|
+
const destArr = path.resolve(dest).split(path.sep).filter(i => i)
|
205441
|
+
return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, true)
|
205709
205442
|
}
|
205710
205443
|
|
205711
|
-
function
|
205712
|
-
|
205713
|
-
|
205714
|
-
|
205715
|
-
|
205716
|
-
|
205717
|
-
|
205718
|
-
|
205444
|
+
function errMsg (src, dest, funcName) {
|
205445
|
+
return `Cannot ${funcName} '${src}' to a subdirectory of itself, '${dest}'.`
|
205446
|
+
}
|
205447
|
+
|
205448
|
+
module.exports = {
|
205449
|
+
checkPaths,
|
205450
|
+
checkPathsSync,
|
205451
|
+
checkParentPaths,
|
205452
|
+
checkParentPathsSync,
|
205453
|
+
isSrcSubdir,
|
205454
|
+
areIdentical
|
205719
205455
|
}
|
205720
205456
|
|
205457
|
+
|
205458
|
+
/***/ }),
|
205459
|
+
|
205460
|
+
/***/ 8605:
|
205461
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_533685__) => {
|
205462
|
+
|
205463
|
+
"use strict";
|
205464
|
+
|
205465
|
+
|
205466
|
+
const fs = __nested_webpack_require_533685__(552)
|
205467
|
+
|
205721
205468
|
function utimesMillis (path, atime, mtime, callback) {
|
205722
205469
|
// if (!HAS_MILLIS_RES) return fs.utimes(path, atime, mtime, callback)
|
205723
205470
|
fs.open(path, 'r+', (err, fd) => {
|
@@ -205737,9 +205484,6 @@ function utimesMillisSync (path, atime, mtime) {
|
|
205737
205484
|
}
|
205738
205485
|
|
205739
205486
|
module.exports = {
|
205740
|
-
hasMillisRes,
|
205741
|
-
hasMillisResSync,
|
205742
|
-
timeRemoveMillis,
|
205743
205487
|
utimesMillis,
|
205744
205488
|
utimesMillisSync
|
205745
205489
|
}
|
@@ -205748,7 +205492,7 @@ module.exports = {
|
|
205748
205492
|
/***/ }),
|
205749
205493
|
|
205750
205494
|
/***/ 9686:
|
205751
|
-
/***/ ((__unused_webpack_module, exports,
|
205495
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_534398__) => {
|
205752
205496
|
|
205753
205497
|
exports.alphasort = alphasort
|
205754
205498
|
exports.alphasorti = alphasorti
|
@@ -205764,9 +205508,9 @@ function ownProp (obj, field) {
|
|
205764
205508
|
return Object.prototype.hasOwnProperty.call(obj, field)
|
205765
205509
|
}
|
205766
205510
|
|
205767
|
-
var path =
|
205768
|
-
var minimatch =
|
205769
|
-
var isAbsolute =
|
205511
|
+
var path = __nested_webpack_require_534398__(5622)
|
205512
|
+
var minimatch = __nested_webpack_require_534398__(9566)
|
205513
|
+
var isAbsolute = __nested_webpack_require_534398__(1323)
|
205770
205514
|
var Minimatch = minimatch.Minimatch
|
205771
205515
|
|
205772
205516
|
function alphasorti (a, b) {
|
@@ -205995,7 +205739,7 @@ function childrenIgnored (self, path) {
|
|
205995
205739
|
/***/ }),
|
205996
205740
|
|
205997
205741
|
/***/ 1104:
|
205998
|
-
/***/ ((module, __unused_webpack_exports,
|
205742
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_540672__) => {
|
205999
205743
|
|
206000
205744
|
// Approach:
|
206001
205745
|
//
|
@@ -206039,27 +205783,27 @@ function childrenIgnored (self, path) {
|
|
206039
205783
|
|
206040
205784
|
module.exports = glob
|
206041
205785
|
|
206042
|
-
var fs =
|
206043
|
-
var rp =
|
206044
|
-
var minimatch =
|
205786
|
+
var fs = __nested_webpack_require_540672__(5747)
|
205787
|
+
var rp = __nested_webpack_require_540672__(8945)
|
205788
|
+
var minimatch = __nested_webpack_require_540672__(9566)
|
206045
205789
|
var Minimatch = minimatch.Minimatch
|
206046
|
-
var inherits =
|
206047
|
-
var EE =
|
206048
|
-
var path =
|
206049
|
-
var assert =
|
206050
|
-
var isAbsolute =
|
206051
|
-
var globSync =
|
206052
|
-
var common =
|
205790
|
+
var inherits = __nested_webpack_require_540672__(6919)
|
205791
|
+
var EE = __nested_webpack_require_540672__(8614).EventEmitter
|
205792
|
+
var path = __nested_webpack_require_540672__(5622)
|
205793
|
+
var assert = __nested_webpack_require_540672__(2357)
|
205794
|
+
var isAbsolute = __nested_webpack_require_540672__(1323)
|
205795
|
+
var globSync = __nested_webpack_require_540672__(2231)
|
205796
|
+
var common = __nested_webpack_require_540672__(9686)
|
206053
205797
|
var alphasort = common.alphasort
|
206054
205798
|
var alphasorti = common.alphasorti
|
206055
205799
|
var setopts = common.setopts
|
206056
205800
|
var ownProp = common.ownProp
|
206057
|
-
var inflight =
|
206058
|
-
var util =
|
205801
|
+
var inflight = __nested_webpack_require_540672__(9442)
|
205802
|
+
var util = __nested_webpack_require_540672__(1669)
|
206059
205803
|
var childrenIgnored = common.childrenIgnored
|
206060
205804
|
var isIgnored = common.isIgnored
|
206061
205805
|
|
206062
|
-
var once =
|
205806
|
+
var once = __nested_webpack_require_540672__(7197)
|
206063
205807
|
|
206064
205808
|
function glob (pattern, options, cb) {
|
206065
205809
|
if (typeof options === 'function') cb = options, options = {}
|
@@ -206792,21 +206536,21 @@ Glob.prototype._stat2 = function (f, abs, er, stat, cb) {
|
|
206792
206536
|
/***/ }),
|
206793
206537
|
|
206794
206538
|
/***/ 2231:
|
206795
|
-
/***/ ((module, __unused_webpack_exports,
|
206539
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_560283__) => {
|
206796
206540
|
|
206797
206541
|
module.exports = globSync
|
206798
206542
|
globSync.GlobSync = GlobSync
|
206799
206543
|
|
206800
|
-
var fs =
|
206801
|
-
var rp =
|
206802
|
-
var minimatch =
|
206544
|
+
var fs = __nested_webpack_require_560283__(5747)
|
206545
|
+
var rp = __nested_webpack_require_560283__(8945)
|
206546
|
+
var minimatch = __nested_webpack_require_560283__(9566)
|
206803
206547
|
var Minimatch = minimatch.Minimatch
|
206804
|
-
var Glob =
|
206805
|
-
var util =
|
206806
|
-
var path =
|
206807
|
-
var assert =
|
206808
|
-
var isAbsolute =
|
206809
|
-
var common =
|
206548
|
+
var Glob = __nested_webpack_require_560283__(1104).Glob
|
206549
|
+
var util = __nested_webpack_require_560283__(1669)
|
206550
|
+
var path = __nested_webpack_require_560283__(5622)
|
206551
|
+
var assert = __nested_webpack_require_560283__(2357)
|
206552
|
+
var isAbsolute = __nested_webpack_require_560283__(1323)
|
206553
|
+
var common = __nested_webpack_require_560283__(9686)
|
206810
206554
|
var alphasort = common.alphasort
|
206811
206555
|
var alphasorti = common.alphasorti
|
206812
206556
|
var setopts = common.setopts
|
@@ -207285,13 +207029,13 @@ GlobSync.prototype._makeAbs = function (f) {
|
|
207285
207029
|
/***/ }),
|
207286
207030
|
|
207287
207031
|
/***/ 6540:
|
207288
|
-
/***/ ((module, __unused_webpack_exports,
|
207032
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_572433__) => {
|
207289
207033
|
|
207290
207034
|
"use strict";
|
207291
207035
|
|
207292
207036
|
|
207293
207037
|
|
207294
|
-
var yaml =
|
207038
|
+
var yaml = __nested_webpack_require_572433__(7973);
|
207295
207039
|
|
207296
207040
|
|
207297
207041
|
module.exports = yaml;
|
@@ -207300,14 +207044,14 @@ module.exports = yaml;
|
|
207300
207044
|
/***/ }),
|
207301
207045
|
|
207302
207046
|
/***/ 7973:
|
207303
|
-
/***/ ((module, __unused_webpack_exports,
|
207047
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_572607__) => {
|
207304
207048
|
|
207305
207049
|
"use strict";
|
207306
207050
|
|
207307
207051
|
|
207308
207052
|
|
207309
|
-
var loader =
|
207310
|
-
var dumper =
|
207053
|
+
var loader = __nested_webpack_require_572607__(6002);
|
207054
|
+
var dumper = __nested_webpack_require_572607__(927);
|
207311
207055
|
|
207312
207056
|
|
207313
207057
|
function deprecated(name) {
|
@@ -207317,25 +207061,25 @@ function deprecated(name) {
|
|
207317
207061
|
}
|
207318
207062
|
|
207319
207063
|
|
207320
|
-
module.exports.Type =
|
207321
|
-
module.exports.Schema =
|
207322
|
-
module.exports.FAILSAFE_SCHEMA =
|
207323
|
-
module.exports.JSON_SCHEMA =
|
207324
|
-
module.exports.CORE_SCHEMA =
|
207325
|
-
module.exports.DEFAULT_SAFE_SCHEMA =
|
207326
|
-
module.exports.DEFAULT_FULL_SCHEMA =
|
207064
|
+
module.exports.Type = __nested_webpack_require_572607__(6205);
|
207065
|
+
module.exports.Schema = __nested_webpack_require_572607__(1105);
|
207066
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_572607__(7037);
|
207067
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_572607__(7068);
|
207068
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_572607__(7209);
|
207069
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_572607__(998);
|
207070
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_572607__(120);
|
207327
207071
|
module.exports.load = loader.load;
|
207328
207072
|
module.exports.loadAll = loader.loadAll;
|
207329
207073
|
module.exports.safeLoad = loader.safeLoad;
|
207330
207074
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
207331
207075
|
module.exports.dump = dumper.dump;
|
207332
207076
|
module.exports.safeDump = dumper.safeDump;
|
207333
|
-
module.exports.YAMLException =
|
207077
|
+
module.exports.YAMLException = __nested_webpack_require_572607__(9179);
|
207334
207078
|
|
207335
207079
|
// Deprecated schema names from JS-YAML 2.0.x
|
207336
|
-
module.exports.MINIMAL_SCHEMA =
|
207337
|
-
module.exports.SAFE_SCHEMA =
|
207338
|
-
module.exports.DEFAULT_SCHEMA =
|
207080
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_572607__(7037);
|
207081
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_572607__(998);
|
207082
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_572607__(120);
|
207339
207083
|
|
207340
207084
|
// Deprecated functions from JS-YAML 1.x.x
|
207341
207085
|
module.exports.scan = deprecated('scan');
|
@@ -207414,17 +207158,17 @@ module.exports.extend = extend;
|
|
207414
207158
|
/***/ }),
|
207415
207159
|
|
207416
207160
|
/***/ 927:
|
207417
|
-
/***/ ((module, __unused_webpack_exports,
|
207161
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_575421__) => {
|
207418
207162
|
|
207419
207163
|
"use strict";
|
207420
207164
|
|
207421
207165
|
|
207422
207166
|
/*eslint-disable no-use-before-define*/
|
207423
207167
|
|
207424
|
-
var common =
|
207425
|
-
var YAMLException =
|
207426
|
-
var DEFAULT_FULL_SCHEMA =
|
207427
|
-
var DEFAULT_SAFE_SCHEMA =
|
207168
|
+
var common = __nested_webpack_require_575421__(910);
|
207169
|
+
var YAMLException = __nested_webpack_require_575421__(9179);
|
207170
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_575421__(120);
|
207171
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_575421__(998);
|
207428
207172
|
|
207429
207173
|
var _toString = Object.prototype.toString;
|
207430
207174
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -208300,18 +208044,18 @@ module.exports = YAMLException;
|
|
208300
208044
|
/***/ }),
|
208301
208045
|
|
208302
208046
|
/***/ 6002:
|
208303
|
-
/***/ ((module, __unused_webpack_exports,
|
208047
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_603124__) => {
|
208304
208048
|
|
208305
208049
|
"use strict";
|
208306
208050
|
|
208307
208051
|
|
208308
208052
|
/*eslint-disable max-len,no-use-before-define*/
|
208309
208053
|
|
208310
|
-
var common =
|
208311
|
-
var YAMLException =
|
208312
|
-
var Mark =
|
208313
|
-
var DEFAULT_SAFE_SCHEMA =
|
208314
|
-
var DEFAULT_FULL_SCHEMA =
|
208054
|
+
var common = __nested_webpack_require_603124__(910);
|
208055
|
+
var YAMLException = __nested_webpack_require_603124__(9179);
|
208056
|
+
var Mark = __nested_webpack_require_603124__(1100);
|
208057
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_603124__(998);
|
208058
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_603124__(120);
|
208315
208059
|
|
208316
208060
|
|
208317
208061
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -209933,13 +209677,13 @@ module.exports.safeLoad = safeLoad;
|
|
209933
209677
|
/***/ }),
|
209934
209678
|
|
209935
209679
|
/***/ 1100:
|
209936
|
-
/***/ ((module, __unused_webpack_exports,
|
209680
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_646990__) => {
|
209937
209681
|
|
209938
209682
|
"use strict";
|
209939
209683
|
|
209940
209684
|
|
209941
209685
|
|
209942
|
-
var common =
|
209686
|
+
var common = __nested_webpack_require_646990__(910);
|
209943
209687
|
|
209944
209688
|
|
209945
209689
|
function Mark(name, buffer, position, line, column) {
|
@@ -210017,16 +209761,16 @@ module.exports = Mark;
|
|
210017
209761
|
/***/ }),
|
210018
209762
|
|
210019
209763
|
/***/ 1105:
|
210020
|
-
/***/ ((module, __unused_webpack_exports,
|
209764
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_648652__) => {
|
210021
209765
|
|
210022
209766
|
"use strict";
|
210023
209767
|
|
210024
209768
|
|
210025
209769
|
/*eslint-disable max-len*/
|
210026
209770
|
|
210027
|
-
var common =
|
210028
|
-
var YAMLException =
|
210029
|
-
var Type =
|
209771
|
+
var common = __nested_webpack_require_648652__(910);
|
209772
|
+
var YAMLException = __nested_webpack_require_648652__(9179);
|
209773
|
+
var Type = __nested_webpack_require_648652__(6205);
|
210030
209774
|
|
210031
209775
|
|
210032
209776
|
function compileList(schema, name, result) {
|
@@ -210133,7 +209877,7 @@ module.exports = Schema;
|
|
210133
209877
|
/***/ }),
|
210134
209878
|
|
210135
209879
|
/***/ 7209:
|
210136
|
-
/***/ ((module, __unused_webpack_exports,
|
209880
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_651516__) => {
|
210137
209881
|
|
210138
209882
|
"use strict";
|
210139
209883
|
// Standard YAML's Core schema.
|
@@ -210146,12 +209890,12 @@ module.exports = Schema;
|
|
210146
209890
|
|
210147
209891
|
|
210148
209892
|
|
210149
|
-
var Schema =
|
209893
|
+
var Schema = __nested_webpack_require_651516__(1105);
|
210150
209894
|
|
210151
209895
|
|
210152
209896
|
module.exports = new Schema({
|
210153
209897
|
include: [
|
210154
|
-
|
209898
|
+
__nested_webpack_require_651516__(7068)
|
210155
209899
|
]
|
210156
209900
|
});
|
210157
209901
|
|
@@ -210159,7 +209903,7 @@ module.exports = new Schema({
|
|
210159
209903
|
/***/ }),
|
210160
209904
|
|
210161
209905
|
/***/ 120:
|
210162
|
-
/***/ ((module, __unused_webpack_exports,
|
209906
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_651985__) => {
|
210163
209907
|
|
210164
209908
|
"use strict";
|
210165
209909
|
// JS-YAML's default schema for `load` function.
|
@@ -210174,17 +209918,17 @@ module.exports = new Schema({
|
|
210174
209918
|
|
210175
209919
|
|
210176
209920
|
|
210177
|
-
var Schema =
|
209921
|
+
var Schema = __nested_webpack_require_651985__(1105);
|
210178
209922
|
|
210179
209923
|
|
210180
209924
|
module.exports = Schema.DEFAULT = new Schema({
|
210181
209925
|
include: [
|
210182
|
-
|
209926
|
+
__nested_webpack_require_651985__(998)
|
210183
209927
|
],
|
210184
209928
|
explicit: [
|
210185
|
-
|
210186
|
-
|
210187
|
-
|
209929
|
+
__nested_webpack_require_651985__(8113),
|
209930
|
+
__nested_webpack_require_651985__(7274),
|
209931
|
+
__nested_webpack_require_651985__(6677)
|
210188
209932
|
]
|
210189
209933
|
});
|
210190
209934
|
|
@@ -210192,7 +209936,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
210192
209936
|
/***/ }),
|
210193
209937
|
|
210194
209938
|
/***/ 998:
|
210195
|
-
/***/ ((module, __unused_webpack_exports,
|
209939
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_652679__) => {
|
210196
209940
|
|
210197
209941
|
"use strict";
|
210198
209942
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -210205,22 +209949,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
210205
209949
|
|
210206
209950
|
|
210207
209951
|
|
210208
|
-
var Schema =
|
209952
|
+
var Schema = __nested_webpack_require_652679__(1105);
|
210209
209953
|
|
210210
209954
|
|
210211
209955
|
module.exports = new Schema({
|
210212
209956
|
include: [
|
210213
|
-
|
209957
|
+
__nested_webpack_require_652679__(7209)
|
210214
209958
|
],
|
210215
209959
|
implicit: [
|
210216
|
-
|
210217
|
-
|
209960
|
+
__nested_webpack_require_652679__(9918),
|
209961
|
+
__nested_webpack_require_652679__(397)
|
210218
209962
|
],
|
210219
209963
|
explicit: [
|
210220
|
-
|
210221
|
-
|
210222
|
-
|
210223
|
-
|
209964
|
+
__nested_webpack_require_652679__(2016),
|
209965
|
+
__nested_webpack_require_652679__(7511),
|
209966
|
+
__nested_webpack_require_652679__(8149),
|
209967
|
+
__nested_webpack_require_652679__(9883)
|
210224
209968
|
]
|
210225
209969
|
});
|
210226
209970
|
|
@@ -210228,7 +209972,7 @@ module.exports = new Schema({
|
|
210228
209972
|
/***/ }),
|
210229
209973
|
|
210230
209974
|
/***/ 7037:
|
210231
|
-
/***/ ((module, __unused_webpack_exports,
|
209975
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_653391__) => {
|
210232
209976
|
|
210233
209977
|
"use strict";
|
210234
209978
|
// Standard YAML's Failsafe schema.
|
@@ -210238,14 +209982,14 @@ module.exports = new Schema({
|
|
210238
209982
|
|
210239
209983
|
|
210240
209984
|
|
210241
|
-
var Schema =
|
209985
|
+
var Schema = __nested_webpack_require_653391__(1105);
|
210242
209986
|
|
210243
209987
|
|
210244
209988
|
module.exports = new Schema({
|
210245
209989
|
explicit: [
|
210246
|
-
|
210247
|
-
|
210248
|
-
|
209990
|
+
__nested_webpack_require_653391__(4391),
|
209991
|
+
__nested_webpack_require_653391__(636),
|
209992
|
+
__nested_webpack_require_653391__(1680)
|
210249
209993
|
]
|
210250
209994
|
});
|
210251
209995
|
|
@@ -210253,7 +209997,7 @@ module.exports = new Schema({
|
|
210253
209997
|
/***/ }),
|
210254
209998
|
|
210255
209999
|
/***/ 7068:
|
210256
|
-
/***/ ((module, __unused_webpack_exports,
|
210000
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_653777__) => {
|
210257
210001
|
|
210258
210002
|
"use strict";
|
210259
210003
|
// Standard YAML's JSON schema.
|
@@ -210267,18 +210011,18 @@ module.exports = new Schema({
|
|
210267
210011
|
|
210268
210012
|
|
210269
210013
|
|
210270
|
-
var Schema =
|
210014
|
+
var Schema = __nested_webpack_require_653777__(1105);
|
210271
210015
|
|
210272
210016
|
|
210273
210017
|
module.exports = new Schema({
|
210274
210018
|
include: [
|
210275
|
-
|
210019
|
+
__nested_webpack_require_653777__(7037)
|
210276
210020
|
],
|
210277
210021
|
implicit: [
|
210278
|
-
|
210279
|
-
|
210280
|
-
|
210281
|
-
|
210022
|
+
__nested_webpack_require_653777__(1900),
|
210023
|
+
__nested_webpack_require_653777__(3385),
|
210024
|
+
__nested_webpack_require_653777__(7446),
|
210025
|
+
__nested_webpack_require_653777__(7481)
|
210282
210026
|
]
|
210283
210027
|
});
|
210284
210028
|
|
@@ -210286,12 +210030,12 @@ module.exports = new Schema({
|
|
210286
210030
|
/***/ }),
|
210287
210031
|
|
210288
210032
|
/***/ 6205:
|
210289
|
-
/***/ ((module, __unused_webpack_exports,
|
210033
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_654475__) => {
|
210290
210034
|
|
210291
210035
|
"use strict";
|
210292
210036
|
|
210293
210037
|
|
210294
|
-
var YAMLException =
|
210038
|
+
var YAMLException = __nested_webpack_require_654475__(9179);
|
210295
210039
|
|
210296
210040
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
210297
210041
|
'kind',
|
@@ -210355,7 +210099,7 @@ module.exports = Type;
|
|
210355
210099
|
/***/ }),
|
210356
210100
|
|
210357
210101
|
/***/ 2016:
|
210358
|
-
/***/ ((module, __unused_webpack_exports,
|
210102
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_656159__) => {
|
210359
210103
|
|
210360
210104
|
"use strict";
|
210361
210105
|
|
@@ -210370,7 +210114,7 @@ try {
|
|
210370
210114
|
NodeBuffer = _require('buffer').Buffer;
|
210371
210115
|
} catch (__) {}
|
210372
210116
|
|
210373
|
-
var Type =
|
210117
|
+
var Type = __nested_webpack_require_656159__(6205);
|
210374
210118
|
|
210375
210119
|
|
210376
210120
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -210501,12 +210245,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
210501
210245
|
/***/ }),
|
210502
210246
|
|
210503
210247
|
/***/ 3385:
|
210504
|
-
/***/ ((module, __unused_webpack_exports,
|
210248
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_659551__) => {
|
210505
210249
|
|
210506
210250
|
"use strict";
|
210507
210251
|
|
210508
210252
|
|
210509
|
-
var Type =
|
210253
|
+
var Type = __nested_webpack_require_659551__(6205);
|
210510
210254
|
|
210511
210255
|
function resolveYamlBoolean(data) {
|
210512
210256
|
if (data === null) return false;
|
@@ -210544,13 +210288,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
210544
210288
|
/***/ }),
|
210545
210289
|
|
210546
210290
|
/***/ 7481:
|
210547
|
-
/***/ ((module, __unused_webpack_exports,
|
210291
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_660624__) => {
|
210548
210292
|
|
210549
210293
|
"use strict";
|
210550
210294
|
|
210551
210295
|
|
210552
|
-
var common =
|
210553
|
-
var Type =
|
210296
|
+
var common = __nested_webpack_require_660624__(910);
|
210297
|
+
var Type = __nested_webpack_require_660624__(6205);
|
210554
210298
|
|
210555
210299
|
var YAML_FLOAT_PATTERN = new RegExp(
|
210556
210300
|
// 2.5e4, 2.5 and integers
|
@@ -210668,13 +210412,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
210668
210412
|
/***/ }),
|
210669
210413
|
|
210670
210414
|
/***/ 7446:
|
210671
|
-
/***/ ((module, __unused_webpack_exports,
|
210415
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_663570__) => {
|
210672
210416
|
|
210673
210417
|
"use strict";
|
210674
210418
|
|
210675
210419
|
|
210676
|
-
var common =
|
210677
|
-
var Type =
|
210420
|
+
var common = __nested_webpack_require_663570__(910);
|
210421
|
+
var Type = __nested_webpack_require_663570__(6205);
|
210678
210422
|
|
210679
210423
|
function isHexCode(c) {
|
210680
210424
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -210849,7 +210593,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
210849
210593
|
/***/ }),
|
210850
210594
|
|
210851
210595
|
/***/ 6677:
|
210852
|
-
/***/ ((module, __unused_webpack_exports,
|
210596
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_667742__) => {
|
210853
210597
|
|
210854
210598
|
"use strict";
|
210855
210599
|
|
@@ -210872,7 +210616,7 @@ try {
|
|
210872
210616
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
210873
210617
|
}
|
210874
210618
|
|
210875
|
-
var Type =
|
210619
|
+
var Type = __nested_webpack_require_667742__(6205);
|
210876
210620
|
|
210877
210621
|
function resolveJavascriptFunction(data) {
|
210878
210622
|
if (data === null) return false;
|
@@ -210949,12 +210693,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
210949
210693
|
/***/ }),
|
210950
210694
|
|
210951
210695
|
/***/ 7274:
|
210952
|
-
/***/ ((module, __unused_webpack_exports,
|
210696
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_670639__) => {
|
210953
210697
|
|
210954
210698
|
"use strict";
|
210955
210699
|
|
210956
210700
|
|
210957
|
-
var Type =
|
210701
|
+
var Type = __nested_webpack_require_670639__(6205);
|
210958
210702
|
|
210959
210703
|
function resolveJavascriptRegExp(data) {
|
210960
210704
|
if (data === null) return false;
|
@@ -211017,12 +210761,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
211017
210761
|
/***/ }),
|
211018
210762
|
|
211019
210763
|
/***/ 8113:
|
211020
|
-
/***/ ((module, __unused_webpack_exports,
|
210764
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_672310__) => {
|
211021
210765
|
|
211022
210766
|
"use strict";
|
211023
210767
|
|
211024
210768
|
|
211025
|
-
var Type =
|
210769
|
+
var Type = __nested_webpack_require_672310__(6205);
|
211026
210770
|
|
211027
210771
|
function resolveJavascriptUndefined() {
|
211028
210772
|
return true;
|
@@ -211053,12 +210797,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
211053
210797
|
/***/ }),
|
211054
210798
|
|
211055
210799
|
/***/ 1680:
|
211056
|
-
/***/ ((module, __unused_webpack_exports,
|
210800
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_672982__) => {
|
211057
210801
|
|
211058
210802
|
"use strict";
|
211059
210803
|
|
211060
210804
|
|
211061
|
-
var Type =
|
210805
|
+
var Type = __nested_webpack_require_672982__(6205);
|
211062
210806
|
|
211063
210807
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
211064
210808
|
kind: 'mapping',
|
@@ -211069,12 +210813,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
211069
210813
|
/***/ }),
|
211070
210814
|
|
211071
210815
|
/***/ 397:
|
211072
|
-
/***/ ((module, __unused_webpack_exports,
|
210816
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_673273__) => {
|
211073
210817
|
|
211074
210818
|
"use strict";
|
211075
210819
|
|
211076
210820
|
|
211077
|
-
var Type =
|
210821
|
+
var Type = __nested_webpack_require_673273__(6205);
|
211078
210822
|
|
211079
210823
|
function resolveYamlMerge(data) {
|
211080
210824
|
return data === '<<' || data === null;
|
@@ -211089,12 +210833,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
211089
210833
|
/***/ }),
|
211090
210834
|
|
211091
210835
|
/***/ 1900:
|
211092
|
-
/***/ ((module, __unused_webpack_exports,
|
210836
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_673605__) => {
|
211093
210837
|
|
211094
210838
|
"use strict";
|
211095
210839
|
|
211096
210840
|
|
211097
|
-
var Type =
|
210841
|
+
var Type = __nested_webpack_require_673605__(6205);
|
211098
210842
|
|
211099
210843
|
function resolveYamlNull(data) {
|
211100
210844
|
if (data === null) return true;
|
@@ -211131,12 +210875,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
211131
210875
|
/***/ }),
|
211132
210876
|
|
211133
210877
|
/***/ 7511:
|
211134
|
-
/***/ ((module, __unused_webpack_exports,
|
210878
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_674468__) => {
|
211135
210879
|
|
211136
210880
|
"use strict";
|
211137
210881
|
|
211138
210882
|
|
211139
|
-
var Type =
|
210883
|
+
var Type = __nested_webpack_require_674468__(6205);
|
211140
210884
|
|
211141
210885
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
211142
210886
|
var _toString = Object.prototype.toString;
|
@@ -211183,12 +210927,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
211183
210927
|
/***/ }),
|
211184
210928
|
|
211185
210929
|
/***/ 8149:
|
211186
|
-
/***/ ((module, __unused_webpack_exports,
|
210930
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_675593__) => {
|
211187
210931
|
|
211188
210932
|
"use strict";
|
211189
210933
|
|
211190
210934
|
|
211191
|
-
var Type =
|
210935
|
+
var Type = __nested_webpack_require_675593__(6205);
|
211192
210936
|
|
211193
210937
|
var _toString = Object.prototype.toString;
|
211194
210938
|
|
@@ -211244,12 +210988,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
211244
210988
|
/***/ }),
|
211245
210989
|
|
211246
210990
|
/***/ 636:
|
211247
|
-
/***/ ((module, __unused_webpack_exports,
|
210991
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_676778__) => {
|
211248
210992
|
|
211249
210993
|
"use strict";
|
211250
210994
|
|
211251
210995
|
|
211252
|
-
var Type =
|
210996
|
+
var Type = __nested_webpack_require_676778__(6205);
|
211253
210997
|
|
211254
210998
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
211255
210999
|
kind: 'sequence',
|
@@ -211260,12 +211004,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
211260
211004
|
/***/ }),
|
211261
211005
|
|
211262
211006
|
/***/ 9883:
|
211263
|
-
/***/ ((module, __unused_webpack_exports,
|
211007
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_677071__) => {
|
211264
211008
|
|
211265
211009
|
"use strict";
|
211266
211010
|
|
211267
211011
|
|
211268
|
-
var Type =
|
211012
|
+
var Type = __nested_webpack_require_677071__(6205);
|
211269
211013
|
|
211270
211014
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
211271
211015
|
|
@@ -211297,12 +211041,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
211297
211041
|
/***/ }),
|
211298
211042
|
|
211299
211043
|
/***/ 4391:
|
211300
|
-
/***/ ((module, __unused_webpack_exports,
|
211044
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_677720__) => {
|
211301
211045
|
|
211302
211046
|
"use strict";
|
211303
211047
|
|
211304
211048
|
|
211305
|
-
var Type =
|
211049
|
+
var Type = __nested_webpack_require_677720__(6205);
|
211306
211050
|
|
211307
211051
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
211308
211052
|
kind: 'scalar',
|
@@ -211313,12 +211057,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
211313
211057
|
/***/ }),
|
211314
211058
|
|
211315
211059
|
/***/ 9918:
|
211316
|
-
/***/ ((module, __unused_webpack_exports,
|
211060
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_678011__) => {
|
211317
211061
|
|
211318
211062
|
"use strict";
|
211319
211063
|
|
211320
211064
|
|
211321
|
-
var Type =
|
211065
|
+
var Type = __nested_webpack_require_678011__(6205);
|
211322
211066
|
|
211323
211067
|
var YAML_DATE_REGEXP = new RegExp(
|
211324
211068
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -211406,6 +211150,122 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
211406
211150
|
});
|
211407
211151
|
|
211408
211152
|
|
211153
|
+
/***/ }),
|
211154
|
+
|
211155
|
+
/***/ 4862:
|
211156
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_680684__) => {
|
211157
|
+
|
211158
|
+
let _fs
|
211159
|
+
try {
|
211160
|
+
_fs = __nested_webpack_require_680684__(552)
|
211161
|
+
} catch (_) {
|
211162
|
+
_fs = __nested_webpack_require_680684__(5747)
|
211163
|
+
}
|
211164
|
+
const universalify = __nested_webpack_require_680684__(7500)
|
211165
|
+
const { stringify, stripBom } = __nested_webpack_require_680684__(7653)
|
211166
|
+
|
211167
|
+
async function _readFile (file, options = {}) {
|
211168
|
+
if (typeof options === 'string') {
|
211169
|
+
options = { encoding: options }
|
211170
|
+
}
|
211171
|
+
|
211172
|
+
const fs = options.fs || _fs
|
211173
|
+
|
211174
|
+
const shouldThrow = 'throws' in options ? options.throws : true
|
211175
|
+
|
211176
|
+
let data = await universalify.fromCallback(fs.readFile)(file, options)
|
211177
|
+
|
211178
|
+
data = stripBom(data)
|
211179
|
+
|
211180
|
+
let obj
|
211181
|
+
try {
|
211182
|
+
obj = JSON.parse(data, options ? options.reviver : null)
|
211183
|
+
} catch (err) {
|
211184
|
+
if (shouldThrow) {
|
211185
|
+
err.message = `${file}: ${err.message}`
|
211186
|
+
throw err
|
211187
|
+
} else {
|
211188
|
+
return null
|
211189
|
+
}
|
211190
|
+
}
|
211191
|
+
|
211192
|
+
return obj
|
211193
|
+
}
|
211194
|
+
|
211195
|
+
const readFile = universalify.fromPromise(_readFile)
|
211196
|
+
|
211197
|
+
function readFileSync (file, options = {}) {
|
211198
|
+
if (typeof options === 'string') {
|
211199
|
+
options = { encoding: options }
|
211200
|
+
}
|
211201
|
+
|
211202
|
+
const fs = options.fs || _fs
|
211203
|
+
|
211204
|
+
const shouldThrow = 'throws' in options ? options.throws : true
|
211205
|
+
|
211206
|
+
try {
|
211207
|
+
let content = fs.readFileSync(file, options)
|
211208
|
+
content = stripBom(content)
|
211209
|
+
return JSON.parse(content, options.reviver)
|
211210
|
+
} catch (err) {
|
211211
|
+
if (shouldThrow) {
|
211212
|
+
err.message = `${file}: ${err.message}`
|
211213
|
+
throw err
|
211214
|
+
} else {
|
211215
|
+
return null
|
211216
|
+
}
|
211217
|
+
}
|
211218
|
+
}
|
211219
|
+
|
211220
|
+
async function _writeFile (file, obj, options = {}) {
|
211221
|
+
const fs = options.fs || _fs
|
211222
|
+
|
211223
|
+
const str = stringify(obj, options)
|
211224
|
+
|
211225
|
+
await universalify.fromCallback(fs.writeFile)(file, str, options)
|
211226
|
+
}
|
211227
|
+
|
211228
|
+
const writeFile = universalify.fromPromise(_writeFile)
|
211229
|
+
|
211230
|
+
function writeFileSync (file, obj, options = {}) {
|
211231
|
+
const fs = options.fs || _fs
|
211232
|
+
|
211233
|
+
const str = stringify(obj, options)
|
211234
|
+
// not sure if fs.writeFileSync returns anything, but just in case
|
211235
|
+
return fs.writeFileSync(file, str, options)
|
211236
|
+
}
|
211237
|
+
|
211238
|
+
const jsonfile = {
|
211239
|
+
readFile,
|
211240
|
+
readFileSync,
|
211241
|
+
writeFile,
|
211242
|
+
writeFileSync
|
211243
|
+
}
|
211244
|
+
|
211245
|
+
module.exports = jsonfile
|
211246
|
+
|
211247
|
+
|
211248
|
+
/***/ }),
|
211249
|
+
|
211250
|
+
/***/ 7653:
|
211251
|
+
/***/ ((module) => {
|
211252
|
+
|
211253
|
+
function stringify (obj, { EOL = '\n', finalEOL = true, replacer = null, spaces } = {}) {
|
211254
|
+
const EOF = finalEOL ? EOL : ''
|
211255
|
+
const str = JSON.stringify(obj, replacer, spaces)
|
211256
|
+
|
211257
|
+
return str.replace(/\n/g, EOL) + EOF
|
211258
|
+
}
|
211259
|
+
|
211260
|
+
function stripBom (content) {
|
211261
|
+
// we do this because JSON.parse would convert it to a utf8 string if encoding wasn't specified
|
211262
|
+
if (Buffer.isBuffer(content)) content = content.toString('utf8')
|
211263
|
+
return content.replace(/^\uFEFF/, '')
|
211264
|
+
}
|
211265
|
+
|
211266
|
+
module.exports = { stringify, stripBom }
|
211267
|
+
|
211268
|
+
|
211409
211269
|
/***/ }),
|
211410
211270
|
|
211411
211271
|
/***/ 4725:
|
@@ -212978,10 +212838,42 @@ function coerce (version, options) {
|
|
212978
212838
|
}
|
212979
212839
|
|
212980
212840
|
|
212841
|
+
/***/ }),
|
212842
|
+
|
212843
|
+
/***/ 7500:
|
212844
|
+
/***/ ((__unused_webpack_module, exports) => {
|
212845
|
+
|
212846
|
+
"use strict";
|
212847
|
+
|
212848
|
+
|
212849
|
+
exports.fromCallback = function (fn) {
|
212850
|
+
return Object.defineProperty(function (...args) {
|
212851
|
+
if (typeof args[args.length - 1] === 'function') fn.apply(this, args)
|
212852
|
+
else {
|
212853
|
+
return new Promise((resolve, reject) => {
|
212854
|
+
fn.call(
|
212855
|
+
this,
|
212856
|
+
...args,
|
212857
|
+
(err, res) => (err != null) ? reject(err) : resolve(res)
|
212858
|
+
)
|
212859
|
+
})
|
212860
|
+
}
|
212861
|
+
}, 'name', { value: fn.name })
|
212862
|
+
}
|
212863
|
+
|
212864
|
+
exports.fromPromise = function (fn) {
|
212865
|
+
return Object.defineProperty(function (...args) {
|
212866
|
+
const cb = args[args.length - 1]
|
212867
|
+
if (typeof cb !== 'function') return fn.apply(this, args)
|
212868
|
+
else fn.apply(this, args.slice(0, -1)).then(r => cb(null, r), cb)
|
212869
|
+
}, 'name', { value: fn.name })
|
212870
|
+
}
|
212871
|
+
|
212872
|
+
|
212981
212873
|
/***/ }),
|
212982
212874
|
|
212983
212875
|
/***/ 8438:
|
212984
|
-
/***/ (function(__unused_webpack_module, exports,
|
212876
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_724846__) {
|
212985
212877
|
|
212986
212878
|
"use strict";
|
212987
212879
|
|
@@ -212997,10 +212889,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
212997
212889
|
};
|
212998
212890
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
212999
212891
|
exports.frameworks = void 0;
|
213000
|
-
const path_1 =
|
213001
|
-
const fs_1 =
|
213002
|
-
const read_config_file_1 =
|
213003
|
-
__exportStar(
|
212892
|
+
const path_1 = __nested_webpack_require_724846__(5622);
|
212893
|
+
const fs_1 = __nested_webpack_require_724846__(5747);
|
212894
|
+
const read_config_file_1 = __nested_webpack_require_724846__(3734);
|
212895
|
+
__exportStar(__nested_webpack_require_724846__(2171), exports);
|
213004
212896
|
const { readdir, readFile, unlink } = fs_1.promises;
|
213005
212897
|
/**
|
213006
212898
|
* Please note that is extremely important that the `dependency` property needs
|
@@ -214958,7 +214850,7 @@ exports.default = def;
|
|
214958
214850
|
/***/ }),
|
214959
214851
|
|
214960
214852
|
/***/ 3734:
|
214961
|
-
/***/ (function(__unused_webpack_module, exports,
|
214853
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_795455__) {
|
214962
214854
|
|
214963
214855
|
"use strict";
|
214964
214856
|
|
@@ -214967,9 +214859,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
214967
214859
|
};
|
214968
214860
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
214969
214861
|
exports.readConfigFile = void 0;
|
214970
|
-
const js_yaml_1 = __importDefault(
|
214971
|
-
const toml_1 = __importDefault(
|
214972
|
-
const fs_1 =
|
214862
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_795455__(641));
|
214863
|
+
const toml_1 = __importDefault(__nested_webpack_require_795455__(9434));
|
214864
|
+
const fs_1 = __nested_webpack_require_795455__(5747);
|
214973
214865
|
const { readFile } = fs_1.promises;
|
214974
214866
|
async function readFileOrNull(file) {
|
214975
214867
|
try {
|
@@ -215018,13 +214910,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215018
214910
|
/***/ }),
|
215019
214911
|
|
215020
214912
|
/***/ 641:
|
215021
|
-
/***/ ((module, __unused_webpack_exports,
|
214913
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_797061__) => {
|
215022
214914
|
|
215023
214915
|
"use strict";
|
215024
214916
|
|
215025
214917
|
|
215026
214918
|
|
215027
|
-
var yaml =
|
214919
|
+
var yaml = __nested_webpack_require_797061__(9633);
|
215028
214920
|
|
215029
214921
|
|
215030
214922
|
module.exports = yaml;
|
@@ -215033,14 +214925,14 @@ module.exports = yaml;
|
|
215033
214925
|
/***/ }),
|
215034
214926
|
|
215035
214927
|
/***/ 9633:
|
215036
|
-
/***/ ((module, __unused_webpack_exports,
|
214928
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_797235__) => {
|
215037
214929
|
|
215038
214930
|
"use strict";
|
215039
214931
|
|
215040
214932
|
|
215041
214933
|
|
215042
|
-
var loader =
|
215043
|
-
var dumper =
|
214934
|
+
var loader = __nested_webpack_require_797235__(4349);
|
214935
|
+
var dumper = __nested_webpack_require_797235__(8047);
|
215044
214936
|
|
215045
214937
|
|
215046
214938
|
function deprecated(name) {
|
@@ -215050,25 +214942,25 @@ function deprecated(name) {
|
|
215050
214942
|
}
|
215051
214943
|
|
215052
214944
|
|
215053
|
-
module.exports.Type =
|
215054
|
-
module.exports.Schema =
|
215055
|
-
module.exports.FAILSAFE_SCHEMA =
|
215056
|
-
module.exports.JSON_SCHEMA =
|
215057
|
-
module.exports.CORE_SCHEMA =
|
215058
|
-
module.exports.DEFAULT_SAFE_SCHEMA =
|
215059
|
-
module.exports.DEFAULT_FULL_SCHEMA =
|
214945
|
+
module.exports.Type = __nested_webpack_require_797235__(6876);
|
214946
|
+
module.exports.Schema = __nested_webpack_require_797235__(6105);
|
214947
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_797235__(8441);
|
214948
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_797235__(1486);
|
214949
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_797235__(1112);
|
214950
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_797235__(596);
|
214951
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_797235__(9647);
|
215060
214952
|
module.exports.load = loader.load;
|
215061
214953
|
module.exports.loadAll = loader.loadAll;
|
215062
214954
|
module.exports.safeLoad = loader.safeLoad;
|
215063
214955
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
215064
214956
|
module.exports.dump = dumper.dump;
|
215065
214957
|
module.exports.safeDump = dumper.safeDump;
|
215066
|
-
module.exports.YAMLException =
|
214958
|
+
module.exports.YAMLException = __nested_webpack_require_797235__(3237);
|
215067
214959
|
|
215068
214960
|
// Deprecated schema names from JS-YAML 2.0.x
|
215069
|
-
module.exports.MINIMAL_SCHEMA =
|
215070
|
-
module.exports.SAFE_SCHEMA =
|
215071
|
-
module.exports.DEFAULT_SCHEMA =
|
214961
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_797235__(8441);
|
214962
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_797235__(596);
|
214963
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_797235__(9647);
|
215072
214964
|
|
215073
214965
|
// Deprecated functions from JS-YAML 1.x.x
|
215074
214966
|
module.exports.scan = deprecated('scan');
|
@@ -215147,17 +215039,17 @@ module.exports.extend = extend;
|
|
215147
215039
|
/***/ }),
|
215148
215040
|
|
215149
215041
|
/***/ 8047:
|
215150
|
-
/***/ ((module, __unused_webpack_exports,
|
215042
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_800053__) => {
|
215151
215043
|
|
215152
215044
|
"use strict";
|
215153
215045
|
|
215154
215046
|
|
215155
215047
|
/*eslint-disable no-use-before-define*/
|
215156
215048
|
|
215157
|
-
var common =
|
215158
|
-
var YAMLException =
|
215159
|
-
var DEFAULT_FULL_SCHEMA =
|
215160
|
-
var DEFAULT_SAFE_SCHEMA =
|
215049
|
+
var common = __nested_webpack_require_800053__(903);
|
215050
|
+
var YAMLException = __nested_webpack_require_800053__(3237);
|
215051
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_800053__(9647);
|
215052
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_800053__(596);
|
215161
215053
|
|
215162
215054
|
var _toString = Object.prototype.toString;
|
215163
215055
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -216033,18 +215925,18 @@ module.exports = YAMLException;
|
|
216033
215925
|
/***/ }),
|
216034
215926
|
|
216035
215927
|
/***/ 4349:
|
216036
|
-
/***/ ((module, __unused_webpack_exports,
|
215928
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_827757__) => {
|
216037
215929
|
|
216038
215930
|
"use strict";
|
216039
215931
|
|
216040
215932
|
|
216041
215933
|
/*eslint-disable max-len,no-use-before-define*/
|
216042
215934
|
|
216043
|
-
var common =
|
216044
|
-
var YAMLException =
|
216045
|
-
var Mark =
|
216046
|
-
var DEFAULT_SAFE_SCHEMA =
|
216047
|
-
var DEFAULT_FULL_SCHEMA =
|
215935
|
+
var common = __nested_webpack_require_827757__(903);
|
215936
|
+
var YAMLException = __nested_webpack_require_827757__(3237);
|
215937
|
+
var Mark = __nested_webpack_require_827757__(4926);
|
215938
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_827757__(596);
|
215939
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_827757__(9647);
|
216048
215940
|
|
216049
215941
|
|
216050
215942
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -217666,13 +217558,13 @@ module.exports.safeLoad = safeLoad;
|
|
217666
217558
|
/***/ }),
|
217667
217559
|
|
217668
217560
|
/***/ 4926:
|
217669
|
-
/***/ ((module, __unused_webpack_exports,
|
217561
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_871624__) => {
|
217670
217562
|
|
217671
217563
|
"use strict";
|
217672
217564
|
|
217673
217565
|
|
217674
217566
|
|
217675
|
-
var common =
|
217567
|
+
var common = __nested_webpack_require_871624__(903);
|
217676
217568
|
|
217677
217569
|
|
217678
217570
|
function Mark(name, buffer, position, line, column) {
|
@@ -217750,16 +217642,16 @@ module.exports = Mark;
|
|
217750
217642
|
/***/ }),
|
217751
217643
|
|
217752
217644
|
/***/ 6105:
|
217753
|
-
/***/ ((module, __unused_webpack_exports,
|
217645
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_873286__) => {
|
217754
217646
|
|
217755
217647
|
"use strict";
|
217756
217648
|
|
217757
217649
|
|
217758
217650
|
/*eslint-disable max-len*/
|
217759
217651
|
|
217760
|
-
var common =
|
217761
|
-
var YAMLException =
|
217762
|
-
var Type =
|
217652
|
+
var common = __nested_webpack_require_873286__(903);
|
217653
|
+
var YAMLException = __nested_webpack_require_873286__(3237);
|
217654
|
+
var Type = __nested_webpack_require_873286__(6876);
|
217763
217655
|
|
217764
217656
|
|
217765
217657
|
function compileList(schema, name, result) {
|
@@ -217866,7 +217758,7 @@ module.exports = Schema;
|
|
217866
217758
|
/***/ }),
|
217867
217759
|
|
217868
217760
|
/***/ 1112:
|
217869
|
-
/***/ ((module, __unused_webpack_exports,
|
217761
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_876150__) => {
|
217870
217762
|
|
217871
217763
|
"use strict";
|
217872
217764
|
// Standard YAML's Core schema.
|
@@ -217879,12 +217771,12 @@ module.exports = Schema;
|
|
217879
217771
|
|
217880
217772
|
|
217881
217773
|
|
217882
|
-
var Schema =
|
217774
|
+
var Schema = __nested_webpack_require_876150__(6105);
|
217883
217775
|
|
217884
217776
|
|
217885
217777
|
module.exports = new Schema({
|
217886
217778
|
include: [
|
217887
|
-
|
217779
|
+
__nested_webpack_require_876150__(1486)
|
217888
217780
|
]
|
217889
217781
|
});
|
217890
217782
|
|
@@ -217892,7 +217784,7 @@ module.exports = new Schema({
|
|
217892
217784
|
/***/ }),
|
217893
217785
|
|
217894
217786
|
/***/ 9647:
|
217895
|
-
/***/ ((module, __unused_webpack_exports,
|
217787
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_876620__) => {
|
217896
217788
|
|
217897
217789
|
"use strict";
|
217898
217790
|
// JS-YAML's default schema for `load` function.
|
@@ -217907,17 +217799,17 @@ module.exports = new Schema({
|
|
217907
217799
|
|
217908
217800
|
|
217909
217801
|
|
217910
|
-
var Schema =
|
217802
|
+
var Schema = __nested_webpack_require_876620__(6105);
|
217911
217803
|
|
217912
217804
|
|
217913
217805
|
module.exports = Schema.DEFAULT = new Schema({
|
217914
217806
|
include: [
|
217915
|
-
|
217807
|
+
__nested_webpack_require_876620__(596)
|
217916
217808
|
],
|
217917
217809
|
explicit: [
|
217918
|
-
|
217919
|
-
|
217920
|
-
|
217810
|
+
__nested_webpack_require_876620__(5836),
|
217811
|
+
__nested_webpack_require_876620__(6841),
|
217812
|
+
__nested_webpack_require_876620__(8750)
|
217921
217813
|
]
|
217922
217814
|
});
|
217923
217815
|
|
@@ -217925,7 +217817,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
217925
217817
|
/***/ }),
|
217926
217818
|
|
217927
217819
|
/***/ 596:
|
217928
|
-
/***/ ((module, __unused_webpack_exports,
|
217820
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_877314__) => {
|
217929
217821
|
|
217930
217822
|
"use strict";
|
217931
217823
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -217938,22 +217830,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
217938
217830
|
|
217939
217831
|
|
217940
217832
|
|
217941
|
-
var Schema =
|
217833
|
+
var Schema = __nested_webpack_require_877314__(6105);
|
217942
217834
|
|
217943
217835
|
|
217944
217836
|
module.exports = new Schema({
|
217945
217837
|
include: [
|
217946
|
-
|
217838
|
+
__nested_webpack_require_877314__(1112)
|
217947
217839
|
],
|
217948
217840
|
implicit: [
|
217949
|
-
|
217950
|
-
|
217841
|
+
__nested_webpack_require_877314__(7028),
|
217842
|
+
__nested_webpack_require_877314__(7841)
|
217951
217843
|
],
|
217952
217844
|
explicit: [
|
217953
|
-
|
217954
|
-
|
217955
|
-
|
217956
|
-
|
217845
|
+
__nested_webpack_require_877314__(8675),
|
217846
|
+
__nested_webpack_require_877314__(3498),
|
217847
|
+
__nested_webpack_require_877314__(679),
|
217848
|
+
__nested_webpack_require_877314__(7205)
|
217957
217849
|
]
|
217958
217850
|
});
|
217959
217851
|
|
@@ -217961,7 +217853,7 @@ module.exports = new Schema({
|
|
217961
217853
|
/***/ }),
|
217962
217854
|
|
217963
217855
|
/***/ 8441:
|
217964
|
-
/***/ ((module, __unused_webpack_exports,
|
217856
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_878026__) => {
|
217965
217857
|
|
217966
217858
|
"use strict";
|
217967
217859
|
// Standard YAML's Failsafe schema.
|
@@ -217971,14 +217863,14 @@ module.exports = new Schema({
|
|
217971
217863
|
|
217972
217864
|
|
217973
217865
|
|
217974
|
-
var Schema =
|
217866
|
+
var Schema = __nested_webpack_require_878026__(6105);
|
217975
217867
|
|
217976
217868
|
|
217977
217869
|
module.exports = new Schema({
|
217978
217870
|
explicit: [
|
217979
|
-
|
217980
|
-
|
217981
|
-
|
217871
|
+
__nested_webpack_require_878026__(5348),
|
217872
|
+
__nested_webpack_require_878026__(7330),
|
217873
|
+
__nested_webpack_require_878026__(293)
|
217982
217874
|
]
|
217983
217875
|
});
|
217984
217876
|
|
@@ -217986,7 +217878,7 @@ module.exports = new Schema({
|
|
217986
217878
|
/***/ }),
|
217987
217879
|
|
217988
217880
|
/***/ 1486:
|
217989
|
-
/***/ ((module, __unused_webpack_exports,
|
217881
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_878412__) => {
|
217990
217882
|
|
217991
217883
|
"use strict";
|
217992
217884
|
// Standard YAML's JSON schema.
|
@@ -218000,18 +217892,18 @@ module.exports = new Schema({
|
|
218000
217892
|
|
218001
217893
|
|
218002
217894
|
|
218003
|
-
var Schema =
|
217895
|
+
var Schema = __nested_webpack_require_878412__(6105);
|
218004
217896
|
|
218005
217897
|
|
218006
217898
|
module.exports = new Schema({
|
218007
217899
|
include: [
|
218008
|
-
|
217900
|
+
__nested_webpack_require_878412__(8441)
|
218009
217901
|
],
|
218010
217902
|
implicit: [
|
218011
|
-
|
218012
|
-
|
218013
|
-
|
218014
|
-
|
217903
|
+
__nested_webpack_require_878412__(9074),
|
217904
|
+
__nested_webpack_require_878412__(4308),
|
217905
|
+
__nested_webpack_require_878412__(1167),
|
217906
|
+
__nested_webpack_require_878412__(7862)
|
218015
217907
|
]
|
218016
217908
|
});
|
218017
217909
|
|
@@ -218019,12 +217911,12 @@ module.exports = new Schema({
|
|
218019
217911
|
/***/ }),
|
218020
217912
|
|
218021
217913
|
/***/ 6876:
|
218022
|
-
/***/ ((module, __unused_webpack_exports,
|
217914
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_879110__) => {
|
218023
217915
|
|
218024
217916
|
"use strict";
|
218025
217917
|
|
218026
217918
|
|
218027
|
-
var YAMLException =
|
217919
|
+
var YAMLException = __nested_webpack_require_879110__(3237);
|
218028
217920
|
|
218029
217921
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
218030
217922
|
'kind',
|
@@ -218088,7 +217980,7 @@ module.exports = Type;
|
|
218088
217980
|
/***/ }),
|
218089
217981
|
|
218090
217982
|
/***/ 8675:
|
218091
|
-
/***/ ((module, __unused_webpack_exports,
|
217983
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_880794__) => {
|
218092
217984
|
|
218093
217985
|
"use strict";
|
218094
217986
|
|
@@ -218103,7 +217995,7 @@ try {
|
|
218103
217995
|
NodeBuffer = _require('buffer').Buffer;
|
218104
217996
|
} catch (__) {}
|
218105
217997
|
|
218106
|
-
var Type =
|
217998
|
+
var Type = __nested_webpack_require_880794__(6876);
|
218107
217999
|
|
218108
218000
|
|
218109
218001
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -218234,12 +218126,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
218234
218126
|
/***/ }),
|
218235
218127
|
|
218236
218128
|
/***/ 4308:
|
218237
|
-
/***/ ((module, __unused_webpack_exports,
|
218129
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_884186__) => {
|
218238
218130
|
|
218239
218131
|
"use strict";
|
218240
218132
|
|
218241
218133
|
|
218242
|
-
var Type =
|
218134
|
+
var Type = __nested_webpack_require_884186__(6876);
|
218243
218135
|
|
218244
218136
|
function resolveYamlBoolean(data) {
|
218245
218137
|
if (data === null) return false;
|
@@ -218277,13 +218169,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
218277
218169
|
/***/ }),
|
218278
218170
|
|
218279
218171
|
/***/ 7862:
|
218280
|
-
/***/ ((module, __unused_webpack_exports,
|
218172
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_885259__) => {
|
218281
218173
|
|
218282
218174
|
"use strict";
|
218283
218175
|
|
218284
218176
|
|
218285
|
-
var common =
|
218286
|
-
var Type =
|
218177
|
+
var common = __nested_webpack_require_885259__(903);
|
218178
|
+
var Type = __nested_webpack_require_885259__(6876);
|
218287
218179
|
|
218288
218180
|
var YAML_FLOAT_PATTERN = new RegExp(
|
218289
218181
|
// 2.5e4, 2.5 and integers
|
@@ -218401,13 +218293,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
218401
218293
|
/***/ }),
|
218402
218294
|
|
218403
218295
|
/***/ 1167:
|
218404
|
-
/***/ ((module, __unused_webpack_exports,
|
218296
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_888205__) => {
|
218405
218297
|
|
218406
218298
|
"use strict";
|
218407
218299
|
|
218408
218300
|
|
218409
|
-
var common =
|
218410
|
-
var Type =
|
218301
|
+
var common = __nested_webpack_require_888205__(903);
|
218302
|
+
var Type = __nested_webpack_require_888205__(6876);
|
218411
218303
|
|
218412
218304
|
function isHexCode(c) {
|
218413
218305
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -218582,7 +218474,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
218582
218474
|
/***/ }),
|
218583
218475
|
|
218584
218476
|
/***/ 8750:
|
218585
|
-
/***/ ((module, __unused_webpack_exports,
|
218477
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_892377__) => {
|
218586
218478
|
|
218587
218479
|
"use strict";
|
218588
218480
|
|
@@ -218605,7 +218497,7 @@ try {
|
|
218605
218497
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
218606
218498
|
}
|
218607
218499
|
|
218608
|
-
var Type =
|
218500
|
+
var Type = __nested_webpack_require_892377__(6876);
|
218609
218501
|
|
218610
218502
|
function resolveJavascriptFunction(data) {
|
218611
218503
|
if (data === null) return false;
|
@@ -218682,12 +218574,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
218682
218574
|
/***/ }),
|
218683
218575
|
|
218684
218576
|
/***/ 6841:
|
218685
|
-
/***/ ((module, __unused_webpack_exports,
|
218577
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_895274__) => {
|
218686
218578
|
|
218687
218579
|
"use strict";
|
218688
218580
|
|
218689
218581
|
|
218690
|
-
var Type =
|
218582
|
+
var Type = __nested_webpack_require_895274__(6876);
|
218691
218583
|
|
218692
218584
|
function resolveJavascriptRegExp(data) {
|
218693
218585
|
if (data === null) return false;
|
@@ -218750,12 +218642,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
218750
218642
|
/***/ }),
|
218751
218643
|
|
218752
218644
|
/***/ 5836:
|
218753
|
-
/***/ ((module, __unused_webpack_exports,
|
218645
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_896945__) => {
|
218754
218646
|
|
218755
218647
|
"use strict";
|
218756
218648
|
|
218757
218649
|
|
218758
|
-
var Type =
|
218650
|
+
var Type = __nested_webpack_require_896945__(6876);
|
218759
218651
|
|
218760
218652
|
function resolveJavascriptUndefined() {
|
218761
218653
|
return true;
|
@@ -218786,12 +218678,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
218786
218678
|
/***/ }),
|
218787
218679
|
|
218788
218680
|
/***/ 293:
|
218789
|
-
/***/ ((module, __unused_webpack_exports,
|
218681
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_897616__) => {
|
218790
218682
|
|
218791
218683
|
"use strict";
|
218792
218684
|
|
218793
218685
|
|
218794
|
-
var Type =
|
218686
|
+
var Type = __nested_webpack_require_897616__(6876);
|
218795
218687
|
|
218796
218688
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
218797
218689
|
kind: 'mapping',
|
@@ -218802,12 +218694,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
218802
218694
|
/***/ }),
|
218803
218695
|
|
218804
218696
|
/***/ 7841:
|
218805
|
-
/***/ ((module, __unused_webpack_exports,
|
218697
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_897908__) => {
|
218806
218698
|
|
218807
218699
|
"use strict";
|
218808
218700
|
|
218809
218701
|
|
218810
|
-
var Type =
|
218702
|
+
var Type = __nested_webpack_require_897908__(6876);
|
218811
218703
|
|
218812
218704
|
function resolveYamlMerge(data) {
|
218813
218705
|
return data === '<<' || data === null;
|
@@ -218822,12 +218714,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
218822
218714
|
/***/ }),
|
218823
218715
|
|
218824
218716
|
/***/ 9074:
|
218825
|
-
/***/ ((module, __unused_webpack_exports,
|
218717
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898240__) => {
|
218826
218718
|
|
218827
218719
|
"use strict";
|
218828
218720
|
|
218829
218721
|
|
218830
|
-
var Type =
|
218722
|
+
var Type = __nested_webpack_require_898240__(6876);
|
218831
218723
|
|
218832
218724
|
function resolveYamlNull(data) {
|
218833
218725
|
if (data === null) return true;
|
@@ -218864,12 +218756,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
218864
218756
|
/***/ }),
|
218865
218757
|
|
218866
218758
|
/***/ 3498:
|
218867
|
-
/***/ ((module, __unused_webpack_exports,
|
218759
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_899103__) => {
|
218868
218760
|
|
218869
218761
|
"use strict";
|
218870
218762
|
|
218871
218763
|
|
218872
|
-
var Type =
|
218764
|
+
var Type = __nested_webpack_require_899103__(6876);
|
218873
218765
|
|
218874
218766
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
218875
218767
|
var _toString = Object.prototype.toString;
|
@@ -218916,12 +218808,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
218916
218808
|
/***/ }),
|
218917
218809
|
|
218918
218810
|
/***/ 679:
|
218919
|
-
/***/ ((module, __unused_webpack_exports,
|
218811
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_900227__) => {
|
218920
218812
|
|
218921
218813
|
"use strict";
|
218922
218814
|
|
218923
218815
|
|
218924
|
-
var Type =
|
218816
|
+
var Type = __nested_webpack_require_900227__(6876);
|
218925
218817
|
|
218926
218818
|
var _toString = Object.prototype.toString;
|
218927
218819
|
|
@@ -218977,12 +218869,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
218977
218869
|
/***/ }),
|
218978
218870
|
|
218979
218871
|
/***/ 7330:
|
218980
|
-
/***/ ((module, __unused_webpack_exports,
|
218872
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_901413__) => {
|
218981
218873
|
|
218982
218874
|
"use strict";
|
218983
218875
|
|
218984
218876
|
|
218985
|
-
var Type =
|
218877
|
+
var Type = __nested_webpack_require_901413__(6876);
|
218986
218878
|
|
218987
218879
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
218988
218880
|
kind: 'sequence',
|
@@ -218993,12 +218885,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
218993
218885
|
/***/ }),
|
218994
218886
|
|
218995
218887
|
/***/ 7205:
|
218996
|
-
/***/ ((module, __unused_webpack_exports,
|
218888
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_901706__) => {
|
218997
218889
|
|
218998
218890
|
"use strict";
|
218999
218891
|
|
219000
218892
|
|
219001
|
-
var Type =
|
218893
|
+
var Type = __nested_webpack_require_901706__(6876);
|
219002
218894
|
|
219003
218895
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
219004
218896
|
|
@@ -219030,12 +218922,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
219030
218922
|
/***/ }),
|
219031
218923
|
|
219032
218924
|
/***/ 5348:
|
219033
|
-
/***/ ((module, __unused_webpack_exports,
|
218925
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902355__) => {
|
219034
218926
|
|
219035
218927
|
"use strict";
|
219036
218928
|
|
219037
218929
|
|
219038
|
-
var Type =
|
218930
|
+
var Type = __nested_webpack_require_902355__(6876);
|
219039
218931
|
|
219040
218932
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
219041
218933
|
kind: 'scalar',
|
@@ -219046,12 +218938,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
219046
218938
|
/***/ }),
|
219047
218939
|
|
219048
218940
|
/***/ 7028:
|
219049
|
-
/***/ ((module, __unused_webpack_exports,
|
218941
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902646__) => {
|
219050
218942
|
|
219051
218943
|
"use strict";
|
219052
218944
|
|
219053
218945
|
|
219054
|
-
var Type =
|
218946
|
+
var Type = __nested_webpack_require_902646__(6876);
|
219055
218947
|
|
219056
218948
|
var YAML_DATE_REGEXP = new RegExp(
|
219057
218949
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -219142,12 +219034,12 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
219142
219034
|
/***/ }),
|
219143
219035
|
|
219144
219036
|
/***/ 1868:
|
219145
|
-
/***/ ((__unused_webpack_module, exports,
|
219037
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_905319__) => {
|
219146
219038
|
|
219147
219039
|
"use strict";
|
219148
219040
|
|
219149
219041
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219150
|
-
const _1 =
|
219042
|
+
const _1 = __nested_webpack_require_905319__(2855);
|
219151
219043
|
function debug(message, ...additional) {
|
219152
219044
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
219153
219045
|
console.log(message, ...additional);
|
@@ -219159,7 +219051,7 @@ exports.default = debug;
|
|
219159
219051
|
/***/ }),
|
219160
219052
|
|
219161
219053
|
/***/ 4246:
|
219162
|
-
/***/ (function(__unused_webpack_module, exports,
|
219054
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_905704__) {
|
219163
219055
|
|
219164
219056
|
"use strict";
|
219165
219057
|
|
@@ -219168,11 +219060,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219168
219060
|
};
|
219169
219061
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219170
219062
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
219171
|
-
const minimatch_1 = __importDefault(
|
219172
|
-
const semver_1 =
|
219173
|
-
const path_1 =
|
219174
|
-
const frameworks_1 = __importDefault(
|
219175
|
-
const _1 =
|
219063
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_905704__(9566));
|
219064
|
+
const semver_1 = __nested_webpack_require_905704__(2879);
|
219065
|
+
const path_1 = __nested_webpack_require_905704__(5622);
|
219066
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_905704__(8438));
|
219067
|
+
const _1 = __nested_webpack_require_905704__(2855);
|
219176
219068
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
219177
219069
|
// We need to sort the file paths by alphabet to make
|
219178
219070
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -220178,7 +220070,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
220178
220070
|
/***/ }),
|
220179
220071
|
|
220180
220072
|
/***/ 2397:
|
220181
|
-
/***/ (function(__unused_webpack_module, exports,
|
220073
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_942546__) {
|
220182
220074
|
|
220183
220075
|
"use strict";
|
220184
220076
|
|
@@ -220186,8 +220078,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220186
220078
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
220187
220079
|
};
|
220188
220080
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220189
|
-
const assert_1 = __importDefault(
|
220190
|
-
const into_stream_1 = __importDefault(
|
220081
|
+
const assert_1 = __importDefault(__nested_webpack_require_942546__(2357));
|
220082
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_942546__(6130));
|
220191
220083
|
class FileBlob {
|
220192
220084
|
constructor({ mode = 0o100644, contentType, data }) {
|
220193
220085
|
assert_1.default(typeof mode === 'number');
|
@@ -220219,7 +220111,7 @@ exports.default = FileBlob;
|
|
220219
220111
|
/***/ }),
|
220220
220112
|
|
220221
220113
|
/***/ 9331:
|
220222
|
-
/***/ (function(__unused_webpack_module, exports,
|
220114
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_943998__) {
|
220223
220115
|
|
220224
220116
|
"use strict";
|
220225
220117
|
|
@@ -220227,11 +220119,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220227
220119
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
220228
220120
|
};
|
220229
220121
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220230
|
-
const assert_1 = __importDefault(
|
220231
|
-
const fs_extra_1 = __importDefault(
|
220232
|
-
const multistream_1 = __importDefault(
|
220233
|
-
const path_1 = __importDefault(
|
220234
|
-
const async_sema_1 = __importDefault(
|
220122
|
+
const assert_1 = __importDefault(__nested_webpack_require_943998__(2357));
|
220123
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_943998__(5392));
|
220124
|
+
const multistream_1 = __importDefault(__nested_webpack_require_943998__(8179));
|
220125
|
+
const path_1 = __importDefault(__nested_webpack_require_943998__(5622));
|
220126
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_943998__(5758));
|
220235
220127
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
220236
220128
|
class FileFsRef {
|
220237
220129
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -220297,7 +220189,7 @@ exports.default = FileFsRef;
|
|
220297
220189
|
/***/ }),
|
220298
220190
|
|
220299
220191
|
/***/ 5187:
|
220300
|
-
/***/ (function(__unused_webpack_module, exports,
|
220192
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_946802__) {
|
220301
220193
|
|
220302
220194
|
"use strict";
|
220303
220195
|
|
@@ -220305,11 +220197,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220305
220197
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
220306
220198
|
};
|
220307
220199
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220308
|
-
const assert_1 = __importDefault(
|
220309
|
-
const node_fetch_1 = __importDefault(
|
220310
|
-
const multistream_1 = __importDefault(
|
220311
|
-
const async_retry_1 = __importDefault(
|
220312
|
-
const async_sema_1 = __importDefault(
|
220200
|
+
const assert_1 = __importDefault(__nested_webpack_require_946802__(2357));
|
220201
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_946802__(2197));
|
220202
|
+
const multistream_1 = __importDefault(__nested_webpack_require_946802__(8179));
|
220203
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_946802__(3691));
|
220204
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_946802__(5758));
|
220313
220205
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
220314
220206
|
class BailableError extends Error {
|
220315
220207
|
constructor(...args) {
|
@@ -220390,7 +220282,7 @@ exports.default = FileRef;
|
|
220390
220282
|
/***/ }),
|
220391
220283
|
|
220392
220284
|
/***/ 1611:
|
220393
|
-
/***/ (function(__unused_webpack_module, exports,
|
220285
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_950203__) {
|
220394
220286
|
|
220395
220287
|
"use strict";
|
220396
220288
|
|
@@ -220399,10 +220291,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220399
220291
|
};
|
220400
220292
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220401
220293
|
exports.isSymbolicLink = void 0;
|
220402
|
-
const path_1 = __importDefault(
|
220403
|
-
const debug_1 = __importDefault(
|
220404
|
-
const file_fs_ref_1 = __importDefault(
|
220405
|
-
const fs_extra_1 =
|
220294
|
+
const path_1 = __importDefault(__nested_webpack_require_950203__(5622));
|
220295
|
+
const debug_1 = __importDefault(__nested_webpack_require_950203__(1868));
|
220296
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_950203__(9331));
|
220297
|
+
const fs_extra_1 = __nested_webpack_require_950203__(5392);
|
220406
220298
|
const S_IFMT = 61440; /* 0170000 type of file */
|
220407
220299
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
220408
220300
|
function isSymbolicLink(mode) {
|
@@ -220464,14 +220356,14 @@ exports.default = download;
|
|
220464
220356
|
/***/ }),
|
220465
220357
|
|
220466
220358
|
/***/ 3838:
|
220467
|
-
/***/ ((__unused_webpack_module, exports,
|
220359
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_953028__) => {
|
220468
220360
|
|
220469
220361
|
"use strict";
|
220470
220362
|
|
220471
220363
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220472
|
-
const path_1 =
|
220473
|
-
const os_1 =
|
220474
|
-
const fs_extra_1 =
|
220364
|
+
const path_1 = __nested_webpack_require_953028__(5622);
|
220365
|
+
const os_1 = __nested_webpack_require_953028__(2087);
|
220366
|
+
const fs_extra_1 = __nested_webpack_require_953028__(5392);
|
220475
220367
|
async function getWritableDirectory() {
|
220476
220368
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
220477
220369
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -220484,7 +220376,7 @@ exports.default = getWritableDirectory;
|
|
220484
220376
|
/***/ }),
|
220485
220377
|
|
220486
220378
|
/***/ 4240:
|
220487
|
-
/***/ (function(__unused_webpack_module, exports,
|
220379
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_953608__) {
|
220488
220380
|
|
220489
220381
|
"use strict";
|
220490
220382
|
|
@@ -220492,12 +220384,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220492
220384
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
220493
220385
|
};
|
220494
220386
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220495
|
-
const path_1 = __importDefault(
|
220496
|
-
const assert_1 = __importDefault(
|
220497
|
-
const glob_1 = __importDefault(
|
220498
|
-
const util_1 =
|
220499
|
-
const fs_extra_1 =
|
220500
|
-
const
|
220387
|
+
const path_1 = __importDefault(__nested_webpack_require_953608__(5622));
|
220388
|
+
const assert_1 = __importDefault(__nested_webpack_require_953608__(2357));
|
220389
|
+
const glob_1 = __importDefault(__nested_webpack_require_953608__(1104));
|
220390
|
+
const util_1 = __nested_webpack_require_953608__(1669);
|
220391
|
+
const fs_extra_1 = __nested_webpack_require_953608__(5392);
|
220392
|
+
const normalize_path_1 = __nested_webpack_require_953608__(6261);
|
220393
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_953608__(9331));
|
220501
220394
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
220502
220395
|
async function glob(pattern, opts, mountpoint) {
|
220503
220396
|
let options;
|
@@ -220520,7 +220413,7 @@ async function glob(pattern, opts, mountpoint) {
|
|
220520
220413
|
options.dot = true;
|
220521
220414
|
const files = await vanillaGlob(pattern, options);
|
220522
220415
|
for (const relativePath of files) {
|
220523
|
-
const fsPath = path_1.default.join(options.cwd, relativePath)
|
220416
|
+
const fsPath = normalize_path_1.normalizePath(path_1.default.join(options.cwd, relativePath));
|
220524
220417
|
let stat = options.statCache[fsPath];
|
220525
220418
|
assert_1.default(stat, `statCache does not contain value for ${relativePath} (resolved to ${fsPath})`);
|
220526
220419
|
const isSymlink = options.symlinks[fsPath];
|
@@ -220543,7 +220436,7 @@ exports.default = glob;
|
|
220543
220436
|
/***/ }),
|
220544
220437
|
|
220545
220438
|
/***/ 7903:
|
220546
|
-
/***/ (function(__unused_webpack_module, exports,
|
220439
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_955804__) {
|
220547
220440
|
|
220548
220441
|
"use strict";
|
220549
220442
|
|
@@ -220552,9 +220445,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220552
220445
|
};
|
220553
220446
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220554
220447
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
220555
|
-
const semver_1 =
|
220556
|
-
const errors_1 =
|
220557
|
-
const debug_1 = __importDefault(
|
220448
|
+
const semver_1 = __nested_webpack_require_955804__(2879);
|
220449
|
+
const errors_1 = __nested_webpack_require_955804__(3983);
|
220450
|
+
const debug_1 = __importDefault(__nested_webpack_require_955804__(1868));
|
220558
220451
|
const allOptions = [
|
220559
220452
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
220560
220453
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -220626,10 +220519,29 @@ function isDiscontinued({ discontinueDate }) {
|
|
220626
220519
|
}
|
220627
220520
|
|
220628
220521
|
|
220522
|
+
/***/ }),
|
220523
|
+
|
220524
|
+
/***/ 6261:
|
220525
|
+
/***/ ((__unused_webpack_module, exports) => {
|
220526
|
+
|
220527
|
+
"use strict";
|
220528
|
+
|
220529
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220530
|
+
exports.normalizePath = void 0;
|
220531
|
+
const isWin = process.platform === 'win32';
|
220532
|
+
/**
|
220533
|
+
* Convert Windows separators to Unix separators.
|
220534
|
+
*/
|
220535
|
+
function normalizePath(p) {
|
220536
|
+
return isWin ? p.replace(/\\/g, '/') : p;
|
220537
|
+
}
|
220538
|
+
exports.normalizePath = normalizePath;
|
220539
|
+
|
220540
|
+
|
220629
220541
|
/***/ }),
|
220630
220542
|
|
220631
220543
|
/***/ 7792:
|
220632
|
-
/***/ (function(__unused_webpack_module, exports,
|
220544
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_959672__) {
|
220633
220545
|
|
220634
220546
|
"use strict";
|
220635
220547
|
|
@@ -220638,9 +220550,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220638
220550
|
};
|
220639
220551
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220640
220552
|
exports.readConfigFile = void 0;
|
220641
|
-
const js_yaml_1 = __importDefault(
|
220642
|
-
const toml_1 = __importDefault(
|
220643
|
-
const fs_extra_1 =
|
220553
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_959672__(6540));
|
220554
|
+
const toml_1 = __importDefault(__nested_webpack_require_959672__(9434));
|
220555
|
+
const fs_extra_1 = __nested_webpack_require_959672__(5392);
|
220644
220556
|
async function readFileOrNull(file) {
|
220645
220557
|
try {
|
220646
220558
|
const data = await fs_extra_1.readFile(file);
|
@@ -220695,7 +220607,7 @@ exports.default = rename;
|
|
220695
220607
|
/***/ }),
|
220696
220608
|
|
220697
220609
|
/***/ 1442:
|
220698
|
-
/***/ (function(__unused_webpack_module, exports,
|
220610
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_961465__) {
|
220699
220611
|
|
220700
220612
|
"use strict";
|
220701
220613
|
|
@@ -220704,14 +220616,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
220704
220616
|
};
|
220705
220617
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220706
220618
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
220707
|
-
const assert_1 = __importDefault(
|
220708
|
-
const fs_extra_1 = __importDefault(
|
220709
|
-
const path_1 = __importDefault(
|
220710
|
-
const debug_1 = __importDefault(
|
220711
|
-
const cross_spawn_1 = __importDefault(
|
220712
|
-
const util_1 =
|
220713
|
-
const errors_1 =
|
220714
|
-
const node_version_1 =
|
220619
|
+
const assert_1 = __importDefault(__nested_webpack_require_961465__(2357));
|
220620
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_961465__(5392));
|
220621
|
+
const path_1 = __importDefault(__nested_webpack_require_961465__(5622));
|
220622
|
+
const debug_1 = __importDefault(__nested_webpack_require_961465__(1868));
|
220623
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_961465__(7618));
|
220624
|
+
const util_1 = __nested_webpack_require_961465__(1669);
|
220625
|
+
const errors_1 = __nested_webpack_require_961465__(3983);
|
220626
|
+
const node_version_1 = __nested_webpack_require_961465__(7903);
|
220715
220627
|
function spawnAsync(command, args, opts = {}) {
|
220716
220628
|
return new Promise((resolve, reject) => {
|
220717
220629
|
const stderrLogs = [];
|
@@ -221022,7 +220934,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
221022
220934
|
/***/ }),
|
221023
220935
|
|
221024
220936
|
/***/ 2560:
|
221025
|
-
/***/ (function(__unused_webpack_module, exports,
|
220937
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_975455__) {
|
221026
220938
|
|
221027
220939
|
"use strict";
|
221028
220940
|
|
@@ -221030,7 +220942,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
221030
220942
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
221031
220943
|
};
|
221032
220944
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
221033
|
-
const end_of_stream_1 = __importDefault(
|
220945
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_975455__(687));
|
221034
220946
|
function streamToBuffer(stream) {
|
221035
220947
|
return new Promise((resolve, reject) => {
|
221036
220948
|
const buffers = [];
|
@@ -221059,7 +220971,7 @@ exports.default = streamToBuffer;
|
|
221059
220971
|
/***/ }),
|
221060
220972
|
|
221061
220973
|
/***/ 2855:
|
221062
|
-
/***/ (function(__unused_webpack_module, exports,
|
220974
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976523__) {
|
221063
220975
|
|
221064
220976
|
"use strict";
|
221065
220977
|
|
@@ -221089,29 +221001,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
221089
221001
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
221090
221002
|
};
|
221091
221003
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
221092
|
-
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
221093
|
-
const file_blob_1 = __importDefault(
|
221004
|
+
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
221005
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_976523__(2397));
|
221094
221006
|
exports.FileBlob = file_blob_1.default;
|
221095
|
-
const file_fs_ref_1 = __importDefault(
|
221007
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_976523__(9331));
|
221096
221008
|
exports.FileFsRef = file_fs_ref_1.default;
|
221097
|
-
const file_ref_1 = __importDefault(
|
221009
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_976523__(5187));
|
221098
221010
|
exports.FileRef = file_ref_1.default;
|
221099
|
-
const lambda_1 =
|
221011
|
+
const lambda_1 = __nested_webpack_require_976523__(6721);
|
221100
221012
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
221101
221013
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
221102
221014
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
221103
|
-
const prerender_1 =
|
221015
|
+
const prerender_1 = __nested_webpack_require_976523__(2850);
|
221104
221016
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
221105
|
-
const download_1 = __importStar(
|
221017
|
+
const download_1 = __importStar(__nested_webpack_require_976523__(1611));
|
221106
221018
|
exports.download = download_1.default;
|
221107
221019
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
221108
|
-
const get_writable_directory_1 = __importDefault(
|
221020
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_976523__(3838));
|
221109
221021
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
221110
|
-
const glob_1 = __importDefault(
|
221022
|
+
const glob_1 = __importDefault(__nested_webpack_require_976523__(4240));
|
221111
221023
|
exports.glob = glob_1.default;
|
221112
|
-
const rename_1 = __importDefault(
|
221024
|
+
const rename_1 = __importDefault(__nested_webpack_require_976523__(6718));
|
221113
221025
|
exports.rename = rename_1.default;
|
221114
|
-
const run_user_scripts_1 =
|
221026
|
+
const run_user_scripts_1 = __nested_webpack_require_976523__(1442);
|
221115
221027
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
221116
221028
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
221117
221029
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -221128,30 +221040,32 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
221128
221040
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
221129
221041
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
221130
221042
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
221131
|
-
const node_version_1 =
|
221043
|
+
const node_version_1 = __nested_webpack_require_976523__(7903);
|
221132
221044
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
221133
221045
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
221134
|
-
const errors_1 =
|
221135
|
-
const stream_to_buffer_1 = __importDefault(
|
221046
|
+
const errors_1 = __nested_webpack_require_976523__(3983);
|
221047
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_976523__(2560));
|
221136
221048
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
221137
|
-
const should_serve_1 = __importDefault(
|
221049
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_976523__(2564));
|
221138
221050
|
exports.shouldServe = should_serve_1.default;
|
221139
|
-
const debug_1 = __importDefault(
|
221051
|
+
const debug_1 = __importDefault(__nested_webpack_require_976523__(1868));
|
221140
221052
|
exports.debug = debug_1.default;
|
221141
|
-
var detect_builders_1 =
|
221053
|
+
var detect_builders_1 = __nested_webpack_require_976523__(4246);
|
221142
221054
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
221143
221055
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
221144
221056
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
221145
221057
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
221146
|
-
var detect_framework_1 =
|
221058
|
+
var detect_framework_1 = __nested_webpack_require_976523__(5224);
|
221147
221059
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
221148
|
-
var filesystem_1 =
|
221060
|
+
var filesystem_1 = __nested_webpack_require_976523__(461);
|
221149
221061
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
221150
|
-
var read_config_file_1 =
|
221062
|
+
var read_config_file_1 = __nested_webpack_require_976523__(7792);
|
221151
221063
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
221152
|
-
|
221153
|
-
|
221154
|
-
__exportStar(
|
221064
|
+
var normalize_path_1 = __nested_webpack_require_976523__(6261);
|
221065
|
+
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
221066
|
+
__exportStar(__nested_webpack_require_976523__(2416), exports);
|
221067
|
+
__exportStar(__nested_webpack_require_976523__(5748), exports);
|
221068
|
+
__exportStar(__nested_webpack_require_976523__(3983), exports);
|
221155
221069
|
/**
|
221156
221070
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
221157
221071
|
*/
|
@@ -221196,7 +221110,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
221196
221110
|
/***/ }),
|
221197
221111
|
|
221198
221112
|
/***/ 6721:
|
221199
|
-
/***/ (function(__unused_webpack_module, exports,
|
221113
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986341__) {
|
221200
221114
|
|
221201
221115
|
"use strict";
|
221202
221116
|
|
@@ -221204,14 +221118,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
221204
221118
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
221205
221119
|
};
|
221206
221120
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
221207
|
-
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
221208
|
-
const assert_1 = __importDefault(
|
221209
|
-
const async_sema_1 = __importDefault(
|
221210
|
-
const yazl_1 =
|
221211
|
-
const minimatch_1 = __importDefault(
|
221212
|
-
const fs_extra_1 =
|
221213
|
-
const download_1 =
|
221214
|
-
const stream_to_buffer_1 = __importDefault(
|
221121
|
+
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
221122
|
+
const assert_1 = __importDefault(__nested_webpack_require_986341__(2357));
|
221123
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_986341__(5758));
|
221124
|
+
const yazl_1 = __nested_webpack_require_986341__(1223);
|
221125
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_986341__(9566));
|
221126
|
+
const fs_extra_1 = __nested_webpack_require_986341__(5392);
|
221127
|
+
const download_1 = __nested_webpack_require_986341__(1611);
|
221128
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_986341__(2560));
|
221129
|
+
exports.FILES_SYMBOL = Symbol('files');
|
221215
221130
|
class Lambda {
|
221216
221131
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
221217
221132
|
this.type = 'Lambda';
|
@@ -221250,7 +221165,7 @@ async function createLambda({ files, handler, runtime, memory, maxDuration, envi
|
|
221250
221165
|
await sema.acquire();
|
221251
221166
|
try {
|
221252
221167
|
const zipBuffer = await createZip(files);
|
221253
|
-
|
221168
|
+
const lambda = new Lambda({
|
221254
221169
|
zipBuffer,
|
221255
221170
|
handler,
|
221256
221171
|
runtime,
|
@@ -221259,6 +221174,9 @@ async function createLambda({ files, handler, runtime, memory, maxDuration, envi
|
|
221259
221174
|
environment,
|
221260
221175
|
regions,
|
221261
221176
|
});
|
221177
|
+
// @ts-ignore This symbol is a private API
|
221178
|
+
lambda[exports.FILES_SYMBOL] = files;
|
221179
|
+
return lambda;
|
221262
221180
|
}
|
221263
221181
|
finally {
|
221264
221182
|
sema.release();
|
@@ -221436,12 +221354,12 @@ exports.buildsSchema = {
|
|
221436
221354
|
/***/ }),
|
221437
221355
|
|
221438
221356
|
/***/ 2564:
|
221439
|
-
/***/ ((__unused_webpack_module, exports,
|
221357
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_994851__) => {
|
221440
221358
|
|
221441
221359
|
"use strict";
|
221442
221360
|
|
221443
221361
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
221444
|
-
const path_1 =
|
221362
|
+
const path_1 = __nested_webpack_require_994851__(5622);
|
221445
221363
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
221446
221364
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
221447
221365
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -221670,7 +221588,7 @@ module.exports = __webpack_require__(78761);
|
|
221670
221588
|
/******/ var __webpack_module_cache__ = {};
|
221671
221589
|
/******/
|
221672
221590
|
/******/ // The require function
|
221673
|
-
/******/ function
|
221591
|
+
/******/ function __nested_webpack_require_1094490__(moduleId) {
|
221674
221592
|
/******/ // Check if module is in cache
|
221675
221593
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
221676
221594
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -221685,7 +221603,7 @@ module.exports = __webpack_require__(78761);
|
|
221685
221603
|
/******/ // Execute the module function
|
221686
221604
|
/******/ var threw = true;
|
221687
221605
|
/******/ try {
|
221688
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
221606
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1094490__);
|
221689
221607
|
/******/ threw = false;
|
221690
221608
|
/******/ } finally {
|
221691
221609
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -221698,11 +221616,11 @@ module.exports = __webpack_require__(78761);
|
|
221698
221616
|
/************************************************************************/
|
221699
221617
|
/******/ /* webpack/runtime/compat */
|
221700
221618
|
/******/
|
221701
|
-
/******/
|
221619
|
+
/******/ __nested_webpack_require_1094490__.ab = __dirname + "/";/************************************************************************/
|
221702
221620
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
221703
221621
|
/******/ // startup
|
221704
221622
|
/******/ // Load entry module and return exports
|
221705
|
-
/******/ return
|
221623
|
+
/******/ return __nested_webpack_require_1094490__(2855);
|
221706
221624
|
/******/ })()
|
221707
221625
|
;
|
221708
221626
|
|
@@ -304578,13 +304496,9 @@ exports.default = parseMeta;
|
|
304578
304496
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
304579
304497
|
exports.relative = void 0;
|
304580
304498
|
const path_1 = __webpack_require__(85622);
|
304581
|
-
const
|
304499
|
+
const build_utils_1 = __webpack_require__(3131);
|
304582
304500
|
function relative(a, b) {
|
304583
|
-
|
304584
|
-
if (isWin) {
|
304585
|
-
p = p.replace(/\\/g, '/');
|
304586
|
-
}
|
304587
|
-
return p;
|
304501
|
+
return build_utils_1.normalizePath(path_1.relative(a, b));
|
304588
304502
|
}
|
304589
304503
|
exports.relative = relative;
|
304590
304504
|
|
@@ -306106,7 +306020,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
306106
306020
|
/***/ ((module) => {
|
306107
306021
|
|
306108
306022
|
"use strict";
|
306109
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
306023
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.22\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest\",\"test-unit\":\"jest --coverage --verbose\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"ava test/dev/integration.js --serial --fail-fast --verbose\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"compileEnhancements\":false,\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 12\"},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.15\",\"@vercel/go\":\"1.2.4-canary.3\",\"@vercel/node\":\"1.12.2-canary.5\",\"@vercel/python\":\"2.0.6-canary.4\",\"@vercel/ruby\":\"1.2.8-canary.3\",\"update-notifier\":\"4.1.0\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@vercel/frameworks\":\"0.5.1-canary.10\",\"@vercel/ncc\":\"0.24.0\",\"@vercel/nft\":\"0.17.0\",\"@zeit/fun\":\"0.11.2\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-prompt\":\"0.3.2\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.0.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"jsonlines\":\"0.1.1\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.2.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"5.2.0\",\"stripe\":\"5.1.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-eager\":\"2.0.2\",\"ts-node\":\"8.3.0\",\"typescript\":\"4.3.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.5\",\"vercel-plugin-node\":\"1.12.2-plugin.6\",\"which\":\"2.0.2\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"a6ccf6c180c88f0d606a2fd932bbf558ab78ddeb\"}");
|
306110
306024
|
|
306111
306025
|
/***/ }),
|
306112
306026
|
|
@@ -306122,7 +306036,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
306122
306036
|
/***/ ((module) => {
|
306123
306037
|
|
306124
306038
|
"use strict";
|
306125
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
306039
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.16\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"jest --verbose --runInBand --bail tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test-unit\":\"jest --verbose --runInBand --bail tests/unit.*test.*\"},\"engines\":{\"node\":\">= 12\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.0.1\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.15\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"querystring\":\"^0.2.0\",\"recursive-readdir\":\"2.2.2\",\"sleep-promise\":\"8.0.1\"},\"gitHead\":\"a6ccf6c180c88f0d606a2fd932bbf558ab78ddeb\"}");
|
306126
306040
|
|
306127
306041
|
/***/ }),
|
306128
306042
|
|