@modern-js/tailwindcss-generator 1.2.0 → 1.2.3
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/js/node/main.js +1209 -243
- package/package.json +6 -5
package/dist/js/node/main.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
2
2
|
/******/ var __webpack_modules__ = ({
|
3
3
|
|
4
|
-
/***/
|
4
|
+
/***/ 49547:
|
5
5
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
6
6
|
|
7
7
|
"use strict";
|
@@ -16,7 +16,7 @@ var _easyFormCli = __webpack_require__(62408);
|
|
16
16
|
|
17
17
|
var _inquirerTypes = __webpack_require__(78659);
|
18
18
|
|
19
|
-
var _constant = __webpack_require__(
|
19
|
+
var _constant = __webpack_require__(82409);
|
20
20
|
|
21
21
|
const registerListPrompt = inquirer => {
|
22
22
|
try {
|
@@ -100,7 +100,7 @@ exports.listNode = listNode;
|
|
100
100
|
|
101
101
|
/***/ }),
|
102
102
|
|
103
|
-
/***/
|
103
|
+
/***/ 82409:
|
104
104
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
105
105
|
|
106
106
|
"use strict";
|
@@ -125,7 +125,7 @@ exports.CLI_TYPE = CLI_TYPE;
|
|
125
125
|
|
126
126
|
/***/ }),
|
127
127
|
|
128
|
-
/***/
|
128
|
+
/***/ 96354:
|
129
129
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
130
130
|
|
131
131
|
"use strict";
|
@@ -135,7 +135,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
135
135
|
value: true
|
136
136
|
}));
|
137
137
|
|
138
|
-
var _ListNode = __webpack_require__(
|
138
|
+
var _ListNode = __webpack_require__(49547);
|
139
139
|
|
140
140
|
Object.keys(_ListNode).forEach(function (key) {
|
141
141
|
if (key === "default" || key === "__esModule") return;
|
@@ -150,7 +150,7 @@ Object.keys(_ListNode).forEach(function (key) {
|
|
150
150
|
|
151
151
|
/***/ }),
|
152
152
|
|
153
|
-
/***/
|
153
|
+
/***/ 80355:
|
154
154
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
155
155
|
|
156
156
|
"use strict";
|
@@ -175,7 +175,7 @@ Object.defineProperty(exports, "transformSchema", ({
|
|
175
175
|
|
176
176
|
var _merge2 = _interopRequireDefault(__webpack_require__(13904));
|
177
177
|
|
178
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
178
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
179
179
|
|
180
180
|
var _semver = _interopRequireDefault(__webpack_require__(20962));
|
181
181
|
|
@@ -191,11 +191,11 @@ var _codesmithApiHandlebars = __webpack_require__(12291);
|
|
191
191
|
|
192
192
|
var _easyFormCli = __webpack_require__(62408);
|
193
193
|
|
194
|
-
var _transformSchema = __webpack_require__(
|
194
|
+
var _transformSchema = __webpack_require__(90115);
|
195
195
|
|
196
|
-
var handlers = _interopRequireWildcard(__webpack_require__(
|
196
|
+
var handlers = _interopRequireWildcard(__webpack_require__(96354));
|
197
197
|
|
198
|
-
var _locale = __webpack_require__(
|
198
|
+
var _locale = __webpack_require__(88506);
|
199
199
|
|
200
200
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
201
201
|
|
@@ -232,9 +232,9 @@ class AppAPI {
|
|
232
232
|
return false;
|
233
233
|
}
|
234
234
|
|
235
|
-
if (!(await (0, _codesmithApiNpm.canUseYarn)()) && !(await (0, _codesmithApiNpm.canUsePnpm)())) {
|
236
|
-
this.generatorCore.logger.debug("can't use yarn or pnpm");
|
237
|
-
this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.environment.
|
235
|
+
if (!(await (0, _codesmithApiNpm.canUseYarn)()) && !(await (0, _codesmithApiNpm.canUsePnpm)()) && !(await (0, _codesmithApiNpm.canUseNpm)())) {
|
236
|
+
this.generatorCore.logger.debug("can't use yarn or pnpm or npm");
|
237
|
+
this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.environment.yarn_pnpm_npm));
|
238
238
|
return false;
|
239
239
|
}
|
240
240
|
|
@@ -410,7 +410,7 @@ exports.AppAPI = AppAPI;
|
|
410
410
|
|
411
411
|
/***/ }),
|
412
412
|
|
413
|
-
/***/
|
413
|
+
/***/ 5664:
|
414
414
|
/***/ ((__unused_webpack_module, exports) => {
|
415
415
|
|
416
416
|
"use strict";
|
@@ -424,7 +424,7 @@ const EN_LOCALE = {
|
|
424
424
|
environment: {
|
425
425
|
node_version: 'please upgrade node to lts version',
|
426
426
|
nvm_install: 'please install nvm first',
|
427
|
-
|
427
|
+
yarn_pnpm_npm: 'please install yarn or pnpm or npm first'
|
428
428
|
},
|
429
429
|
install: {
|
430
430
|
failed: 'dependencies install failed, please execute `{command}` to install the dependencies ',
|
@@ -449,7 +449,7 @@ exports.EN_LOCALE = EN_LOCALE;
|
|
449
449
|
|
450
450
|
/***/ }),
|
451
451
|
|
452
|
-
/***/
|
452
|
+
/***/ 88506:
|
453
453
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
454
454
|
|
455
455
|
"use strict";
|
@@ -466,11 +466,11 @@ Object.defineProperty(exports, "I18n", ({
|
|
466
466
|
}));
|
467
467
|
exports.localeKeys = exports.i18n = void 0;
|
468
468
|
|
469
|
-
var _pluginI18n = __webpack_require__(
|
469
|
+
var _pluginI18n = __webpack_require__(54207);
|
470
470
|
|
471
|
-
var _zh = __webpack_require__(
|
471
|
+
var _zh = __webpack_require__(12214);
|
472
472
|
|
473
|
-
var _en = __webpack_require__(
|
473
|
+
var _en = __webpack_require__(5664);
|
474
474
|
|
475
475
|
const i18n = new _pluginI18n.I18n();
|
476
476
|
exports.i18n = i18n;
|
@@ -482,7 +482,7 @@ exports.localeKeys = localeKeys;
|
|
482
482
|
|
483
483
|
/***/ }),
|
484
484
|
|
485
|
-
/***/
|
485
|
+
/***/ 12214:
|
486
486
|
/***/ ((__unused_webpack_module, exports) => {
|
487
487
|
|
488
488
|
"use strict";
|
@@ -496,7 +496,7 @@ const ZH_LOCALE = {
|
|
496
496
|
environment: {
|
497
497
|
node_version: '请升级 Node 版本至 LIS',
|
498
498
|
nvm_install: '检测到环境中未安装 nvm,请先安装 nvm',
|
499
|
-
|
499
|
+
yarn_pnpm_npm: '检测到环境中未安装包管理工具,请先安装 yarn 或 pnpm 或 npm'
|
500
500
|
},
|
501
501
|
install: {
|
502
502
|
failed: '依赖自动安装失败,请手动执行 `{command}` 命令进行安装',
|
@@ -521,7 +521,7 @@ exports.ZH_LOCALE = ZH_LOCALE;
|
|
521
521
|
|
522
522
|
/***/ }),
|
523
523
|
|
524
|
-
/***/
|
524
|
+
/***/ 90115:
|
525
525
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
526
526
|
|
527
527
|
"use strict";
|
@@ -1244,7 +1244,7 @@ var _ora = _interopRequireDefault(__webpack_require__(60483));
|
|
1244
1244
|
|
1245
1245
|
var _chalk = _interopRequireDefault(__webpack_require__(9834));
|
1246
1246
|
|
1247
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
1247
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
1248
1248
|
|
1249
1249
|
var _FsMaterial = __webpack_require__(77410);
|
1250
1250
|
|
@@ -1763,7 +1763,7 @@ exports.FsResource = exports.FS_RESOURCE = void 0;
|
|
1763
1763
|
|
1764
1764
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
1765
1765
|
|
1766
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
1766
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
1767
1767
|
|
1768
1768
|
var _constants = __webpack_require__(97578);
|
1769
1769
|
|
@@ -1891,7 +1891,7 @@ exports.downloadPackage = downloadPackage;
|
|
1891
1891
|
|
1892
1892
|
var _os = _interopRequireDefault(__webpack_require__(22037));
|
1893
1893
|
|
1894
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
1894
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
1895
1895
|
|
1896
1896
|
var _axios = _interopRequireDefault(__webpack_require__(45114));
|
1897
1897
|
|
@@ -2036,7 +2036,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
2036
2036
|
}));
|
2037
2037
|
exports.fsExists = fsExists;
|
2038
2038
|
|
2039
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
2039
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
2040
2040
|
|
2041
2041
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2042
2042
|
|
@@ -2069,7 +2069,7 @@ exports.getGeneratorDir = getGeneratorDir;
|
|
2069
2069
|
|
2070
2070
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
2071
2071
|
|
2072
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
2072
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
2073
2073
|
|
2074
2074
|
var _fsExists = __webpack_require__(88129);
|
2075
2075
|
|
@@ -2381,7 +2381,7 @@ var _path = _interopRequireDefault(__webpack_require__(71017));
|
|
2381
2381
|
|
2382
2382
|
var _execa = _interopRequireDefault(__webpack_require__(16228));
|
2383
2383
|
|
2384
|
-
var _fsExtra = _interopRequireDefault(__webpack_require__(
|
2384
|
+
var _fsExtra = _interopRequireDefault(__webpack_require__(83950));
|
2385
2385
|
|
2386
2386
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2387
2387
|
|
@@ -5581,7 +5581,7 @@ exports.pointer = pointer;
|
|
5581
5581
|
|
5582
5582
|
/***/ }),
|
5583
5583
|
|
5584
|
-
/***/
|
5584
|
+
/***/ 54207:
|
5585
5585
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5586
5586
|
|
5587
5587
|
"use strict";
|
@@ -5594,7 +5594,7 @@ exports.I18n = void 0;
|
|
5594
5594
|
|
5595
5595
|
var _get2 = _interopRequireDefault(__webpack_require__(71189));
|
5596
5596
|
|
5597
|
-
var _utils = __webpack_require__(
|
5597
|
+
var _utils = __webpack_require__(41083);
|
5598
5598
|
|
5599
5599
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5600
5600
|
|
@@ -5663,7 +5663,7 @@ exports.I18n = I18n;
|
|
5663
5663
|
|
5664
5664
|
/***/ }),
|
5665
5665
|
|
5666
|
-
/***/
|
5666
|
+
/***/ 41083:
|
5667
5667
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
5668
5668
|
|
5669
5669
|
"use strict";
|
@@ -27290,7 +27290,7 @@ module.exports.wrap = wrap;
|
|
27290
27290
|
|
27291
27291
|
/***/ }),
|
27292
27292
|
|
27293
|
-
/***/
|
27293
|
+
/***/ 16345:
|
27294
27294
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27295
27295
|
|
27296
27296
|
"use strict";
|
@@ -27298,9 +27298,9 @@ module.exports.wrap = wrap;
|
|
27298
27298
|
|
27299
27299
|
const fs = __webpack_require__(62204)
|
27300
27300
|
const path = __webpack_require__(71017)
|
27301
|
-
const mkdirsSync = (__webpack_require__(
|
27302
|
-
const utimesMillisSync = (__webpack_require__(
|
27303
|
-
const stat = __webpack_require__(
|
27301
|
+
const mkdirsSync = (__webpack_require__(59915).mkdirsSync)
|
27302
|
+
const utimesMillisSync = (__webpack_require__(88962).utimesMillisSync)
|
27303
|
+
const stat = __webpack_require__(12021)
|
27304
27304
|
|
27305
27305
|
function copySync (src, dest, opts) {
|
27306
27306
|
if (typeof opts === 'function') {
|
@@ -27464,20 +27464,7 @@ module.exports = copySync
|
|
27464
27464
|
|
27465
27465
|
/***/ }),
|
27466
27466
|
|
27467
|
-
/***/
|
27468
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27469
|
-
|
27470
|
-
"use strict";
|
27471
|
-
|
27472
|
-
|
27473
|
-
module.exports = {
|
27474
|
-
copySync: __webpack_require__(74714)
|
27475
|
-
}
|
27476
|
-
|
27477
|
-
|
27478
|
-
/***/ }),
|
27479
|
-
|
27480
|
-
/***/ 77544:
|
27467
|
+
/***/ 4266:
|
27481
27468
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27482
27469
|
|
27483
27470
|
"use strict";
|
@@ -27485,10 +27472,10 @@ module.exports = {
|
|
27485
27472
|
|
27486
27473
|
const fs = __webpack_require__(62204)
|
27487
27474
|
const path = __webpack_require__(71017)
|
27488
|
-
const mkdirs = (__webpack_require__(
|
27489
|
-
const pathExists = (__webpack_require__(
|
27490
|
-
const utimesMillis = (__webpack_require__(
|
27491
|
-
const stat = __webpack_require__(
|
27475
|
+
const mkdirs = (__webpack_require__(59915).mkdirs)
|
27476
|
+
const pathExists = (__webpack_require__(9672).pathExists)
|
27477
|
+
const utimesMillis = (__webpack_require__(88962).utimesMillis)
|
27478
|
+
const stat = __webpack_require__(12021)
|
27492
27479
|
|
27493
27480
|
function copy (src, dest, opts, cb) {
|
27494
27481
|
if (typeof opts === 'function' && !cb) {
|
@@ -27717,7 +27704,7 @@ module.exports = copy
|
|
27717
27704
|
|
27718
27705
|
/***/ }),
|
27719
27706
|
|
27720
|
-
/***/
|
27707
|
+
/***/ 1105:
|
27721
27708
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27722
27709
|
|
27723
27710
|
"use strict";
|
@@ -27725,23 +27712,24 @@ module.exports = copy
|
|
27725
27712
|
|
27726
27713
|
const u = (__webpack_require__(84357).fromCallback)
|
27727
27714
|
module.exports = {
|
27728
|
-
copy: u(__webpack_require__(
|
27715
|
+
copy: u(__webpack_require__(4266)),
|
27716
|
+
copySync: __webpack_require__(16345)
|
27729
27717
|
}
|
27730
27718
|
|
27731
27719
|
|
27732
27720
|
/***/ }),
|
27733
27721
|
|
27734
|
-
/***/
|
27722
|
+
/***/ 19102:
|
27735
27723
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27736
27724
|
|
27737
27725
|
"use strict";
|
27738
27726
|
|
27739
27727
|
|
27740
27728
|
const u = (__webpack_require__(84357).fromPromise)
|
27741
|
-
const fs = __webpack_require__(
|
27729
|
+
const fs = __webpack_require__(73664)
|
27742
27730
|
const path = __webpack_require__(71017)
|
27743
|
-
const mkdir = __webpack_require__(
|
27744
|
-
const remove = __webpack_require__(
|
27731
|
+
const mkdir = __webpack_require__(59915)
|
27732
|
+
const remove = __webpack_require__(21133)
|
27745
27733
|
|
27746
27734
|
const emptyDir = u(async function emptyDir (dir) {
|
27747
27735
|
let items
|
@@ -27778,7 +27766,7 @@ module.exports = {
|
|
27778
27766
|
|
27779
27767
|
/***/ }),
|
27780
27768
|
|
27781
|
-
/***/
|
27769
|
+
/***/ 19570:
|
27782
27770
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27783
27771
|
|
27784
27772
|
"use strict";
|
@@ -27787,7 +27775,7 @@ module.exports = {
|
|
27787
27775
|
const u = (__webpack_require__(84357).fromCallback)
|
27788
27776
|
const path = __webpack_require__(71017)
|
27789
27777
|
const fs = __webpack_require__(62204)
|
27790
|
-
const mkdir = __webpack_require__(
|
27778
|
+
const mkdir = __webpack_require__(59915)
|
27791
27779
|
|
27792
27780
|
function createFile (file, callback) {
|
27793
27781
|
function makeFile () {
|
@@ -27855,38 +27843,38 @@ module.exports = {
|
|
27855
27843
|
|
27856
27844
|
/***/ }),
|
27857
27845
|
|
27858
|
-
/***/
|
27846
|
+
/***/ 99793:
|
27859
27847
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27860
27848
|
|
27861
27849
|
"use strict";
|
27862
27850
|
|
27863
27851
|
|
27864
|
-
const
|
27865
|
-
const
|
27866
|
-
const
|
27852
|
+
const { createFile, createFileSync } = __webpack_require__(19570)
|
27853
|
+
const { createLink, createLinkSync } = __webpack_require__(19986)
|
27854
|
+
const { createSymlink, createSymlinkSync } = __webpack_require__(63762)
|
27867
27855
|
|
27868
27856
|
module.exports = {
|
27869
27857
|
// file
|
27870
|
-
createFile
|
27871
|
-
createFileSync
|
27872
|
-
ensureFile:
|
27873
|
-
ensureFileSync:
|
27858
|
+
createFile,
|
27859
|
+
createFileSync,
|
27860
|
+
ensureFile: createFile,
|
27861
|
+
ensureFileSync: createFileSync,
|
27874
27862
|
// link
|
27875
|
-
createLink
|
27876
|
-
createLinkSync
|
27877
|
-
ensureLink:
|
27878
|
-
ensureLinkSync:
|
27863
|
+
createLink,
|
27864
|
+
createLinkSync,
|
27865
|
+
ensureLink: createLink,
|
27866
|
+
ensureLinkSync: createLinkSync,
|
27879
27867
|
// symlink
|
27880
|
-
createSymlink
|
27881
|
-
createSymlinkSync
|
27882
|
-
ensureSymlink:
|
27883
|
-
ensureSymlinkSync:
|
27868
|
+
createSymlink,
|
27869
|
+
createSymlinkSync,
|
27870
|
+
ensureSymlink: createSymlink,
|
27871
|
+
ensureSymlinkSync: createSymlinkSync
|
27884
27872
|
}
|
27885
27873
|
|
27886
27874
|
|
27887
27875
|
/***/ }),
|
27888
27876
|
|
27889
|
-
/***/
|
27877
|
+
/***/ 19986:
|
27890
27878
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27891
27879
|
|
27892
27880
|
"use strict";
|
@@ -27895,9 +27883,9 @@ module.exports = {
|
|
27895
27883
|
const u = (__webpack_require__(84357).fromCallback)
|
27896
27884
|
const path = __webpack_require__(71017)
|
27897
27885
|
const fs = __webpack_require__(62204)
|
27898
|
-
const mkdir = __webpack_require__(
|
27899
|
-
const pathExists = (__webpack_require__(
|
27900
|
-
const { areIdentical } = __webpack_require__(
|
27886
|
+
const mkdir = __webpack_require__(59915)
|
27887
|
+
const pathExists = (__webpack_require__(9672).pathExists)
|
27888
|
+
const { areIdentical } = __webpack_require__(12021)
|
27901
27889
|
|
27902
27890
|
function createLink (srcpath, dstpath, callback) {
|
27903
27891
|
function makeLink (srcpath, dstpath) {
|
@@ -27958,7 +27946,7 @@ module.exports = {
|
|
27958
27946
|
|
27959
27947
|
/***/ }),
|
27960
27948
|
|
27961
|
-
/***/
|
27949
|
+
/***/ 5461:
|
27962
27950
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
27963
27951
|
|
27964
27952
|
"use strict";
|
@@ -27966,7 +27954,7 @@ module.exports = {
|
|
27966
27954
|
|
27967
27955
|
const path = __webpack_require__(71017)
|
27968
27956
|
const fs = __webpack_require__(62204)
|
27969
|
-
const pathExists = (__webpack_require__(
|
27957
|
+
const pathExists = (__webpack_require__(9672).pathExists)
|
27970
27958
|
|
27971
27959
|
/**
|
27972
27960
|
* Function that returns two types of paths, one relative to symlink, and one
|
@@ -28065,7 +28053,7 @@ module.exports = {
|
|
28065
28053
|
|
28066
28054
|
/***/ }),
|
28067
28055
|
|
28068
|
-
/***/
|
28056
|
+
/***/ 95375:
|
28069
28057
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28070
28058
|
|
28071
28059
|
"use strict";
|
@@ -28104,7 +28092,7 @@ module.exports = {
|
|
28104
28092
|
|
28105
28093
|
/***/ }),
|
28106
28094
|
|
28107
|
-
/***/
|
28095
|
+
/***/ 63762:
|
28108
28096
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28109
28097
|
|
28110
28098
|
"use strict";
|
@@ -28112,22 +28100,22 @@ module.exports = {
|
|
28112
28100
|
|
28113
28101
|
const u = (__webpack_require__(84357).fromCallback)
|
28114
28102
|
const path = __webpack_require__(71017)
|
28115
|
-
const fs = __webpack_require__(
|
28116
|
-
const _mkdirs = __webpack_require__(
|
28103
|
+
const fs = __webpack_require__(73664)
|
28104
|
+
const _mkdirs = __webpack_require__(59915)
|
28117
28105
|
const mkdirs = _mkdirs.mkdirs
|
28118
28106
|
const mkdirsSync = _mkdirs.mkdirsSync
|
28119
28107
|
|
28120
|
-
const _symlinkPaths = __webpack_require__(
|
28108
|
+
const _symlinkPaths = __webpack_require__(5461)
|
28121
28109
|
const symlinkPaths = _symlinkPaths.symlinkPaths
|
28122
28110
|
const symlinkPathsSync = _symlinkPaths.symlinkPathsSync
|
28123
28111
|
|
28124
|
-
const _symlinkType = __webpack_require__(
|
28112
|
+
const _symlinkType = __webpack_require__(95375)
|
28125
28113
|
const symlinkType = _symlinkType.symlinkType
|
28126
28114
|
const symlinkTypeSync = _symlinkType.symlinkTypeSync
|
28127
28115
|
|
28128
|
-
const pathExists = (__webpack_require__(
|
28116
|
+
const pathExists = (__webpack_require__(9672).pathExists)
|
28129
28117
|
|
28130
|
-
const { areIdentical } = __webpack_require__(
|
28118
|
+
const { areIdentical } = __webpack_require__(12021)
|
28131
28119
|
|
28132
28120
|
function createSymlink (srcpath, dstpath, type, callback) {
|
28133
28121
|
callback = (typeof type === 'function') ? type : callback
|
@@ -28194,7 +28182,7 @@ module.exports = {
|
|
28194
28182
|
|
28195
28183
|
/***/ }),
|
28196
28184
|
|
28197
|
-
/***/
|
28185
|
+
/***/ 73664:
|
28198
28186
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
28199
28187
|
|
28200
28188
|
"use strict";
|
@@ -28321,7 +28309,7 @@ if (typeof fs.writev === 'function') {
|
|
28321
28309
|
|
28322
28310
|
/***/ }),
|
28323
28311
|
|
28324
|
-
/***/
|
28312
|
+
/***/ 83950:
|
28325
28313
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28326
28314
|
|
28327
28315
|
"use strict";
|
@@ -28329,35 +28317,33 @@ if (typeof fs.writev === 'function') {
|
|
28329
28317
|
|
28330
28318
|
module.exports = {
|
28331
28319
|
// Export promiseified graceful-fs:
|
28332
|
-
...__webpack_require__(
|
28320
|
+
...__webpack_require__(73664),
|
28333
28321
|
// Export extra methods:
|
28334
|
-
...__webpack_require__(
|
28335
|
-
...__webpack_require__(
|
28336
|
-
...__webpack_require__(
|
28337
|
-
...__webpack_require__(
|
28338
|
-
...__webpack_require__(
|
28339
|
-
...__webpack_require__(
|
28340
|
-
...__webpack_require__(
|
28341
|
-
...__webpack_require__(
|
28342
|
-
...__webpack_require__(
|
28343
|
-
...__webpack_require__(84906),
|
28344
|
-
...__webpack_require__(13490)
|
28322
|
+
...__webpack_require__(1105),
|
28323
|
+
...__webpack_require__(19102),
|
28324
|
+
...__webpack_require__(99793),
|
28325
|
+
...__webpack_require__(37557),
|
28326
|
+
...__webpack_require__(59915),
|
28327
|
+
...__webpack_require__(14449),
|
28328
|
+
...__webpack_require__(65889),
|
28329
|
+
...__webpack_require__(9672),
|
28330
|
+
...__webpack_require__(21133)
|
28345
28331
|
}
|
28346
28332
|
|
28347
28333
|
|
28348
28334
|
/***/ }),
|
28349
28335
|
|
28350
|
-
/***/
|
28336
|
+
/***/ 37557:
|
28351
28337
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28352
28338
|
|
28353
28339
|
"use strict";
|
28354
28340
|
|
28355
28341
|
|
28356
28342
|
const u = (__webpack_require__(84357).fromPromise)
|
28357
|
-
const jsonFile = __webpack_require__(
|
28343
|
+
const jsonFile = __webpack_require__(42915)
|
28358
28344
|
|
28359
|
-
jsonFile.outputJson = u(__webpack_require__(
|
28360
|
-
jsonFile.outputJsonSync = __webpack_require__(
|
28345
|
+
jsonFile.outputJson = u(__webpack_require__(87482))
|
28346
|
+
jsonFile.outputJsonSync = __webpack_require__(48467)
|
28361
28347
|
// aliases
|
28362
28348
|
jsonFile.outputJSON = jsonFile.outputJson
|
28363
28349
|
jsonFile.outputJSONSync = jsonFile.outputJsonSync
|
@@ -28371,7 +28357,7 @@ module.exports = jsonFile
|
|
28371
28357
|
|
28372
28358
|
/***/ }),
|
28373
28359
|
|
28374
|
-
/***/
|
28360
|
+
/***/ 42915:
|
28375
28361
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28376
28362
|
|
28377
28363
|
"use strict";
|
@@ -28390,14 +28376,14 @@ module.exports = {
|
|
28390
28376
|
|
28391
28377
|
/***/ }),
|
28392
28378
|
|
28393
|
-
/***/
|
28379
|
+
/***/ 48467:
|
28394
28380
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28395
28381
|
|
28396
28382
|
"use strict";
|
28397
28383
|
|
28398
28384
|
|
28399
28385
|
const { stringify } = __webpack_require__(27546)
|
28400
|
-
const { outputFileSync } = __webpack_require__(
|
28386
|
+
const { outputFileSync } = __webpack_require__(65889)
|
28401
28387
|
|
28402
28388
|
function outputJsonSync (file, data, options) {
|
28403
28389
|
const str = stringify(data, options)
|
@@ -28410,14 +28396,14 @@ module.exports = outputJsonSync
|
|
28410
28396
|
|
28411
28397
|
/***/ }),
|
28412
28398
|
|
28413
|
-
/***/
|
28399
|
+
/***/ 87482:
|
28414
28400
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28415
28401
|
|
28416
28402
|
"use strict";
|
28417
28403
|
|
28418
28404
|
|
28419
28405
|
const { stringify } = __webpack_require__(27546)
|
28420
|
-
const { outputFile } = __webpack_require__(
|
28406
|
+
const { outputFile } = __webpack_require__(65889)
|
28421
28407
|
|
28422
28408
|
async function outputJson (file, data, options = {}) {
|
28423
28409
|
const str = stringify(data, options)
|
@@ -28430,13 +28416,13 @@ module.exports = outputJson
|
|
28430
28416
|
|
28431
28417
|
/***/ }),
|
28432
28418
|
|
28433
|
-
/***/
|
28419
|
+
/***/ 59915:
|
28434
28420
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28435
28421
|
|
28436
28422
|
"use strict";
|
28437
28423
|
|
28438
28424
|
const u = (__webpack_require__(84357).fromPromise)
|
28439
|
-
const { makeDir: _makeDir, makeDirSync } = __webpack_require__(
|
28425
|
+
const { makeDir: _makeDir, makeDirSync } = __webpack_require__(15602)
|
28440
28426
|
const makeDir = u(_makeDir)
|
28441
28427
|
|
28442
28428
|
module.exports = {
|
@@ -28452,13 +28438,13 @@ module.exports = {
|
|
28452
28438
|
|
28453
28439
|
/***/ }),
|
28454
28440
|
|
28455
|
-
/***/
|
28441
|
+
/***/ 15602:
|
28456
28442
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28457
28443
|
|
28458
28444
|
"use strict";
|
28459
28445
|
|
28460
|
-
const fs = __webpack_require__(
|
28461
|
-
const { checkPath } = __webpack_require__(
|
28446
|
+
const fs = __webpack_require__(73664)
|
28447
|
+
const { checkPath } = __webpack_require__(92751)
|
28462
28448
|
|
28463
28449
|
const getMode = options => {
|
28464
28450
|
const defaults = { mode: 0o777 }
|
@@ -28487,7 +28473,7 @@ module.exports.makeDirSync = (dir, options) => {
|
|
28487
28473
|
|
28488
28474
|
/***/ }),
|
28489
28475
|
|
28490
|
-
/***/
|
28476
|
+
/***/ 92751:
|
28491
28477
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28492
28478
|
|
28493
28479
|
"use strict";
|
@@ -28516,20 +28502,22 @@ module.exports.checkPath = function checkPath (pth) {
|
|
28516
28502
|
|
28517
28503
|
/***/ }),
|
28518
28504
|
|
28519
|
-
/***/
|
28505
|
+
/***/ 14449:
|
28520
28506
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28521
28507
|
|
28522
28508
|
"use strict";
|
28523
28509
|
|
28524
28510
|
|
28511
|
+
const u = (__webpack_require__(84357).fromCallback)
|
28525
28512
|
module.exports = {
|
28526
|
-
|
28513
|
+
move: u(__webpack_require__(10000)),
|
28514
|
+
moveSync: __webpack_require__(40665)
|
28527
28515
|
}
|
28528
28516
|
|
28529
28517
|
|
28530
28518
|
/***/ }),
|
28531
28519
|
|
28532
|
-
/***/
|
28520
|
+
/***/ 40665:
|
28533
28521
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28534
28522
|
|
28535
28523
|
"use strict";
|
@@ -28537,10 +28525,10 @@ module.exports = {
|
|
28537
28525
|
|
28538
28526
|
const fs = __webpack_require__(62204)
|
28539
28527
|
const path = __webpack_require__(71017)
|
28540
|
-
const copySync = (__webpack_require__(
|
28541
|
-
const removeSync = (__webpack_require__(
|
28542
|
-
const mkdirpSync = (__webpack_require__(
|
28543
|
-
const stat = __webpack_require__(
|
28528
|
+
const copySync = (__webpack_require__(1105).copySync)
|
28529
|
+
const removeSync = (__webpack_require__(21133).removeSync)
|
28530
|
+
const mkdirpSync = (__webpack_require__(59915).mkdirpSync)
|
28531
|
+
const stat = __webpack_require__(12021)
|
28544
28532
|
|
28545
28533
|
function moveSync (src, dest, opts) {
|
28546
28534
|
opts = opts || {}
|
@@ -28591,21 +28579,7 @@ module.exports = moveSync
|
|
28591
28579
|
|
28592
28580
|
/***/ }),
|
28593
28581
|
|
28594
|
-
/***/
|
28595
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28596
|
-
|
28597
|
-
"use strict";
|
28598
|
-
|
28599
|
-
|
28600
|
-
const u = (__webpack_require__(84357).fromCallback)
|
28601
|
-
module.exports = {
|
28602
|
-
move: u(__webpack_require__(69071))
|
28603
|
-
}
|
28604
|
-
|
28605
|
-
|
28606
|
-
/***/ }),
|
28607
|
-
|
28608
|
-
/***/ 69071:
|
28582
|
+
/***/ 10000:
|
28609
28583
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28610
28584
|
|
28611
28585
|
"use strict";
|
@@ -28613,11 +28587,11 @@ module.exports = {
|
|
28613
28587
|
|
28614
28588
|
const fs = __webpack_require__(62204)
|
28615
28589
|
const path = __webpack_require__(71017)
|
28616
|
-
const copy = (__webpack_require__(
|
28617
|
-
const remove = (__webpack_require__(
|
28618
|
-
const mkdirp = (__webpack_require__(
|
28619
|
-
const pathExists = (__webpack_require__(
|
28620
|
-
const stat = __webpack_require__(
|
28590
|
+
const copy = (__webpack_require__(1105).copy)
|
28591
|
+
const remove = (__webpack_require__(21133).remove)
|
28592
|
+
const mkdirp = (__webpack_require__(59915).mkdirp)
|
28593
|
+
const pathExists = (__webpack_require__(9672).pathExists)
|
28594
|
+
const stat = __webpack_require__(12021)
|
28621
28595
|
|
28622
28596
|
function move (src, dest, opts, cb) {
|
28623
28597
|
if (typeof opts === 'function') {
|
@@ -28686,7 +28660,7 @@ module.exports = move
|
|
28686
28660
|
|
28687
28661
|
/***/ }),
|
28688
28662
|
|
28689
|
-
/***/
|
28663
|
+
/***/ 65889:
|
28690
28664
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28691
28665
|
|
28692
28666
|
"use strict";
|
@@ -28695,8 +28669,8 @@ module.exports = move
|
|
28695
28669
|
const u = (__webpack_require__(84357).fromCallback)
|
28696
28670
|
const fs = __webpack_require__(62204)
|
28697
28671
|
const path = __webpack_require__(71017)
|
28698
|
-
const mkdir = __webpack_require__(
|
28699
|
-
const pathExists = (__webpack_require__(
|
28672
|
+
const mkdir = __webpack_require__(59915)
|
28673
|
+
const pathExists = (__webpack_require__(9672).pathExists)
|
28700
28674
|
|
28701
28675
|
function outputFile (file, data, encoding, callback) {
|
28702
28676
|
if (typeof encoding === 'function') {
|
@@ -28734,13 +28708,13 @@ module.exports = {
|
|
28734
28708
|
|
28735
28709
|
/***/ }),
|
28736
28710
|
|
28737
|
-
/***/
|
28711
|
+
/***/ 9672:
|
28738
28712
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28739
28713
|
|
28740
28714
|
"use strict";
|
28741
28715
|
|
28742
28716
|
const u = (__webpack_require__(84357).fromPromise)
|
28743
|
-
const fs = __webpack_require__(
|
28717
|
+
const fs = __webpack_require__(73664)
|
28744
28718
|
|
28745
28719
|
function pathExists (path) {
|
28746
28720
|
return fs.access(path).then(() => true).catch(() => false)
|
@@ -28754,7 +28728,7 @@ module.exports = {
|
|
28754
28728
|
|
28755
28729
|
/***/ }),
|
28756
28730
|
|
28757
|
-
/***/
|
28731
|
+
/***/ 21133:
|
28758
28732
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28759
28733
|
|
28760
28734
|
"use strict";
|
@@ -28762,7 +28736,7 @@ module.exports = {
|
|
28762
28736
|
|
28763
28737
|
const fs = __webpack_require__(62204)
|
28764
28738
|
const u = (__webpack_require__(84357).fromCallback)
|
28765
|
-
const rimraf = __webpack_require__(
|
28739
|
+
const rimraf = __webpack_require__(58088)
|
28766
28740
|
|
28767
28741
|
function remove (path, callback) {
|
28768
28742
|
// Node 14.14.0+
|
@@ -28784,7 +28758,7 @@ module.exports = {
|
|
28784
28758
|
|
28785
28759
|
/***/ }),
|
28786
28760
|
|
28787
|
-
/***/
|
28761
|
+
/***/ 58088:
|
28788
28762
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
28789
28763
|
|
28790
28764
|
"use strict";
|
@@ -29094,13 +29068,13 @@ rimraf.sync = rimrafSync
|
|
29094
29068
|
|
29095
29069
|
/***/ }),
|
29096
29070
|
|
29097
|
-
/***/
|
29071
|
+
/***/ 12021:
|
29098
29072
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
29099
29073
|
|
29100
29074
|
"use strict";
|
29101
29075
|
|
29102
29076
|
|
29103
|
-
const fs = __webpack_require__(
|
29077
|
+
const fs = __webpack_require__(73664)
|
29104
29078
|
const path = __webpack_require__(71017)
|
29105
29079
|
const util = __webpack_require__(73837)
|
29106
29080
|
|
@@ -29256,7 +29230,7 @@ module.exports = {
|
|
29256
29230
|
|
29257
29231
|
/***/ }),
|
29258
29232
|
|
29259
|
-
/***/
|
29233
|
+
/***/ 88962:
|
29260
29234
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
29261
29235
|
|
29262
29236
|
"use strict";
|
@@ -35656,6 +35630,953 @@ function patch (fs) {
|
|
35656
35630
|
}
|
35657
35631
|
|
35658
35632
|
|
35633
|
+
/***/ }),
|
35634
|
+
|
35635
|
+
/***/ 83584:
|
35636
|
+
/***/ ((module) => {
|
35637
|
+
|
35638
|
+
"use strict";
|
35639
|
+
|
35640
|
+
|
35641
|
+
module.exports = clone
|
35642
|
+
|
35643
|
+
var getPrototypeOf = Object.getPrototypeOf || function (obj) {
|
35644
|
+
return obj.__proto__
|
35645
|
+
}
|
35646
|
+
|
35647
|
+
function clone (obj) {
|
35648
|
+
if (obj === null || typeof obj !== 'object')
|
35649
|
+
return obj
|
35650
|
+
|
35651
|
+
if (obj instanceof Object)
|
35652
|
+
var copy = { __proto__: getPrototypeOf(obj) }
|
35653
|
+
else
|
35654
|
+
var copy = Object.create(null)
|
35655
|
+
|
35656
|
+
Object.getOwnPropertyNames(obj).forEach(function (key) {
|
35657
|
+
Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))
|
35658
|
+
})
|
35659
|
+
|
35660
|
+
return copy
|
35661
|
+
}
|
35662
|
+
|
35663
|
+
|
35664
|
+
/***/ }),
|
35665
|
+
|
35666
|
+
/***/ 19677:
|
35667
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
35668
|
+
|
35669
|
+
var fs = __webpack_require__(57147)
|
35670
|
+
var polyfills = __webpack_require__(18187)
|
35671
|
+
var legacy = __webpack_require__(15601)
|
35672
|
+
var clone = __webpack_require__(83584)
|
35673
|
+
|
35674
|
+
var util = __webpack_require__(73837)
|
35675
|
+
|
35676
|
+
/* istanbul ignore next - node 0.x polyfill */
|
35677
|
+
var gracefulQueue
|
35678
|
+
var previousSymbol
|
35679
|
+
|
35680
|
+
/* istanbul ignore else - node 0.x polyfill */
|
35681
|
+
if (typeof Symbol === 'function' && typeof Symbol.for === 'function') {
|
35682
|
+
gracefulQueue = Symbol.for('graceful-fs.queue')
|
35683
|
+
// This is used in testing by future versions
|
35684
|
+
previousSymbol = Symbol.for('graceful-fs.previous')
|
35685
|
+
} else {
|
35686
|
+
gracefulQueue = '___graceful-fs.queue'
|
35687
|
+
previousSymbol = '___graceful-fs.previous'
|
35688
|
+
}
|
35689
|
+
|
35690
|
+
function noop () {}
|
35691
|
+
|
35692
|
+
function publishQueue(context, queue) {
|
35693
|
+
Object.defineProperty(context, gracefulQueue, {
|
35694
|
+
get: function() {
|
35695
|
+
return queue
|
35696
|
+
}
|
35697
|
+
})
|
35698
|
+
}
|
35699
|
+
|
35700
|
+
var debug = noop
|
35701
|
+
if (util.debuglog)
|
35702
|
+
debug = util.debuglog('gfs4')
|
35703
|
+
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ''))
|
35704
|
+
debug = function() {
|
35705
|
+
var m = util.format.apply(util, arguments)
|
35706
|
+
m = 'GFS4: ' + m.split(/\n/).join('\nGFS4: ')
|
35707
|
+
console.error(m)
|
35708
|
+
}
|
35709
|
+
|
35710
|
+
// Once time initialization
|
35711
|
+
if (!fs[gracefulQueue]) {
|
35712
|
+
// This queue can be shared by multiple loaded instances
|
35713
|
+
var queue = global[gracefulQueue] || []
|
35714
|
+
publishQueue(fs, queue)
|
35715
|
+
|
35716
|
+
// Patch fs.close/closeSync to shared queue version, because we need
|
35717
|
+
// to retry() whenever a close happens *anywhere* in the program.
|
35718
|
+
// This is essential when multiple graceful-fs instances are
|
35719
|
+
// in play at the same time.
|
35720
|
+
fs.close = (function (fs$close) {
|
35721
|
+
function close (fd, cb) {
|
35722
|
+
return fs$close.call(fs, fd, function (err) {
|
35723
|
+
// This function uses the graceful-fs shared queue
|
35724
|
+
if (!err) {
|
35725
|
+
resetQueue()
|
35726
|
+
}
|
35727
|
+
|
35728
|
+
if (typeof cb === 'function')
|
35729
|
+
cb.apply(this, arguments)
|
35730
|
+
})
|
35731
|
+
}
|
35732
|
+
|
35733
|
+
Object.defineProperty(close, previousSymbol, {
|
35734
|
+
value: fs$close
|
35735
|
+
})
|
35736
|
+
return close
|
35737
|
+
})(fs.close)
|
35738
|
+
|
35739
|
+
fs.closeSync = (function (fs$closeSync) {
|
35740
|
+
function closeSync (fd) {
|
35741
|
+
// This function uses the graceful-fs shared queue
|
35742
|
+
fs$closeSync.apply(fs, arguments)
|
35743
|
+
resetQueue()
|
35744
|
+
}
|
35745
|
+
|
35746
|
+
Object.defineProperty(closeSync, previousSymbol, {
|
35747
|
+
value: fs$closeSync
|
35748
|
+
})
|
35749
|
+
return closeSync
|
35750
|
+
})(fs.closeSync)
|
35751
|
+
|
35752
|
+
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) {
|
35753
|
+
process.on('exit', function() {
|
35754
|
+
debug(fs[gracefulQueue])
|
35755
|
+
__webpack_require__(39491).equal(fs[gracefulQueue].length, 0)
|
35756
|
+
})
|
35757
|
+
}
|
35758
|
+
}
|
35759
|
+
|
35760
|
+
if (!global[gracefulQueue]) {
|
35761
|
+
publishQueue(global, fs[gracefulQueue]);
|
35762
|
+
}
|
35763
|
+
|
35764
|
+
module.exports = patch(clone(fs))
|
35765
|
+
if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
|
35766
|
+
module.exports = patch(fs)
|
35767
|
+
fs.__patched = true;
|
35768
|
+
}
|
35769
|
+
|
35770
|
+
function patch (fs) {
|
35771
|
+
// Everything that references the open() function needs to be in here
|
35772
|
+
polyfills(fs)
|
35773
|
+
fs.gracefulify = patch
|
35774
|
+
|
35775
|
+
fs.createReadStream = createReadStream
|
35776
|
+
fs.createWriteStream = createWriteStream
|
35777
|
+
var fs$readFile = fs.readFile
|
35778
|
+
fs.readFile = readFile
|
35779
|
+
function readFile (path, options, cb) {
|
35780
|
+
if (typeof options === 'function')
|
35781
|
+
cb = options, options = null
|
35782
|
+
|
35783
|
+
return go$readFile(path, options, cb)
|
35784
|
+
|
35785
|
+
function go$readFile (path, options, cb, startTime) {
|
35786
|
+
return fs$readFile(path, options, function (err) {
|
35787
|
+
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
35788
|
+
enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])
|
35789
|
+
else {
|
35790
|
+
if (typeof cb === 'function')
|
35791
|
+
cb.apply(this, arguments)
|
35792
|
+
}
|
35793
|
+
})
|
35794
|
+
}
|
35795
|
+
}
|
35796
|
+
|
35797
|
+
var fs$writeFile = fs.writeFile
|
35798
|
+
fs.writeFile = writeFile
|
35799
|
+
function writeFile (path, data, options, cb) {
|
35800
|
+
if (typeof options === 'function')
|
35801
|
+
cb = options, options = null
|
35802
|
+
|
35803
|
+
return go$writeFile(path, data, options, cb)
|
35804
|
+
|
35805
|
+
function go$writeFile (path, data, options, cb, startTime) {
|
35806
|
+
return fs$writeFile(path, data, options, function (err) {
|
35807
|
+
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
35808
|
+
enqueue([go$writeFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
|
35809
|
+
else {
|
35810
|
+
if (typeof cb === 'function')
|
35811
|
+
cb.apply(this, arguments)
|
35812
|
+
}
|
35813
|
+
})
|
35814
|
+
}
|
35815
|
+
}
|
35816
|
+
|
35817
|
+
var fs$appendFile = fs.appendFile
|
35818
|
+
if (fs$appendFile)
|
35819
|
+
fs.appendFile = appendFile
|
35820
|
+
function appendFile (path, data, options, cb) {
|
35821
|
+
if (typeof options === 'function')
|
35822
|
+
cb = options, options = null
|
35823
|
+
|
35824
|
+
return go$appendFile(path, data, options, cb)
|
35825
|
+
|
35826
|
+
function go$appendFile (path, data, options, cb, startTime) {
|
35827
|
+
return fs$appendFile(path, data, options, function (err) {
|
35828
|
+
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
35829
|
+
enqueue([go$appendFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
|
35830
|
+
else {
|
35831
|
+
if (typeof cb === 'function')
|
35832
|
+
cb.apply(this, arguments)
|
35833
|
+
}
|
35834
|
+
})
|
35835
|
+
}
|
35836
|
+
}
|
35837
|
+
|
35838
|
+
var fs$copyFile = fs.copyFile
|
35839
|
+
if (fs$copyFile)
|
35840
|
+
fs.copyFile = copyFile
|
35841
|
+
function copyFile (src, dest, flags, cb) {
|
35842
|
+
if (typeof flags === 'function') {
|
35843
|
+
cb = flags
|
35844
|
+
flags = 0
|
35845
|
+
}
|
35846
|
+
return go$copyFile(src, dest, flags, cb)
|
35847
|
+
|
35848
|
+
function go$copyFile (src, dest, flags, cb, startTime) {
|
35849
|
+
return fs$copyFile(src, dest, flags, function (err) {
|
35850
|
+
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
35851
|
+
enqueue([go$copyFile, [src, dest, flags, cb], err, startTime || Date.now(), Date.now()])
|
35852
|
+
else {
|
35853
|
+
if (typeof cb === 'function')
|
35854
|
+
cb.apply(this, arguments)
|
35855
|
+
}
|
35856
|
+
})
|
35857
|
+
}
|
35858
|
+
}
|
35859
|
+
|
35860
|
+
var fs$readdir = fs.readdir
|
35861
|
+
fs.readdir = readdir
|
35862
|
+
function readdir (path, options, cb) {
|
35863
|
+
if (typeof options === 'function')
|
35864
|
+
cb = options, options = null
|
35865
|
+
|
35866
|
+
return go$readdir(path, options, cb)
|
35867
|
+
|
35868
|
+
function go$readdir (path, options, cb, startTime) {
|
35869
|
+
return fs$readdir(path, options, function (err, files) {
|
35870
|
+
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
35871
|
+
enqueue([go$readdir, [path, options, cb], err, startTime || Date.now(), Date.now()])
|
35872
|
+
else {
|
35873
|
+
if (files && files.sort)
|
35874
|
+
files.sort()
|
35875
|
+
|
35876
|
+
if (typeof cb === 'function')
|
35877
|
+
cb.call(this, err, files)
|
35878
|
+
}
|
35879
|
+
})
|
35880
|
+
}
|
35881
|
+
}
|
35882
|
+
|
35883
|
+
if (process.version.substr(0, 4) === 'v0.8') {
|
35884
|
+
var legStreams = legacy(fs)
|
35885
|
+
ReadStream = legStreams.ReadStream
|
35886
|
+
WriteStream = legStreams.WriteStream
|
35887
|
+
}
|
35888
|
+
|
35889
|
+
var fs$ReadStream = fs.ReadStream
|
35890
|
+
if (fs$ReadStream) {
|
35891
|
+
ReadStream.prototype = Object.create(fs$ReadStream.prototype)
|
35892
|
+
ReadStream.prototype.open = ReadStream$open
|
35893
|
+
}
|
35894
|
+
|
35895
|
+
var fs$WriteStream = fs.WriteStream
|
35896
|
+
if (fs$WriteStream) {
|
35897
|
+
WriteStream.prototype = Object.create(fs$WriteStream.prototype)
|
35898
|
+
WriteStream.prototype.open = WriteStream$open
|
35899
|
+
}
|
35900
|
+
|
35901
|
+
Object.defineProperty(fs, 'ReadStream', {
|
35902
|
+
get: function () {
|
35903
|
+
return ReadStream
|
35904
|
+
},
|
35905
|
+
set: function (val) {
|
35906
|
+
ReadStream = val
|
35907
|
+
},
|
35908
|
+
enumerable: true,
|
35909
|
+
configurable: true
|
35910
|
+
})
|
35911
|
+
Object.defineProperty(fs, 'WriteStream', {
|
35912
|
+
get: function () {
|
35913
|
+
return WriteStream
|
35914
|
+
},
|
35915
|
+
set: function (val) {
|
35916
|
+
WriteStream = val
|
35917
|
+
},
|
35918
|
+
enumerable: true,
|
35919
|
+
configurable: true
|
35920
|
+
})
|
35921
|
+
|
35922
|
+
// legacy names
|
35923
|
+
var FileReadStream = ReadStream
|
35924
|
+
Object.defineProperty(fs, 'FileReadStream', {
|
35925
|
+
get: function () {
|
35926
|
+
return FileReadStream
|
35927
|
+
},
|
35928
|
+
set: function (val) {
|
35929
|
+
FileReadStream = val
|
35930
|
+
},
|
35931
|
+
enumerable: true,
|
35932
|
+
configurable: true
|
35933
|
+
})
|
35934
|
+
var FileWriteStream = WriteStream
|
35935
|
+
Object.defineProperty(fs, 'FileWriteStream', {
|
35936
|
+
get: function () {
|
35937
|
+
return FileWriteStream
|
35938
|
+
},
|
35939
|
+
set: function (val) {
|
35940
|
+
FileWriteStream = val
|
35941
|
+
},
|
35942
|
+
enumerable: true,
|
35943
|
+
configurable: true
|
35944
|
+
})
|
35945
|
+
|
35946
|
+
function ReadStream (path, options) {
|
35947
|
+
if (this instanceof ReadStream)
|
35948
|
+
return fs$ReadStream.apply(this, arguments), this
|
35949
|
+
else
|
35950
|
+
return ReadStream.apply(Object.create(ReadStream.prototype), arguments)
|
35951
|
+
}
|
35952
|
+
|
35953
|
+
function ReadStream$open () {
|
35954
|
+
var that = this
|
35955
|
+
open(that.path, that.flags, that.mode, function (err, fd) {
|
35956
|
+
if (err) {
|
35957
|
+
if (that.autoClose)
|
35958
|
+
that.destroy()
|
35959
|
+
|
35960
|
+
that.emit('error', err)
|
35961
|
+
} else {
|
35962
|
+
that.fd = fd
|
35963
|
+
that.emit('open', fd)
|
35964
|
+
that.read()
|
35965
|
+
}
|
35966
|
+
})
|
35967
|
+
}
|
35968
|
+
|
35969
|
+
function WriteStream (path, options) {
|
35970
|
+
if (this instanceof WriteStream)
|
35971
|
+
return fs$WriteStream.apply(this, arguments), this
|
35972
|
+
else
|
35973
|
+
return WriteStream.apply(Object.create(WriteStream.prototype), arguments)
|
35974
|
+
}
|
35975
|
+
|
35976
|
+
function WriteStream$open () {
|
35977
|
+
var that = this
|
35978
|
+
open(that.path, that.flags, that.mode, function (err, fd) {
|
35979
|
+
if (err) {
|
35980
|
+
that.destroy()
|
35981
|
+
that.emit('error', err)
|
35982
|
+
} else {
|
35983
|
+
that.fd = fd
|
35984
|
+
that.emit('open', fd)
|
35985
|
+
}
|
35986
|
+
})
|
35987
|
+
}
|
35988
|
+
|
35989
|
+
function createReadStream (path, options) {
|
35990
|
+
return new fs.ReadStream(path, options)
|
35991
|
+
}
|
35992
|
+
|
35993
|
+
function createWriteStream (path, options) {
|
35994
|
+
return new fs.WriteStream(path, options)
|
35995
|
+
}
|
35996
|
+
|
35997
|
+
var fs$open = fs.open
|
35998
|
+
fs.open = open
|
35999
|
+
function open (path, flags, mode, cb) {
|
36000
|
+
if (typeof mode === 'function')
|
36001
|
+
cb = mode, mode = null
|
36002
|
+
|
36003
|
+
return go$open(path, flags, mode, cb)
|
36004
|
+
|
36005
|
+
function go$open (path, flags, mode, cb, startTime) {
|
36006
|
+
return fs$open(path, flags, mode, function (err, fd) {
|
36007
|
+
if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
|
36008
|
+
enqueue([go$open, [path, flags, mode, cb], err, startTime || Date.now(), Date.now()])
|
36009
|
+
else {
|
36010
|
+
if (typeof cb === 'function')
|
36011
|
+
cb.apply(this, arguments)
|
36012
|
+
}
|
36013
|
+
})
|
36014
|
+
}
|
36015
|
+
}
|
36016
|
+
|
36017
|
+
return fs
|
36018
|
+
}
|
36019
|
+
|
36020
|
+
function enqueue (elem) {
|
36021
|
+
debug('ENQUEUE', elem[0].name, elem[1])
|
36022
|
+
fs[gracefulQueue].push(elem)
|
36023
|
+
retry()
|
36024
|
+
}
|
36025
|
+
|
36026
|
+
// keep track of the timeout between retry() calls
|
36027
|
+
var retryTimer
|
36028
|
+
|
36029
|
+
// reset the startTime and lastTime to now
|
36030
|
+
// this resets the start of the 60 second overall timeout as well as the
|
36031
|
+
// delay between attempts so that we'll retry these jobs sooner
|
36032
|
+
function resetQueue () {
|
36033
|
+
var now = Date.now()
|
36034
|
+
for (var i = 0; i < fs[gracefulQueue].length; ++i) {
|
36035
|
+
// entries that are only a length of 2 are from an older version, don't
|
36036
|
+
// bother modifying those since they'll be retried anyway.
|
36037
|
+
if (fs[gracefulQueue][i].length > 2) {
|
36038
|
+
fs[gracefulQueue][i][3] = now // startTime
|
36039
|
+
fs[gracefulQueue][i][4] = now // lastTime
|
36040
|
+
}
|
36041
|
+
}
|
36042
|
+
// call retry to make sure we're actively processing the queue
|
36043
|
+
retry()
|
36044
|
+
}
|
36045
|
+
|
36046
|
+
function retry () {
|
36047
|
+
// clear the timer and remove it to help prevent unintended concurrency
|
36048
|
+
clearTimeout(retryTimer)
|
36049
|
+
retryTimer = undefined
|
36050
|
+
|
36051
|
+
if (fs[gracefulQueue].length === 0)
|
36052
|
+
return
|
36053
|
+
|
36054
|
+
var elem = fs[gracefulQueue].shift()
|
36055
|
+
var fn = elem[0]
|
36056
|
+
var args = elem[1]
|
36057
|
+
// these items may be unset if they were added by an older graceful-fs
|
36058
|
+
var err = elem[2]
|
36059
|
+
var startTime = elem[3]
|
36060
|
+
var lastTime = elem[4]
|
36061
|
+
|
36062
|
+
// if we don't have a startTime we have no way of knowing if we've waited
|
36063
|
+
// long enough, so go ahead and retry this item now
|
36064
|
+
if (startTime === undefined) {
|
36065
|
+
debug('RETRY', fn.name, args)
|
36066
|
+
fn.apply(null, args)
|
36067
|
+
} else if (Date.now() - startTime >= 60000) {
|
36068
|
+
// it's been more than 60 seconds total, bail now
|
36069
|
+
debug('TIMEOUT', fn.name, args)
|
36070
|
+
var cb = args.pop()
|
36071
|
+
if (typeof cb === 'function')
|
36072
|
+
cb.call(null, err)
|
36073
|
+
} else {
|
36074
|
+
// the amount of time between the last attempt and right now
|
36075
|
+
var sinceAttempt = Date.now() - lastTime
|
36076
|
+
// the amount of time between when we first tried, and when we last tried
|
36077
|
+
// rounded up to at least 1
|
36078
|
+
var sinceStart = Math.max(lastTime - startTime, 1)
|
36079
|
+
// backoff. wait longer than the total time we've been retrying, but only
|
36080
|
+
// up to a maximum of 100ms
|
36081
|
+
var desiredDelay = Math.min(sinceStart * 1.2, 100)
|
36082
|
+
// it's been long enough since the last retry, do it again
|
36083
|
+
if (sinceAttempt >= desiredDelay) {
|
36084
|
+
debug('RETRY', fn.name, args)
|
36085
|
+
fn.apply(null, args.concat([startTime]))
|
36086
|
+
} else {
|
36087
|
+
// if we can't do this job yet, push it to the end of the queue
|
36088
|
+
// and let the next iteration check again
|
36089
|
+
fs[gracefulQueue].push(elem)
|
36090
|
+
}
|
36091
|
+
}
|
36092
|
+
|
36093
|
+
// schedule our next run if one isn't already scheduled
|
36094
|
+
if (retryTimer === undefined) {
|
36095
|
+
retryTimer = setTimeout(retry, 0)
|
36096
|
+
}
|
36097
|
+
}
|
36098
|
+
|
36099
|
+
|
36100
|
+
/***/ }),
|
36101
|
+
|
36102
|
+
/***/ 15601:
|
36103
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
36104
|
+
|
36105
|
+
var Stream = (__webpack_require__(12781).Stream)
|
36106
|
+
|
36107
|
+
module.exports = legacy
|
36108
|
+
|
36109
|
+
function legacy (fs) {
|
36110
|
+
return {
|
36111
|
+
ReadStream: ReadStream,
|
36112
|
+
WriteStream: WriteStream
|
36113
|
+
}
|
36114
|
+
|
36115
|
+
function ReadStream (path, options) {
|
36116
|
+
if (!(this instanceof ReadStream)) return new ReadStream(path, options);
|
36117
|
+
|
36118
|
+
Stream.call(this);
|
36119
|
+
|
36120
|
+
var self = this;
|
36121
|
+
|
36122
|
+
this.path = path;
|
36123
|
+
this.fd = null;
|
36124
|
+
this.readable = true;
|
36125
|
+
this.paused = false;
|
36126
|
+
|
36127
|
+
this.flags = 'r';
|
36128
|
+
this.mode = 438; /*=0666*/
|
36129
|
+
this.bufferSize = 64 * 1024;
|
36130
|
+
|
36131
|
+
options = options || {};
|
36132
|
+
|
36133
|
+
// Mixin options into this
|
36134
|
+
var keys = Object.keys(options);
|
36135
|
+
for (var index = 0, length = keys.length; index < length; index++) {
|
36136
|
+
var key = keys[index];
|
36137
|
+
this[key] = options[key];
|
36138
|
+
}
|
36139
|
+
|
36140
|
+
if (this.encoding) this.setEncoding(this.encoding);
|
36141
|
+
|
36142
|
+
if (this.start !== undefined) {
|
36143
|
+
if ('number' !== typeof this.start) {
|
36144
|
+
throw TypeError('start must be a Number');
|
36145
|
+
}
|
36146
|
+
if (this.end === undefined) {
|
36147
|
+
this.end = Infinity;
|
36148
|
+
} else if ('number' !== typeof this.end) {
|
36149
|
+
throw TypeError('end must be a Number');
|
36150
|
+
}
|
36151
|
+
|
36152
|
+
if (this.start > this.end) {
|
36153
|
+
throw new Error('start must be <= end');
|
36154
|
+
}
|
36155
|
+
|
36156
|
+
this.pos = this.start;
|
36157
|
+
}
|
36158
|
+
|
36159
|
+
if (this.fd !== null) {
|
36160
|
+
process.nextTick(function() {
|
36161
|
+
self._read();
|
36162
|
+
});
|
36163
|
+
return;
|
36164
|
+
}
|
36165
|
+
|
36166
|
+
fs.open(this.path, this.flags, this.mode, function (err, fd) {
|
36167
|
+
if (err) {
|
36168
|
+
self.emit('error', err);
|
36169
|
+
self.readable = false;
|
36170
|
+
return;
|
36171
|
+
}
|
36172
|
+
|
36173
|
+
self.fd = fd;
|
36174
|
+
self.emit('open', fd);
|
36175
|
+
self._read();
|
36176
|
+
})
|
36177
|
+
}
|
36178
|
+
|
36179
|
+
function WriteStream (path, options) {
|
36180
|
+
if (!(this instanceof WriteStream)) return new WriteStream(path, options);
|
36181
|
+
|
36182
|
+
Stream.call(this);
|
36183
|
+
|
36184
|
+
this.path = path;
|
36185
|
+
this.fd = null;
|
36186
|
+
this.writable = true;
|
36187
|
+
|
36188
|
+
this.flags = 'w';
|
36189
|
+
this.encoding = 'binary';
|
36190
|
+
this.mode = 438; /*=0666*/
|
36191
|
+
this.bytesWritten = 0;
|
36192
|
+
|
36193
|
+
options = options || {};
|
36194
|
+
|
36195
|
+
// Mixin options into this
|
36196
|
+
var keys = Object.keys(options);
|
36197
|
+
for (var index = 0, length = keys.length; index < length; index++) {
|
36198
|
+
var key = keys[index];
|
36199
|
+
this[key] = options[key];
|
36200
|
+
}
|
36201
|
+
|
36202
|
+
if (this.start !== undefined) {
|
36203
|
+
if ('number' !== typeof this.start) {
|
36204
|
+
throw TypeError('start must be a Number');
|
36205
|
+
}
|
36206
|
+
if (this.start < 0) {
|
36207
|
+
throw new Error('start must be >= zero');
|
36208
|
+
}
|
36209
|
+
|
36210
|
+
this.pos = this.start;
|
36211
|
+
}
|
36212
|
+
|
36213
|
+
this.busy = false;
|
36214
|
+
this._queue = [];
|
36215
|
+
|
36216
|
+
if (this.fd === null) {
|
36217
|
+
this._open = fs.open;
|
36218
|
+
this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
|
36219
|
+
this.flush();
|
36220
|
+
}
|
36221
|
+
}
|
36222
|
+
}
|
36223
|
+
|
36224
|
+
|
36225
|
+
/***/ }),
|
36226
|
+
|
36227
|
+
/***/ 18187:
|
36228
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
36229
|
+
|
36230
|
+
var constants = __webpack_require__(22057)
|
36231
|
+
|
36232
|
+
var origCwd = process.cwd
|
36233
|
+
var cwd = null
|
36234
|
+
|
36235
|
+
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform
|
36236
|
+
|
36237
|
+
process.cwd = function() {
|
36238
|
+
if (!cwd)
|
36239
|
+
cwd = origCwd.call(process)
|
36240
|
+
return cwd
|
36241
|
+
}
|
36242
|
+
try {
|
36243
|
+
process.cwd()
|
36244
|
+
} catch (er) {}
|
36245
|
+
|
36246
|
+
// This check is needed until node.js 12 is required
|
36247
|
+
if (typeof process.chdir === 'function') {
|
36248
|
+
var chdir = process.chdir
|
36249
|
+
process.chdir = function (d) {
|
36250
|
+
cwd = null
|
36251
|
+
chdir.call(process, d)
|
36252
|
+
}
|
36253
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir)
|
36254
|
+
}
|
36255
|
+
|
36256
|
+
module.exports = patch
|
36257
|
+
|
36258
|
+
function patch (fs) {
|
36259
|
+
// (re-)implement some things that are known busted or missing.
|
36260
|
+
|
36261
|
+
// lchmod, broken prior to 0.6.2
|
36262
|
+
// back-port the fix here.
|
36263
|
+
if (constants.hasOwnProperty('O_SYMLINK') &&
|
36264
|
+
process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
|
36265
|
+
patchLchmod(fs)
|
36266
|
+
}
|
36267
|
+
|
36268
|
+
// lutimes implementation, or no-op
|
36269
|
+
if (!fs.lutimes) {
|
36270
|
+
patchLutimes(fs)
|
36271
|
+
}
|
36272
|
+
|
36273
|
+
// https://github.com/isaacs/node-graceful-fs/issues/4
|
36274
|
+
// Chown should not fail on einval or eperm if non-root.
|
36275
|
+
// It should not fail on enosys ever, as this just indicates
|
36276
|
+
// that a fs doesn't support the intended operation.
|
36277
|
+
|
36278
|
+
fs.chown = chownFix(fs.chown)
|
36279
|
+
fs.fchown = chownFix(fs.fchown)
|
36280
|
+
fs.lchown = chownFix(fs.lchown)
|
36281
|
+
|
36282
|
+
fs.chmod = chmodFix(fs.chmod)
|
36283
|
+
fs.fchmod = chmodFix(fs.fchmod)
|
36284
|
+
fs.lchmod = chmodFix(fs.lchmod)
|
36285
|
+
|
36286
|
+
fs.chownSync = chownFixSync(fs.chownSync)
|
36287
|
+
fs.fchownSync = chownFixSync(fs.fchownSync)
|
36288
|
+
fs.lchownSync = chownFixSync(fs.lchownSync)
|
36289
|
+
|
36290
|
+
fs.chmodSync = chmodFixSync(fs.chmodSync)
|
36291
|
+
fs.fchmodSync = chmodFixSync(fs.fchmodSync)
|
36292
|
+
fs.lchmodSync = chmodFixSync(fs.lchmodSync)
|
36293
|
+
|
36294
|
+
fs.stat = statFix(fs.stat)
|
36295
|
+
fs.fstat = statFix(fs.fstat)
|
36296
|
+
fs.lstat = statFix(fs.lstat)
|
36297
|
+
|
36298
|
+
fs.statSync = statFixSync(fs.statSync)
|
36299
|
+
fs.fstatSync = statFixSync(fs.fstatSync)
|
36300
|
+
fs.lstatSync = statFixSync(fs.lstatSync)
|
36301
|
+
|
36302
|
+
// if lchmod/lchown do not exist, then make them no-ops
|
36303
|
+
if (!fs.lchmod) {
|
36304
|
+
fs.lchmod = function (path, mode, cb) {
|
36305
|
+
if (cb) process.nextTick(cb)
|
36306
|
+
}
|
36307
|
+
fs.lchmodSync = function () {}
|
36308
|
+
}
|
36309
|
+
if (!fs.lchown) {
|
36310
|
+
fs.lchown = function (path, uid, gid, cb) {
|
36311
|
+
if (cb) process.nextTick(cb)
|
36312
|
+
}
|
36313
|
+
fs.lchownSync = function () {}
|
36314
|
+
}
|
36315
|
+
|
36316
|
+
// on Windows, A/V software can lock the directory, causing this
|
36317
|
+
// to fail with an EACCES or EPERM if the directory contains newly
|
36318
|
+
// created files. Try again on failure, for up to 60 seconds.
|
36319
|
+
|
36320
|
+
// Set the timeout this long because some Windows Anti-Virus, such as Parity
|
36321
|
+
// bit9, may lock files for up to a minute, causing npm package install
|
36322
|
+
// failures. Also, take care to yield the scheduler. Windows scheduling gives
|
36323
|
+
// CPU to a busy looping process, which can cause the program causing the lock
|
36324
|
+
// contention to be starved of CPU by node, so the contention doesn't resolve.
|
36325
|
+
if (platform === "win32") {
|
36326
|
+
fs.rename = (function (fs$rename) { return function (from, to, cb) {
|
36327
|
+
var start = Date.now()
|
36328
|
+
var backoff = 0;
|
36329
|
+
fs$rename(from, to, function CB (er) {
|
36330
|
+
if (er
|
36331
|
+
&& (er.code === "EACCES" || er.code === "EPERM")
|
36332
|
+
&& Date.now() - start < 60000) {
|
36333
|
+
setTimeout(function() {
|
36334
|
+
fs.stat(to, function (stater, st) {
|
36335
|
+
if (stater && stater.code === "ENOENT")
|
36336
|
+
fs$rename(from, to, CB);
|
36337
|
+
else
|
36338
|
+
cb(er)
|
36339
|
+
})
|
36340
|
+
}, backoff)
|
36341
|
+
if (backoff < 100)
|
36342
|
+
backoff += 10;
|
36343
|
+
return;
|
36344
|
+
}
|
36345
|
+
if (cb) cb(er)
|
36346
|
+
})
|
36347
|
+
}})(fs.rename)
|
36348
|
+
}
|
36349
|
+
|
36350
|
+
// if read() returns EAGAIN, then just try it again.
|
36351
|
+
fs.read = (function (fs$read) {
|
36352
|
+
function read (fd, buffer, offset, length, position, callback_) {
|
36353
|
+
var callback
|
36354
|
+
if (callback_ && typeof callback_ === 'function') {
|
36355
|
+
var eagCounter = 0
|
36356
|
+
callback = function (er, _, __) {
|
36357
|
+
if (er && er.code === 'EAGAIN' && eagCounter < 10) {
|
36358
|
+
eagCounter ++
|
36359
|
+
return fs$read.call(fs, fd, buffer, offset, length, position, callback)
|
36360
|
+
}
|
36361
|
+
callback_.apply(this, arguments)
|
36362
|
+
}
|
36363
|
+
}
|
36364
|
+
return fs$read.call(fs, fd, buffer, offset, length, position, callback)
|
36365
|
+
}
|
36366
|
+
|
36367
|
+
// This ensures `util.promisify` works as it does for native `fs.read`.
|
36368
|
+
if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read)
|
36369
|
+
return read
|
36370
|
+
})(fs.read)
|
36371
|
+
|
36372
|
+
fs.readSync = (function (fs$readSync) { return function (fd, buffer, offset, length, position) {
|
36373
|
+
var eagCounter = 0
|
36374
|
+
while (true) {
|
36375
|
+
try {
|
36376
|
+
return fs$readSync.call(fs, fd, buffer, offset, length, position)
|
36377
|
+
} catch (er) {
|
36378
|
+
if (er.code === 'EAGAIN' && eagCounter < 10) {
|
36379
|
+
eagCounter ++
|
36380
|
+
continue
|
36381
|
+
}
|
36382
|
+
throw er
|
36383
|
+
}
|
36384
|
+
}
|
36385
|
+
}})(fs.readSync)
|
36386
|
+
|
36387
|
+
function patchLchmod (fs) {
|
36388
|
+
fs.lchmod = function (path, mode, callback) {
|
36389
|
+
fs.open( path
|
36390
|
+
, constants.O_WRONLY | constants.O_SYMLINK
|
36391
|
+
, mode
|
36392
|
+
, function (err, fd) {
|
36393
|
+
if (err) {
|
36394
|
+
if (callback) callback(err)
|
36395
|
+
return
|
36396
|
+
}
|
36397
|
+
// prefer to return the chmod error, if one occurs,
|
36398
|
+
// but still try to close, and report closing errors if they occur.
|
36399
|
+
fs.fchmod(fd, mode, function (err) {
|
36400
|
+
fs.close(fd, function(err2) {
|
36401
|
+
if (callback) callback(err || err2)
|
36402
|
+
})
|
36403
|
+
})
|
36404
|
+
})
|
36405
|
+
}
|
36406
|
+
|
36407
|
+
fs.lchmodSync = function (path, mode) {
|
36408
|
+
var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
|
36409
|
+
|
36410
|
+
// prefer to return the chmod error, if one occurs,
|
36411
|
+
// but still try to close, and report closing errors if they occur.
|
36412
|
+
var threw = true
|
36413
|
+
var ret
|
36414
|
+
try {
|
36415
|
+
ret = fs.fchmodSync(fd, mode)
|
36416
|
+
threw = false
|
36417
|
+
} finally {
|
36418
|
+
if (threw) {
|
36419
|
+
try {
|
36420
|
+
fs.closeSync(fd)
|
36421
|
+
} catch (er) {}
|
36422
|
+
} else {
|
36423
|
+
fs.closeSync(fd)
|
36424
|
+
}
|
36425
|
+
}
|
36426
|
+
return ret
|
36427
|
+
}
|
36428
|
+
}
|
36429
|
+
|
36430
|
+
function patchLutimes (fs) {
|
36431
|
+
if (constants.hasOwnProperty("O_SYMLINK")) {
|
36432
|
+
fs.lutimes = function (path, at, mt, cb) {
|
36433
|
+
fs.open(path, constants.O_SYMLINK, function (er, fd) {
|
36434
|
+
if (er) {
|
36435
|
+
if (cb) cb(er)
|
36436
|
+
return
|
36437
|
+
}
|
36438
|
+
fs.futimes(fd, at, mt, function (er) {
|
36439
|
+
fs.close(fd, function (er2) {
|
36440
|
+
if (cb) cb(er || er2)
|
36441
|
+
})
|
36442
|
+
})
|
36443
|
+
})
|
36444
|
+
}
|
36445
|
+
|
36446
|
+
fs.lutimesSync = function (path, at, mt) {
|
36447
|
+
var fd = fs.openSync(path, constants.O_SYMLINK)
|
36448
|
+
var ret
|
36449
|
+
var threw = true
|
36450
|
+
try {
|
36451
|
+
ret = fs.futimesSync(fd, at, mt)
|
36452
|
+
threw = false
|
36453
|
+
} finally {
|
36454
|
+
if (threw) {
|
36455
|
+
try {
|
36456
|
+
fs.closeSync(fd)
|
36457
|
+
} catch (er) {}
|
36458
|
+
} else {
|
36459
|
+
fs.closeSync(fd)
|
36460
|
+
}
|
36461
|
+
}
|
36462
|
+
return ret
|
36463
|
+
}
|
36464
|
+
|
36465
|
+
} else {
|
36466
|
+
fs.lutimes = function (_a, _b, _c, cb) { if (cb) process.nextTick(cb) }
|
36467
|
+
fs.lutimesSync = function () {}
|
36468
|
+
}
|
36469
|
+
}
|
36470
|
+
|
36471
|
+
function chmodFix (orig) {
|
36472
|
+
if (!orig) return orig
|
36473
|
+
return function (target, mode, cb) {
|
36474
|
+
return orig.call(fs, target, mode, function (er) {
|
36475
|
+
if (chownErOk(er)) er = null
|
36476
|
+
if (cb) cb.apply(this, arguments)
|
36477
|
+
})
|
36478
|
+
}
|
36479
|
+
}
|
36480
|
+
|
36481
|
+
function chmodFixSync (orig) {
|
36482
|
+
if (!orig) return orig
|
36483
|
+
return function (target, mode) {
|
36484
|
+
try {
|
36485
|
+
return orig.call(fs, target, mode)
|
36486
|
+
} catch (er) {
|
36487
|
+
if (!chownErOk(er)) throw er
|
36488
|
+
}
|
36489
|
+
}
|
36490
|
+
}
|
36491
|
+
|
36492
|
+
|
36493
|
+
function chownFix (orig) {
|
36494
|
+
if (!orig) return orig
|
36495
|
+
return function (target, uid, gid, cb) {
|
36496
|
+
return orig.call(fs, target, uid, gid, function (er) {
|
36497
|
+
if (chownErOk(er)) er = null
|
36498
|
+
if (cb) cb.apply(this, arguments)
|
36499
|
+
})
|
36500
|
+
}
|
36501
|
+
}
|
36502
|
+
|
36503
|
+
function chownFixSync (orig) {
|
36504
|
+
if (!orig) return orig
|
36505
|
+
return function (target, uid, gid) {
|
36506
|
+
try {
|
36507
|
+
return orig.call(fs, target, uid, gid)
|
36508
|
+
} catch (er) {
|
36509
|
+
if (!chownErOk(er)) throw er
|
36510
|
+
}
|
36511
|
+
}
|
36512
|
+
}
|
36513
|
+
|
36514
|
+
function statFix (orig) {
|
36515
|
+
if (!orig) return orig
|
36516
|
+
// Older versions of Node erroneously returned signed integers for
|
36517
|
+
// uid + gid.
|
36518
|
+
return function (target, options, cb) {
|
36519
|
+
if (typeof options === 'function') {
|
36520
|
+
cb = options
|
36521
|
+
options = null
|
36522
|
+
}
|
36523
|
+
function callback (er, stats) {
|
36524
|
+
if (stats) {
|
36525
|
+
if (stats.uid < 0) stats.uid += 0x100000000
|
36526
|
+
if (stats.gid < 0) stats.gid += 0x100000000
|
36527
|
+
}
|
36528
|
+
if (cb) cb.apply(this, arguments)
|
36529
|
+
}
|
36530
|
+
return options ? orig.call(fs, target, options, callback)
|
36531
|
+
: orig.call(fs, target, callback)
|
36532
|
+
}
|
36533
|
+
}
|
36534
|
+
|
36535
|
+
function statFixSync (orig) {
|
36536
|
+
if (!orig) return orig
|
36537
|
+
// Older versions of Node erroneously returned signed integers for
|
36538
|
+
// uid + gid.
|
36539
|
+
return function (target, options) {
|
36540
|
+
var stats = options ? orig.call(fs, target, options)
|
36541
|
+
: orig.call(fs, target)
|
36542
|
+
if (stats) {
|
36543
|
+
if (stats.uid < 0) stats.uid += 0x100000000
|
36544
|
+
if (stats.gid < 0) stats.gid += 0x100000000
|
36545
|
+
}
|
36546
|
+
return stats;
|
36547
|
+
}
|
36548
|
+
}
|
36549
|
+
|
36550
|
+
// ENOSYS means that the fs doesn't support the op. Just ignore
|
36551
|
+
// that, because it doesn't matter.
|
36552
|
+
//
|
36553
|
+
// if there's no getuid, or if getuid() is something other
|
36554
|
+
// than 0, and the error is EINVAL or EPERM, then just ignore
|
36555
|
+
// it.
|
36556
|
+
//
|
36557
|
+
// This specific case is a silent failure in cp, install, tar,
|
36558
|
+
// and most other unix tools that manage permissions.
|
36559
|
+
//
|
36560
|
+
// When running as root, or if other types of errors are
|
36561
|
+
// encountered, then it's strict.
|
36562
|
+
function chownErOk (er) {
|
36563
|
+
if (!er)
|
36564
|
+
return true
|
36565
|
+
|
36566
|
+
if (er.code === "ENOSYS")
|
36567
|
+
return true
|
36568
|
+
|
36569
|
+
var nonroot = !process.getuid || process.getuid() !== 0
|
36570
|
+
if (nonroot) {
|
36571
|
+
if (er.code === "EINVAL" || er.code === "EPERM")
|
36572
|
+
return true
|
36573
|
+
}
|
36574
|
+
|
36575
|
+
return false
|
36576
|
+
}
|
36577
|
+
}
|
36578
|
+
|
36579
|
+
|
35659
36580
|
/***/ }),
|
35660
36581
|
|
35661
36582
|
/***/ 76157:
|
@@ -49839,7 +50760,7 @@ exports.parse = function (s) {
|
|
49839
50760
|
|
49840
50761
|
let _fs
|
49841
50762
|
try {
|
49842
|
-
_fs = __webpack_require__(
|
50763
|
+
_fs = __webpack_require__(19677)
|
49843
50764
|
} catch (_) {
|
49844
50765
|
_fs = __webpack_require__(57147)
|
49845
50766
|
}
|
@@ -72439,7 +73360,7 @@ exports.ConnectableObservable = void 0;
|
|
72439
73360
|
var Observable_1 = __webpack_require__(47082);
|
72440
73361
|
var Subscription_1 = __webpack_require__(69661);
|
72441
73362
|
var refCount_1 = __webpack_require__(75181);
|
72442
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
73363
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
72443
73364
|
var lift_1 = __webpack_require__(12370);
|
72444
73365
|
var ConnectableObservable = (function (_super) {
|
72445
73366
|
__extends(ConnectableObservable, _super);
|
@@ -72657,7 +73578,7 @@ var identity_1 = __webpack_require__(12418);
|
|
72657
73578
|
var mapOneOrManyArgs_1 = __webpack_require__(59377);
|
72658
73579
|
var args_1 = __webpack_require__(47844);
|
72659
73580
|
var createObject_1 = __webpack_require__(22573);
|
72660
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
73581
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
72661
73582
|
var executeSchedule_1 = __webpack_require__(28420);
|
72662
73583
|
function combineLatest() {
|
72663
73584
|
var args = [];
|
@@ -72875,7 +73796,7 @@ var Observable_1 = __webpack_require__(47082);
|
|
72875
73796
|
var argsArgArrayOrObject_1 = __webpack_require__(12671);
|
72876
73797
|
var innerFrom_1 = __webpack_require__(17438);
|
72877
73798
|
var args_1 = __webpack_require__(47844);
|
72878
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
73799
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
72879
73800
|
var mapOneOrManyArgs_1 = __webpack_require__(59377);
|
72880
73801
|
var createObject_1 = __webpack_require__(22573);
|
72881
73802
|
function forkJoin() {
|
@@ -73548,7 +74469,7 @@ exports.raceInit = exports.race = void 0;
|
|
73548
74469
|
var Observable_1 = __webpack_require__(47082);
|
73549
74470
|
var innerFrom_1 = __webpack_require__(17438);
|
73550
74471
|
var argsOrArgArray_1 = __webpack_require__(25796);
|
73551
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
74472
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
73552
74473
|
function race() {
|
73553
74474
|
var sources = [];
|
73554
74475
|
for (var _i = 0; _i < arguments.length; _i++) {
|
@@ -73754,7 +74675,7 @@ var Observable_1 = __webpack_require__(47082);
|
|
73754
74675
|
var innerFrom_1 = __webpack_require__(17438);
|
73755
74676
|
var argsOrArgArray_1 = __webpack_require__(25796);
|
73756
74677
|
var empty_1 = __webpack_require__(18939);
|
73757
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
74678
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
73758
74679
|
var args_1 = __webpack_require__(47844);
|
73759
74680
|
function zip() {
|
73760
74681
|
var args = [];
|
@@ -73799,7 +74720,7 @@ exports.zip = zip;
|
|
73799
74720
|
|
73800
74721
|
/***/ }),
|
73801
74722
|
|
73802
|
-
/***/
|
74723
|
+
/***/ 83028:
|
73803
74724
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
73804
74725
|
|
73805
74726
|
"use strict";
|
@@ -73887,7 +74808,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73887
74808
|
exports.audit = void 0;
|
73888
74809
|
var lift_1 = __webpack_require__(12370);
|
73889
74810
|
var innerFrom_1 = __webpack_require__(17438);
|
73890
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
74811
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
73891
74812
|
function audit(durationSelector) {
|
73892
74813
|
return lift_1.operate(function (source, subscriber) {
|
73893
74814
|
var hasValue = false;
|
@@ -73954,7 +74875,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73954
74875
|
exports.buffer = void 0;
|
73955
74876
|
var lift_1 = __webpack_require__(12370);
|
73956
74877
|
var noop_1 = __webpack_require__(3064);
|
73957
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
74878
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
73958
74879
|
function buffer(closingNotifier) {
|
73959
74880
|
return lift_1.operate(function (source, subscriber) {
|
73960
74881
|
var currentBuffer = [];
|
@@ -73996,7 +74917,7 @@ var __values = (this && this.__values) || function(o) {
|
|
73996
74917
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
73997
74918
|
exports.bufferCount = void 0;
|
73998
74919
|
var lift_1 = __webpack_require__(12370);
|
73999
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
74920
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74000
74921
|
var arrRemove_1 = __webpack_require__(19503);
|
74001
74922
|
function bufferCount(bufferSize, startBufferEvery) {
|
74002
74923
|
if (startBufferEvery === void 0) { startBufferEvery = null; }
|
@@ -74089,7 +75010,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74089
75010
|
exports.bufferTime = void 0;
|
74090
75011
|
var Subscription_1 = __webpack_require__(69661);
|
74091
75012
|
var lift_1 = __webpack_require__(12370);
|
74092
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75013
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74093
75014
|
var arrRemove_1 = __webpack_require__(19503);
|
74094
75015
|
var async_1 = __webpack_require__(11644);
|
74095
75016
|
var args_1 = __webpack_require__(47844);
|
@@ -74188,7 +75109,7 @@ exports.bufferToggle = void 0;
|
|
74188
75109
|
var Subscription_1 = __webpack_require__(69661);
|
74189
75110
|
var lift_1 = __webpack_require__(12370);
|
74190
75111
|
var innerFrom_1 = __webpack_require__(17438);
|
74191
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75112
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74192
75113
|
var noop_1 = __webpack_require__(3064);
|
74193
75114
|
var arrRemove_1 = __webpack_require__(19503);
|
74194
75115
|
function bufferToggle(openings, closingSelector) {
|
@@ -74242,7 +75163,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74242
75163
|
exports.bufferWhen = void 0;
|
74243
75164
|
var lift_1 = __webpack_require__(12370);
|
74244
75165
|
var noop_1 = __webpack_require__(3064);
|
74245
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75166
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74246
75167
|
var innerFrom_1 = __webpack_require__(17438);
|
74247
75168
|
function bufferWhen(closingSelector) {
|
74248
75169
|
return lift_1.operate(function (source, subscriber) {
|
@@ -74275,7 +75196,7 @@ exports.bufferWhen = bufferWhen;
|
|
74275
75196
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
74276
75197
|
exports.catchError = void 0;
|
74277
75198
|
var innerFrom_1 = __webpack_require__(17438);
|
74278
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75199
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74279
75200
|
var lift_1 = __webpack_require__(12370);
|
74280
75201
|
function catchError(selector) {
|
74281
75202
|
return lift_1.operate(function (source, subscriber) {
|
@@ -74618,7 +75539,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74618
75539
|
exports.debounce = void 0;
|
74619
75540
|
var lift_1 = __webpack_require__(12370);
|
74620
75541
|
var noop_1 = __webpack_require__(3064);
|
74621
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75542
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74622
75543
|
var innerFrom_1 = __webpack_require__(17438);
|
74623
75544
|
function debounce(durationSelector) {
|
74624
75545
|
return lift_1.operate(function (source, subscriber) {
|
@@ -74663,7 +75584,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74663
75584
|
exports.debounceTime = void 0;
|
74664
75585
|
var async_1 = __webpack_require__(11644);
|
74665
75586
|
var lift_1 = __webpack_require__(12370);
|
74666
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75587
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74667
75588
|
function debounceTime(dueTime, scheduler) {
|
74668
75589
|
if (scheduler === void 0) { scheduler = async_1.asyncScheduler; }
|
74669
75590
|
return lift_1.operate(function (source, subscriber) {
|
@@ -74717,7 +75638,7 @@ exports.debounceTime = debounceTime;
|
|
74717
75638
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
74718
75639
|
exports.defaultIfEmpty = void 0;
|
74719
75640
|
var lift_1 = __webpack_require__(12370);
|
74720
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75641
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74721
75642
|
function defaultIfEmpty(defaultValue) {
|
74722
75643
|
return lift_1.operate(function (source, subscriber) {
|
74723
75644
|
var hasValue = false;
|
@@ -74791,7 +75712,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74791
75712
|
exports.dematerialize = void 0;
|
74792
75713
|
var Notification_1 = __webpack_require__(89340);
|
74793
75714
|
var lift_1 = __webpack_require__(12370);
|
74794
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75715
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74795
75716
|
function dematerialize() {
|
74796
75717
|
return lift_1.operate(function (source, subscriber) {
|
74797
75718
|
source.subscribe(new OperatorSubscriber_1.OperatorSubscriber(subscriber, function (notification) { return Notification_1.observeNotification(notification, subscriber); }));
|
@@ -74810,7 +75731,7 @@ exports.dematerialize = dematerialize;
|
|
74810
75731
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
74811
75732
|
exports.distinct = void 0;
|
74812
75733
|
var lift_1 = __webpack_require__(12370);
|
74813
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75734
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74814
75735
|
var noop_1 = __webpack_require__(3064);
|
74815
75736
|
function distinct(keySelector, flushes) {
|
74816
75737
|
return lift_1.operate(function (source, subscriber) {
|
@@ -74839,7 +75760,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74839
75760
|
exports.distinctUntilChanged = void 0;
|
74840
75761
|
var identity_1 = __webpack_require__(12418);
|
74841
75762
|
var lift_1 = __webpack_require__(12370);
|
74842
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75763
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74843
75764
|
function distinctUntilChanged(comparator, keySelector) {
|
74844
75765
|
if (keySelector === void 0) { keySelector = identity_1.identity; }
|
74845
75766
|
comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare;
|
@@ -74956,7 +75877,7 @@ exports.endWith = endWith;
|
|
74956
75877
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
74957
75878
|
exports.every = void 0;
|
74958
75879
|
var lift_1 = __webpack_require__(12370);
|
74959
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75880
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
74960
75881
|
function every(predicate, thisArg) {
|
74961
75882
|
return lift_1.operate(function (source, subscriber) {
|
74962
75883
|
var index = 0;
|
@@ -74998,7 +75919,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
74998
75919
|
exports.exhaustAll = void 0;
|
74999
75920
|
var lift_1 = __webpack_require__(12370);
|
75000
75921
|
var innerFrom_1 = __webpack_require__(17438);
|
75001
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75922
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75002
75923
|
function exhaustAll() {
|
75003
75924
|
return lift_1.operate(function (source, subscriber) {
|
75004
75925
|
var isComplete = false;
|
@@ -75031,7 +75952,7 @@ exports.exhaustMap = void 0;
|
|
75031
75952
|
var map_1 = __webpack_require__(39446);
|
75032
75953
|
var innerFrom_1 = __webpack_require__(17438);
|
75033
75954
|
var lift_1 = __webpack_require__(12370);
|
75034
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
75955
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75035
75956
|
function exhaustMap(project, resultSelector) {
|
75036
75957
|
if (resultSelector) {
|
75037
75958
|
return function (source) {
|
@@ -75090,7 +76011,7 @@ exports.expand = expand;
|
|
75090
76011
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
75091
76012
|
exports.filter = void 0;
|
75092
76013
|
var lift_1 = __webpack_require__(12370);
|
75093
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76014
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75094
76015
|
function filter(predicate, thisArg) {
|
75095
76016
|
return lift_1.operate(function (source, subscriber) {
|
75096
76017
|
var index = 0;
|
@@ -75133,7 +76054,7 @@ exports.finalize = finalize;
|
|
75133
76054
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
75134
76055
|
exports.createFind = exports.find = void 0;
|
75135
76056
|
var lift_1 = __webpack_require__(12370);
|
75136
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76057
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75137
76058
|
function find(predicate, thisArg) {
|
75138
76059
|
return lift_1.operate(createFind(predicate, thisArg, 'value'));
|
75139
76060
|
}
|
@@ -75239,7 +76160,7 @@ var Observable_1 = __webpack_require__(47082);
|
|
75239
76160
|
var innerFrom_1 = __webpack_require__(17438);
|
75240
76161
|
var Subject_1 = __webpack_require__(15235);
|
75241
76162
|
var lift_1 = __webpack_require__(12370);
|
75242
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76163
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75243
76164
|
function groupBy(keySelector, elementOrOptions, duration, connector) {
|
75244
76165
|
return lift_1.operate(function (source, subscriber) {
|
75245
76166
|
var element;
|
@@ -75321,7 +76242,7 @@ var GroupBySubscriber = (function (_super) {
|
|
75321
76242
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
75322
76243
|
exports.ignoreElements = void 0;
|
75323
76244
|
var lift_1 = __webpack_require__(12370);
|
75324
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76245
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75325
76246
|
var noop_1 = __webpack_require__(3064);
|
75326
76247
|
function ignoreElements() {
|
75327
76248
|
return lift_1.operate(function (source, subscriber) {
|
@@ -75341,7 +76262,7 @@ exports.ignoreElements = ignoreElements;
|
|
75341
76262
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
75342
76263
|
exports.isEmpty = void 0;
|
75343
76264
|
var lift_1 = __webpack_require__(12370);
|
75344
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76265
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75345
76266
|
function isEmpty() {
|
75346
76267
|
return lift_1.operate(function (source, subscriber) {
|
75347
76268
|
source.subscribe(new OperatorSubscriber_1.OperatorSubscriber(subscriber, function () {
|
@@ -75410,7 +76331,7 @@ exports.last = last;
|
|
75410
76331
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
75411
76332
|
exports.map = void 0;
|
75412
76333
|
var lift_1 = __webpack_require__(12370);
|
75413
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76334
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75414
76335
|
function map(project, thisArg) {
|
75415
76336
|
return lift_1.operate(function (source, subscriber) {
|
75416
76337
|
var index = 0;
|
@@ -75449,7 +76370,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
75449
76370
|
exports.materialize = void 0;
|
75450
76371
|
var Notification_1 = __webpack_require__(89340);
|
75451
76372
|
var lift_1 = __webpack_require__(12370);
|
75452
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76373
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75453
76374
|
function materialize() {
|
75454
76375
|
return lift_1.operate(function (source, subscriber) {
|
75455
76376
|
source.subscribe(new OperatorSubscriber_1.OperatorSubscriber(subscriber, function (value) {
|
@@ -75562,7 +76483,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
75562
76483
|
exports.mergeInternals = void 0;
|
75563
76484
|
var innerFrom_1 = __webpack_require__(17438);
|
75564
76485
|
var executeSchedule_1 = __webpack_require__(28420);
|
75565
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76486
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75566
76487
|
function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalTeardown) {
|
75567
76488
|
var buffer = [];
|
75568
76489
|
var active = 0;
|
@@ -75790,7 +76711,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
75790
76711
|
exports.observeOn = void 0;
|
75791
76712
|
var executeSchedule_1 = __webpack_require__(28420);
|
75792
76713
|
var lift_1 = __webpack_require__(12370);
|
75793
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76714
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75794
76715
|
function observeOn(scheduler, delay) {
|
75795
76716
|
if (delay === void 0) { delay = 0; }
|
75796
76717
|
return lift_1.operate(function (source, subscriber) {
|
@@ -75833,7 +76754,7 @@ exports.onErrorResumeNext = void 0;
|
|
75833
76754
|
var lift_1 = __webpack_require__(12370);
|
75834
76755
|
var innerFrom_1 = __webpack_require__(17438);
|
75835
76756
|
var argsOrArgArray_1 = __webpack_require__(25796);
|
75836
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76757
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75837
76758
|
var noop_1 = __webpack_require__(3064);
|
75838
76759
|
function onErrorResumeNext() {
|
75839
76760
|
var sources = [];
|
@@ -75879,7 +76800,7 @@ exports.onErrorResumeNext = onErrorResumeNext;
|
|
75879
76800
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
75880
76801
|
exports.pairwise = void 0;
|
75881
76802
|
var lift_1 = __webpack_require__(12370);
|
75882
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
76803
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
75883
76804
|
function pairwise() {
|
75884
76805
|
return lift_1.operate(function (source, subscriber) {
|
75885
76806
|
var prev;
|
@@ -76146,7 +77067,7 @@ exports.reduce = reduce;
|
|
76146
77067
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
76147
77068
|
exports.refCount = void 0;
|
76148
77069
|
var lift_1 = __webpack_require__(12370);
|
76149
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77070
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76150
77071
|
function refCount() {
|
76151
77072
|
return lift_1.operate(function (source, subscriber) {
|
76152
77073
|
var connection = null;
|
@@ -76184,7 +77105,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76184
77105
|
exports.repeat = void 0;
|
76185
77106
|
var empty_1 = __webpack_require__(18939);
|
76186
77107
|
var lift_1 = __webpack_require__(12370);
|
76187
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77108
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76188
77109
|
var innerFrom_1 = __webpack_require__(17438);
|
76189
77110
|
var timer_1 = __webpack_require__(64820);
|
76190
77111
|
function repeat(countOrConfig) {
|
@@ -76255,7 +77176,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76255
77176
|
exports.repeatWhen = void 0;
|
76256
77177
|
var Subject_1 = __webpack_require__(15235);
|
76257
77178
|
var lift_1 = __webpack_require__(12370);
|
76258
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77179
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76259
77180
|
function repeatWhen(notifier) {
|
76260
77181
|
return lift_1.operate(function (source, subscriber) {
|
76261
77182
|
var innerSub;
|
@@ -76310,7 +77231,7 @@ exports.repeatWhen = repeatWhen;
|
|
76310
77231
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
76311
77232
|
exports.retry = void 0;
|
76312
77233
|
var lift_1 = __webpack_require__(12370);
|
76313
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77234
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76314
77235
|
var identity_1 = __webpack_require__(12418);
|
76315
77236
|
var timer_1 = __webpack_require__(64820);
|
76316
77237
|
var innerFrom_1 = __webpack_require__(17438);
|
@@ -76391,7 +77312,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76391
77312
|
exports.retryWhen = void 0;
|
76392
77313
|
var Subject_1 = __webpack_require__(15235);
|
76393
77314
|
var lift_1 = __webpack_require__(12370);
|
76394
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77315
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76395
77316
|
function retryWhen(notifier) {
|
76396
77317
|
return lift_1.operate(function (source, subscriber) {
|
76397
77318
|
var innerSub;
|
@@ -76433,7 +77354,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76433
77354
|
exports.sample = void 0;
|
76434
77355
|
var lift_1 = __webpack_require__(12370);
|
76435
77356
|
var noop_1 = __webpack_require__(3064);
|
76436
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77357
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76437
77358
|
function sample(notifier) {
|
76438
77359
|
return lift_1.operate(function (source, subscriber) {
|
76439
77360
|
var hasValue = false;
|
@@ -76501,7 +77422,7 @@ exports.scan = scan;
|
|
76501
77422
|
|
76502
77423
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
76503
77424
|
exports.scanInternals = void 0;
|
76504
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77425
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76505
77426
|
function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) {
|
76506
77427
|
return function (source, subscriber) {
|
76507
77428
|
var hasState = hasSeed;
|
@@ -76535,7 +77456,7 @@ exports.scanInternals = scanInternals;
|
|
76535
77456
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
76536
77457
|
exports.sequenceEqual = void 0;
|
76537
77458
|
var lift_1 = __webpack_require__(12370);
|
76538
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77459
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76539
77460
|
function sequenceEqual(compareTo, comparator) {
|
76540
77461
|
if (comparator === void 0) { comparator = function (a, b) { return a === b; }; }
|
76541
77462
|
return lift_1.operate(function (source, subscriber) {
|
@@ -76733,7 +77654,7 @@ var EmptyError_1 = __webpack_require__(77404);
|
|
76733
77654
|
var SequenceError_1 = __webpack_require__(28585);
|
76734
77655
|
var NotFoundError_1 = __webpack_require__(51403);
|
76735
77656
|
var lift_1 = __webpack_require__(12370);
|
76736
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77657
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76737
77658
|
function single(predicate) {
|
76738
77659
|
return lift_1.operate(function (source, subscriber) {
|
76739
77660
|
var hasValue = false;
|
@@ -76788,7 +77709,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76788
77709
|
exports.skipLast = void 0;
|
76789
77710
|
var identity_1 = __webpack_require__(12418);
|
76790
77711
|
var lift_1 = __webpack_require__(12370);
|
76791
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77712
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76792
77713
|
function skipLast(skipCount) {
|
76793
77714
|
return skipCount <= 0
|
76794
77715
|
?
|
@@ -76826,7 +77747,7 @@ exports.skipLast = skipLast;
|
|
76826
77747
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
76827
77748
|
exports.skipUntil = void 0;
|
76828
77749
|
var lift_1 = __webpack_require__(12370);
|
76829
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77750
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76830
77751
|
var innerFrom_1 = __webpack_require__(17438);
|
76831
77752
|
var noop_1 = __webpack_require__(3064);
|
76832
77753
|
function skipUntil(notifier) {
|
@@ -76853,7 +77774,7 @@ exports.skipUntil = skipUntil;
|
|
76853
77774
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
76854
77775
|
exports.skipWhile = void 0;
|
76855
77776
|
var lift_1 = __webpack_require__(12370);
|
76856
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77777
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76857
77778
|
function skipWhile(predicate) {
|
76858
77779
|
return lift_1.operate(function (source, subscriber) {
|
76859
77780
|
var taking = false;
|
@@ -76936,7 +77857,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76936
77857
|
exports.switchMap = void 0;
|
76937
77858
|
var innerFrom_1 = __webpack_require__(17438);
|
76938
77859
|
var lift_1 = __webpack_require__(12370);
|
76939
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77860
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
76940
77861
|
function switchMap(project, resultSelector) {
|
76941
77862
|
return lift_1.operate(function (source, subscriber) {
|
76942
77863
|
var innerSubscriber = null;
|
@@ -77011,7 +77932,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77011
77932
|
exports.take = void 0;
|
77012
77933
|
var empty_1 = __webpack_require__(18939);
|
77013
77934
|
var lift_1 = __webpack_require__(12370);
|
77014
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77935
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77015
77936
|
function take(count) {
|
77016
77937
|
return count <= 0
|
77017
77938
|
?
|
@@ -77053,7 +77974,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77053
77974
|
exports.takeLast = void 0;
|
77054
77975
|
var empty_1 = __webpack_require__(18939);
|
77055
77976
|
var lift_1 = __webpack_require__(12370);
|
77056
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
77977
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77057
77978
|
function takeLast(count) {
|
77058
77979
|
return count <= 0
|
77059
77980
|
? function () { return empty_1.EMPTY; }
|
@@ -77096,7 +78017,7 @@ exports.takeLast = takeLast;
|
|
77096
78017
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
77097
78018
|
exports.takeUntil = void 0;
|
77098
78019
|
var lift_1 = __webpack_require__(12370);
|
77099
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78020
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77100
78021
|
var innerFrom_1 = __webpack_require__(17438);
|
77101
78022
|
var noop_1 = __webpack_require__(3064);
|
77102
78023
|
function takeUntil(notifier) {
|
@@ -77118,7 +78039,7 @@ exports.takeUntil = takeUntil;
|
|
77118
78039
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
77119
78040
|
exports.takeWhile = void 0;
|
77120
78041
|
var lift_1 = __webpack_require__(12370);
|
77121
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78042
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77122
78043
|
function takeWhile(predicate, inclusive) {
|
77123
78044
|
if (inclusive === void 0) { inclusive = false; }
|
77124
78045
|
return lift_1.operate(function (source, subscriber) {
|
@@ -77144,7 +78065,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77144
78065
|
exports.tap = void 0;
|
77145
78066
|
var isFunction_1 = __webpack_require__(44366);
|
77146
78067
|
var lift_1 = __webpack_require__(12370);
|
77147
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78068
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77148
78069
|
var identity_1 = __webpack_require__(12418);
|
77149
78070
|
function tap(observerOrNext, error, complete) {
|
77150
78071
|
var tapObserver = isFunction_1.isFunction(observerOrNext) || error || complete
|
@@ -77194,7 +78115,7 @@ exports.tap = tap;
|
|
77194
78115
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
77195
78116
|
exports.throttle = exports.defaultThrottleConfig = void 0;
|
77196
78117
|
var lift_1 = __webpack_require__(12370);
|
77197
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78118
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77198
78119
|
var innerFrom_1 = __webpack_require__(17438);
|
77199
78120
|
exports.defaultThrottleConfig = {
|
77200
78121
|
leading: true,
|
@@ -77277,7 +78198,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77277
78198
|
exports.throwIfEmpty = void 0;
|
77278
78199
|
var EmptyError_1 = __webpack_require__(77404);
|
77279
78200
|
var lift_1 = __webpack_require__(12370);
|
77280
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78201
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77281
78202
|
function throwIfEmpty(errorFactory) {
|
77282
78203
|
if (errorFactory === void 0) { errorFactory = defaultErrorFactory; }
|
77283
78204
|
return lift_1.operate(function (source, subscriber) {
|
@@ -77350,7 +78271,7 @@ var isDate_1 = __webpack_require__(19327);
|
|
77350
78271
|
var lift_1 = __webpack_require__(12370);
|
77351
78272
|
var innerFrom_1 = __webpack_require__(17438);
|
77352
78273
|
var createErrorClass_1 = __webpack_require__(92589);
|
77353
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78274
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77354
78275
|
var executeSchedule_1 = __webpack_require__(28420);
|
77355
78276
|
exports.TimeoutError = createErrorClass_1.createErrorClass(function (_super) {
|
77356
78277
|
return function TimeoutErrorImpl(info) {
|
@@ -77501,7 +78422,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77501
78422
|
exports.window = void 0;
|
77502
78423
|
var Subject_1 = __webpack_require__(15235);
|
77503
78424
|
var lift_1 = __webpack_require__(12370);
|
77504
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78425
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77505
78426
|
var noop_1 = __webpack_require__(3064);
|
77506
78427
|
function window(windowBoundaries) {
|
77507
78428
|
return lift_1.operate(function (source, subscriber) {
|
@@ -77550,7 +78471,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77550
78471
|
exports.windowCount = void 0;
|
77551
78472
|
var Subject_1 = __webpack_require__(15235);
|
77552
78473
|
var lift_1 = __webpack_require__(12370);
|
77553
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78474
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77554
78475
|
function windowCount(windowSize, startWindowEvery) {
|
77555
78476
|
if (startWindowEvery === void 0) { startWindowEvery = 0; }
|
77556
78477
|
var startEvery = startWindowEvery > 0 ? startWindowEvery : windowSize;
|
@@ -77615,7 +78536,7 @@ var Subject_1 = __webpack_require__(15235);
|
|
77615
78536
|
var async_1 = __webpack_require__(11644);
|
77616
78537
|
var Subscription_1 = __webpack_require__(69661);
|
77617
78538
|
var lift_1 = __webpack_require__(12370);
|
77618
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78539
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77619
78540
|
var arrRemove_1 = __webpack_require__(19503);
|
77620
78541
|
var args_1 = __webpack_require__(47844);
|
77621
78542
|
var executeSchedule_1 = __webpack_require__(28420);
|
@@ -77707,7 +78628,7 @@ var Subject_1 = __webpack_require__(15235);
|
|
77707
78628
|
var Subscription_1 = __webpack_require__(69661);
|
77708
78629
|
var lift_1 = __webpack_require__(12370);
|
77709
78630
|
var innerFrom_1 = __webpack_require__(17438);
|
77710
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78631
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77711
78632
|
var noop_1 = __webpack_require__(3064);
|
77712
78633
|
var arrRemove_1 = __webpack_require__(19503);
|
77713
78634
|
function windowToggle(openings, closingSelector) {
|
@@ -77781,7 +78702,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
77781
78702
|
exports.windowWhen = void 0;
|
77782
78703
|
var Subject_1 = __webpack_require__(15235);
|
77783
78704
|
var lift_1 = __webpack_require__(12370);
|
77784
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78705
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77785
78706
|
var innerFrom_1 = __webpack_require__(17438);
|
77786
78707
|
function windowWhen(closingSelector) {
|
77787
78708
|
return lift_1.operate(function (source, subscriber) {
|
@@ -77850,7 +78771,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
77850
78771
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
77851
78772
|
exports.withLatestFrom = void 0;
|
77852
78773
|
var lift_1 = __webpack_require__(12370);
|
77853
|
-
var OperatorSubscriber_1 = __webpack_require__(
|
78774
|
+
var OperatorSubscriber_1 = __webpack_require__(83028);
|
77854
78775
|
var innerFrom_1 = __webpack_require__(17438);
|
77855
78776
|
var identity_1 = __webpack_require__(12418);
|
77856
78777
|
var noop_1 = __webpack_require__(3064);
|
@@ -89826,11 +90747,13 @@ exports.PackageManager = PackageManager;
|
|
89826
90747
|
(function (PackageManager) {
|
89827
90748
|
PackageManager["Pnpm"] = "pnpm";
|
89828
90749
|
PackageManager["Yarn"] = "yarn";
|
90750
|
+
PackageManager["Npm"] = "npm";
|
89829
90751
|
})(PackageManager || (exports.PackageManager = PackageManager = {}));
|
89830
90752
|
|
89831
90753
|
const PackageManagerName = {
|
89832
90754
|
[PackageManager.Pnpm]: () => 'pnpm',
|
89833
|
-
[PackageManager.Yarn]: () => 'Yarn'
|
90755
|
+
[PackageManager.Yarn]: () => 'Yarn',
|
90756
|
+
[PackageManager.Npm]: () => 'npm'
|
89834
90757
|
};
|
89835
90758
|
exports.PackageManagerName = PackageManagerName;
|
89836
90759
|
const PackageManagerSchema = {
|
@@ -90079,7 +91002,7 @@ const SubSolutionSchema = {
|
|
90079
91002
|
}));
|
90080
91003
|
|
90081
91004
|
if (data.solution && data.solution !== 'custom') {
|
90082
|
-
items.
|
91005
|
+
items.unshift({
|
90083
91006
|
key: data.solution,
|
90084
91007
|
label: `${SubSolutionText[data.solution]()}(${_locale.i18n.t(_locale.localeKeys.solution.default)})`
|
90085
91008
|
});
|
@@ -90363,7 +91286,8 @@ const EN_LOCALE = {
|
|
90363
91286
|
mwa_storybook: 'Enable "Visual Testing (Storybook)"',
|
90364
91287
|
ssg: 'Enable "SSG"',
|
90365
91288
|
polyfill: 'Enable "UA-based Polyfill feature"',
|
90366
|
-
deploy: 'Enable "Deploy"'
|
91289
|
+
deploy: 'Enable "Deploy"',
|
91290
|
+
proxy: 'Enable "Global Proxy"'
|
90367
91291
|
},
|
90368
91292
|
element: {
|
90369
91293
|
self: 'Create project element',
|
@@ -90528,8 +91452,9 @@ const ZH_LOCALE = {
|
|
90528
91452
|
runtime_api: '启用「Rumtime API」',
|
90529
91453
|
mwa_storybook: '启用「Visual Testing (Storybook)」模式',
|
90530
91454
|
ssg: '启用「SSG」功能',
|
90531
|
-
polyfill: '
|
90532
|
-
deploy: '启用「部署」功能'
|
91455
|
+
polyfill: '启用「基于 UA 的 Polyfill」功能',
|
91456
|
+
deploy: '启用「部署」功能',
|
91457
|
+
proxy: '启用「全局代理」'
|
90533
91458
|
},
|
90534
91459
|
element: {
|
90535
91460
|
self: '创建工程元素',
|
@@ -90751,7 +91676,17 @@ exports.MonorepoSchemas = exports.MonorepoSchema = exports.MonorepoDefaultConfig
|
|
90751
91676
|
|
90752
91677
|
var _common = __webpack_require__(25523);
|
90753
91678
|
|
90754
|
-
|
91679
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
91680
|
+
|
91681
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
91682
|
+
|
91683
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
91684
|
+
|
91685
|
+
const MonorepoPackageManagerSchema = _objectSpread(_objectSpread({}, _common.PackageManagerSchema), {}, {
|
91686
|
+
items: _common.PackageManagerSchema.items.filter(item => item.key !== _common.PackageManager.Npm)
|
91687
|
+
});
|
91688
|
+
|
91689
|
+
const MonorepoSchemas = [MonorepoPackageManagerSchema];
|
90755
91690
|
exports.MonorepoSchemas = MonorepoSchemas;
|
90756
91691
|
const MonorepoSchema = {
|
90757
91692
|
key: 'monorepo',
|
@@ -90947,10 +91882,10 @@ const FrameworkSchema = {
|
|
90947
91882
|
};
|
90948
91883
|
exports.FrameworkSchema = FrameworkSchema;
|
90949
91884
|
const FrameworkAppendTypeContent = {
|
90950
|
-
[Framework.Express]: `/// <reference types='@modern-js/plugin-express/types' />`,
|
90951
|
-
[Framework.Koa]: `/// <reference types='@modern-js/plugin-koa/types' />`,
|
90952
|
-
[Framework.Egg]: `/// <reference types='@modern-js/plugin-egg/types' />`,
|
90953
|
-
[Framework.Nest]: `/// <reference types='@modern-js/plugin-nest/types' />`
|
91885
|
+
[Framework.Express]: `/// <reference types='@modern-js/plugin-express/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`,
|
91886
|
+
[Framework.Koa]: `/// <reference types='@modern-js/plugin-koa/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`,
|
91887
|
+
[Framework.Egg]: `/// <reference types='@modern-js/plugin-egg/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`,
|
91888
|
+
[Framework.Nest]: `/// <reference types='@modern-js/plugin-nest/types' />\n/// <reference types='@modern-js/plugin-bff/types' />`
|
90954
91889
|
};
|
90955
91890
|
exports.FrameworkAppendTypeContent = FrameworkAppendTypeContent;
|
90956
91891
|
|
@@ -91308,6 +92243,7 @@ exports.ActionFunction = ActionFunction;
|
|
91308
92243
|
ActionFunction["SSG"] = "ssg";
|
91309
92244
|
ActionFunction["Polyfill"] = "polyfill";
|
91310
92245
|
ActionFunction["Deploy"] = "deploy";
|
92246
|
+
ActionFunction["Proxy"] = "proxy";
|
91311
92247
|
})(ActionFunction || (exports.ActionFunction = ActionFunction = {}));
|
91312
92248
|
|
91313
92249
|
let ActionRefactor;
|
@@ -91344,7 +92280,8 @@ const ActionFunctionText = {
|
|
91344
92280
|
[ActionFunction.RuntimeApi]: () => _locale.i18n.t(_locale.localeKeys.action.function.runtime_api),
|
91345
92281
|
[ActionFunction.SSG]: () => _locale.i18n.t(_locale.localeKeys.action.function.ssg),
|
91346
92282
|
[ActionFunction.Polyfill]: () => _locale.i18n.t(_locale.localeKeys.action.function.polyfill),
|
91347
|
-
[ActionFunction.Deploy]: () => _locale.i18n.t(_locale.localeKeys.action.function.deploy)
|
92283
|
+
[ActionFunction.Deploy]: () => _locale.i18n.t(_locale.localeKeys.action.function.deploy),
|
92284
|
+
[ActionFunction.Proxy]: () => _locale.i18n.t(_locale.localeKeys.action.function.proxy)
|
91348
92285
|
};
|
91349
92286
|
exports.ActionFunctionText = ActionFunctionText;
|
91350
92287
|
const ActionRefactorText = {
|
@@ -91433,7 +92370,7 @@ Object.keys(_monorepo).forEach(function (key) {
|
|
91433
92370
|
Object.defineProperty(exports, "__esModule", ({
|
91434
92371
|
value: true
|
91435
92372
|
}));
|
91436
|
-
exports.ModuleSpecialSchemaMap = exports.ModuleNewActionSchema = exports.ModuleNewActionGenerators = exports.ModuleActionTypesMap = exports.ModuleActionTypes = exports.ModuleActionFunctionsPeerDependencies = exports.ModuleActionFunctionsDevDependencies = exports.ModuleActionFunctionsDependencies = exports.ModuleActionFunctions = void 0;
|
92373
|
+
exports.ModuleSpecialSchemaMap = exports.ModuleNewActionSchema = exports.ModuleNewActionGenerators = exports.ModuleActionTypesMap = exports.ModuleActionTypes = exports.ModuleActionFunctionsPeerDependencies = exports.ModuleActionFunctionsDevDependencies = exports.ModuleActionFunctionsDependencies = exports.ModuleActionFunctionsAppendTypeContent = exports.ModuleActionFunctions = void 0;
|
91437
92374
|
|
91438
92375
|
var _common = __webpack_require__(78353);
|
91439
92376
|
|
@@ -91491,9 +92428,13 @@ const ModuleActionFunctionsDependencies = {
|
|
91491
92428
|
[_common.ActionFunction.Sass]: '@modern-js/plugin-sass'
|
91492
92429
|
};
|
91493
92430
|
exports.ModuleActionFunctionsDependencies = ModuleActionFunctionsDependencies;
|
92431
|
+
const ModuleActionFunctionsAppendTypeContent = {
|
92432
|
+
[_common.ActionFunction.TailwindCSS]: `/// <reference types='@modern-js/plugin-tailwindcss/types' />`
|
92433
|
+
};
|
92434
|
+
exports.ModuleActionFunctionsAppendTypeContent = ModuleActionFunctionsAppendTypeContent;
|
91494
92435
|
const ModuleNewActionGenerators = {
|
91495
92436
|
[_common.ActionType.Function]: {
|
91496
|
-
[_common.ActionFunction.TailwindCSS]: '@modern-js/
|
92437
|
+
[_common.ActionFunction.TailwindCSS]: '@modern-js/tailwindcss-generator',
|
91497
92438
|
[_common.ActionFunction.Less]: '@modern-js/dependence-generator',
|
91498
92439
|
[_common.ActionFunction.Sass]: '@modern-js/dependence-generator',
|
91499
92440
|
[_common.ActionFunction.I18n]: '@modern-js/dependence-generator',
|
@@ -91569,7 +92510,7 @@ exports.MWAActionTypes = MWAActionTypes;
|
|
91569
92510
|
const MWAActionFunctions = [_common.ActionFunction.UnBundle, _common.ActionFunction.TailwindCSS, _common.ActionFunction.Less, _common.ActionFunction.Sass, _common.ActionFunction.BFF, _common.ActionFunction.SSG, _common.ActionFunction.MicroFrontend, _common.ActionFunction.Electron, // ActionFunction.I18n,
|
91570
92511
|
_common.ActionFunction.Test, _common.ActionFunction.Storybook, // ActionFunction.E2ETest,
|
91571
92512
|
// ActionFunction.Doc,
|
91572
|
-
_common.ActionFunction.Polyfill, _common.ActionFunction.Deploy];
|
92513
|
+
_common.ActionFunction.Polyfill, _common.ActionFunction.Deploy, _common.ActionFunction.Proxy];
|
91573
92514
|
exports.MWAActionFunctions = MWAActionFunctions;
|
91574
92515
|
const MWAActionElements = [_common.ActionElement.Entry, _common.ActionElement.Server];
|
91575
92516
|
exports.MWAActionElements = MWAActionElements;
|
@@ -91616,22 +92557,25 @@ const MWAActionFunctionsDevDependencies = {
|
|
91616
92557
|
[_common.ActionFunction.E2ETest]: '@modern-js/plugin-e2e',
|
91617
92558
|
[_common.ActionFunction.Doc]: '@modern-js/plugin-docsite',
|
91618
92559
|
[_common.ActionFunction.Electron]: '@modern-js/plugin-electron',
|
91619
|
-
[_common.ActionFunction.Storybook]: '@modern-js/plugin-storybook'
|
92560
|
+
[_common.ActionFunction.Storybook]: '@modern-js/plugin-storybook',
|
92561
|
+
[_common.ActionFunction.Proxy]: '@modern-js/plugin-proxy'
|
91620
92562
|
};
|
91621
92563
|
exports.MWAActionFunctionsDevDependencies = MWAActionFunctionsDevDependencies;
|
91622
92564
|
const MWAActionFunctionsDependencies = {
|
91623
92565
|
[_common.ActionFunction.Less]: '@modern-js/plugin-less',
|
91624
92566
|
[_common.ActionFunction.Sass]: '@modern-js/plugin-sass',
|
91625
92567
|
[_common.ActionFunction.BFF]: '@modern-js/plugin-bff',
|
91626
|
-
[_common.ActionFunction.MicroFrontend]: '@modern-js/plugin-
|
92568
|
+
[_common.ActionFunction.MicroFrontend]: '@modern-js/plugin-garfish',
|
91627
92569
|
[_common.ActionFunction.I18n]: '@modern-js/plugin-i18n',
|
91628
92570
|
[_common.ActionFunction.SSG]: '@modern-js/plugin-ssg',
|
91629
|
-
[_common.ActionFunction.Polyfill]: '@modern-js/plugin-polyfill'
|
92571
|
+
[_common.ActionFunction.Polyfill]: '@modern-js/plugin-polyfill',
|
92572
|
+
[_common.ActionFunction.TailwindCSS]: 'tailwindcss'
|
91630
92573
|
};
|
91631
92574
|
exports.MWAActionFunctionsDependencies = MWAActionFunctionsDependencies;
|
91632
92575
|
const MWAActionFunctionsAppendTypeContent = {
|
91633
92576
|
[_common.ActionFunction.Test]: `/// <reference types='@modern-js/plugin-testing/type' />`,
|
91634
|
-
[_common.ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-
|
92577
|
+
[_common.ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/type' />`,
|
92578
|
+
[_common.ActionFunction.TailwindCSS]: `/// <reference types='@modern-js/plugin-tailwindcss/types' />`
|
91635
92579
|
};
|
91636
92580
|
exports.MWAActionFunctionsAppendTypeContent = MWAActionFunctionsAppendTypeContent;
|
91637
92581
|
const MWANewActionGenerators = {
|
@@ -91654,7 +92598,8 @@ const MWANewActionGenerators = {
|
|
91654
92598
|
[_common.ActionFunction.Storybook]: '@modern-js/dependence-generator',
|
91655
92599
|
[_common.ActionFunction.SSG]: '@modern-js/ssg-generator',
|
91656
92600
|
[_common.ActionFunction.Polyfill]: '@modern-js/dependence-generator',
|
91657
|
-
[_common.ActionFunction.Deploy]: '@modern-js/cloud-deploy-generator'
|
92601
|
+
[_common.ActionFunction.Deploy]: '@modern-js/cloud-deploy-generator',
|
92602
|
+
[_common.ActionFunction.Proxy]: '@modern-js/dependence-generator'
|
91658
92603
|
},
|
91659
92604
|
[_common.ActionType.Refactor]: {
|
91660
92605
|
[_common.ActionRefactor.BFFToApp]: '@modern-js/bff-refactor-generator'
|
@@ -92013,11 +92958,11 @@ var exports = __webpack_exports__;
|
|
92013
92958
|
Object.defineProperty(exports, "__esModule", ({
|
92014
92959
|
value: true
|
92015
92960
|
}));
|
92016
|
-
exports["default"] = void 0;
|
92961
|
+
exports.handleTemplateFile = exports["default"] = void 0;
|
92017
92962
|
|
92018
92963
|
var _path = _interopRequireDefault(__webpack_require__(71017));
|
92019
92964
|
|
92020
|
-
var _codesmithApiApp = __webpack_require__(
|
92965
|
+
var _codesmithApiApp = __webpack_require__(80355);
|
92021
92966
|
|
92022
92967
|
var _generatorCommon = __webpack_require__(50828);
|
92023
92968
|
|
@@ -92040,13 +92985,34 @@ const getGeneratorPath = (generator, distTag) => {
|
|
92040
92985
|
};
|
92041
92986
|
|
92042
92987
|
const handleTemplateFile = async (context, generator, appApi) => {
|
92988
|
+
const {
|
92989
|
+
dependencies,
|
92990
|
+
peerDependencies,
|
92991
|
+
devDependencies
|
92992
|
+
} = context.config;
|
92993
|
+
const TailwindCSSVersion = '^2.2.19';
|
92994
|
+
|
92995
|
+
if (dependencies !== null && dependencies !== void 0 && dependencies.tailwindcss) {
|
92996
|
+
dependencies.tailwindcss = TailwindCSSVersion;
|
92997
|
+
}
|
92998
|
+
|
92999
|
+
if (peerDependencies !== null && peerDependencies !== void 0 && peerDependencies.tailwindcss) {
|
93000
|
+
peerDependencies.tailwindcss = TailwindCSSVersion;
|
93001
|
+
}
|
93002
|
+
|
93003
|
+
if (devDependencies !== null && devDependencies !== void 0 && devDependencies.tailwindcss) {
|
93004
|
+
devDependencies.tailwindcss = TailwindCSSVersion;
|
93005
|
+
}
|
93006
|
+
|
92043
93007
|
await appApi.runSubGenerator(getGeneratorPath(_generatorCommon.DependenceGenerator, context.config.distTag), undefined, _objectSpread(_objectSpread({}, context.config), {}, {
|
92044
|
-
dependencies
|
92045
|
-
|
92046
|
-
|
93008
|
+
dependencies,
|
93009
|
+
devDependencies,
|
93010
|
+
peerDependencies
|
92047
93011
|
}));
|
92048
93012
|
};
|
92049
93013
|
|
93014
|
+
exports.handleTemplateFile = handleTemplateFile;
|
93015
|
+
|
92050
93016
|
var _default = async (context, generator) => {
|
92051
93017
|
const appApi = new _codesmithApiApp.AppAPI(context, generator);
|
92052
93018
|
const {
|