fyn 1.1.45 → 1.1.46
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/fyn.js +211 -171
- package/package.json +1 -1
package/dist/fyn.js
CHANGED
|
@@ -2553,7 +2553,7 @@ const {
|
|
|
2553
2553
|
AggregateError
|
|
2554
2554
|
} = __webpack_require__("./node_modules/.f/_/@jchip/error/1.0.3/@jchip/error/dist/index.js");
|
|
2555
2555
|
|
|
2556
|
-
const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
2556
|
+
const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/lib/index.js");
|
|
2557
2557
|
|
|
2558
2558
|
const Crypto = __webpack_require__("crypto");
|
|
2559
2559
|
|
|
@@ -3149,7 +3149,7 @@ const {
|
|
|
3149
3149
|
parseYarnLock
|
|
3150
3150
|
} = __webpack_require__("./yarn/index.js");
|
|
3151
3151
|
|
|
3152
|
-
const mm = __webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
3152
|
+
const mm = __webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js");
|
|
3153
3153
|
/* eslint-disable no-magic-numbers, max-statements, no-empty, complexity, no-eval */
|
|
3154
3154
|
|
|
3155
3155
|
|
|
@@ -4198,7 +4198,7 @@ module.exports = Fyn;
|
|
|
4198
4198
|
|
|
4199
4199
|
const Path = __webpack_require__("path");
|
|
4200
4200
|
|
|
4201
|
-
const optionalRequire = __webpack_require__("./node_modules/.f/_/optional-require/1.1.
|
|
4201
|
+
const optionalRequire = __webpack_require__("./node_modules/.f/_/optional-require/1.1.10/optional-require/index.js")(eval("require"));
|
|
4202
4202
|
|
|
4203
4203
|
const assert = __webpack_require__("assert");
|
|
4204
4204
|
|
|
@@ -8970,7 +8970,7 @@ module.exports = PkgOptResolver;
|
|
|
8970
8970
|
// - npm registry
|
|
8971
8971
|
//
|
|
8972
8972
|
|
|
8973
|
-
/* eslint-disable no-magic-numbers, prefer-template, max-statements, no-param-reassign */
|
|
8973
|
+
/* eslint-disable no-magic-numbers, prefer-template, max-statements, no-param-reassign, no-sequences */
|
|
8974
8974
|
|
|
8975
8975
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
8976
8976
|
|
|
@@ -9830,6 +9830,9 @@ module.exports = {
|
|
|
9830
9830
|
/***/ "./lib/util/aveazul.js":
|
|
9831
9831
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
9832
9832
|
|
|
9833
|
+
"use strict";
|
|
9834
|
+
|
|
9835
|
+
|
|
9833
9836
|
module.exports = __webpack_require__("./node_modules/.f/_/aveazul/1.0.2/aveazul/lib/aveazul.js");
|
|
9834
9837
|
|
|
9835
9838
|
/***/ }),
|
|
@@ -11532,9 +11535,9 @@ const Fs = __webpack_require__("./lib/util/file-ops.js");
|
|
|
11532
11535
|
|
|
11533
11536
|
const Path = __webpack_require__("path");
|
|
11534
11537
|
|
|
11535
|
-
const mm = __webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
11538
|
+
const mm = __webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js");
|
|
11536
11539
|
|
|
11537
|
-
const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
11540
|
+
const filterScanDir = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/lib/index.js");
|
|
11538
11541
|
|
|
11539
11542
|
async function _scanFileStats(dir, ignores, baseDir = "") {
|
|
11540
11543
|
const ignore = fullPath => ignores.find(pattern => mm(fullPath, pattern, {
|
|
@@ -11610,13 +11613,16 @@ module.exports = __webpack_require__("./node_modules/.f/_/xaa/1.8.0/xaa/dist/ind
|
|
|
11610
11613
|
Object.defineProperty(exports, "__esModule", ({
|
|
11611
11614
|
value: true
|
|
11612
11615
|
}));
|
|
11613
|
-
exports.
|
|
11616
|
+
exports.readHashDigest = void 0;
|
|
11617
|
+
exports.processInput = processInput;
|
|
11618
|
+
exports.processLifecycleInput = processLifecycleInput;
|
|
11619
|
+
exports.processOutput = processOutput;
|
|
11614
11620
|
|
|
11615
11621
|
const tslib_1 = __webpack_require__("./node_modules/.f/_/tslib/2.8.1/tslib/tslib.es6.mjs");
|
|
11616
11622
|
|
|
11617
|
-
const filter_scan_dir_1 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
11623
|
+
const filter_scan_dir_1 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/lib/index.js");
|
|
11618
11624
|
|
|
11619
|
-
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
11625
|
+
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js"));
|
|
11620
11626
|
|
|
11621
11627
|
const lodash_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/lodash/4.17.21/lodash/lodash.min.js"));
|
|
11622
11628
|
|
|
@@ -11805,8 +11811,6 @@ async function processInput({
|
|
|
11805
11811
|
hash
|
|
11806
11812
|
};
|
|
11807
11813
|
}
|
|
11808
|
-
|
|
11809
|
-
exports.processInput = processInput;
|
|
11810
11814
|
/**
|
|
11811
11815
|
* process lifecycle caching input rules
|
|
11812
11816
|
*
|
|
@@ -11814,6 +11818,7 @@ exports.processInput = processInput;
|
|
|
11814
11818
|
* @returns
|
|
11815
11819
|
*/
|
|
11816
11820
|
|
|
11821
|
+
|
|
11817
11822
|
async function processLifecycleInput({
|
|
11818
11823
|
cwd,
|
|
11819
11824
|
input,
|
|
@@ -11834,8 +11839,6 @@ async function processLifecycleInput({
|
|
|
11834
11839
|
packageJson
|
|
11835
11840
|
});
|
|
11836
11841
|
}
|
|
11837
|
-
|
|
11838
|
-
exports.processLifecycleInput = processLifecycleInput;
|
|
11839
11842
|
/**
|
|
11840
11843
|
* Process build cache output rules.
|
|
11841
11844
|
*
|
|
@@ -11843,6 +11846,7 @@ exports.processLifecycleInput = processLifecycleInput;
|
|
|
11843
11846
|
* @returns
|
|
11844
11847
|
*/
|
|
11845
11848
|
|
|
11849
|
+
|
|
11846
11850
|
async function processOutput({
|
|
11847
11851
|
cwd,
|
|
11848
11852
|
inputHash,
|
|
@@ -11890,8 +11894,6 @@ async function processOutput({
|
|
|
11890
11894
|
};
|
|
11891
11895
|
}
|
|
11892
11896
|
|
|
11893
|
-
exports.processOutput = processOutput;
|
|
11894
|
-
|
|
11895
11897
|
/***/ }),
|
|
11896
11898
|
|
|
11897
11899
|
/***/ "./node_modules/.f/_/@fynpo/base/1.1.17-fynlocal_h/@fynpo/base/dist/fynpo-config.js":
|
|
@@ -11917,7 +11919,7 @@ const fs_1 = tslib_1.__importDefault(__webpack_require__("fs"));
|
|
|
11917
11919
|
|
|
11918
11920
|
const path_1 = tslib_1.__importDefault(__webpack_require__("path"));
|
|
11919
11921
|
|
|
11920
|
-
const optional_require_1 = __webpack_require__("./node_modules/.f/_/optional-require/1.1.
|
|
11922
|
+
const optional_require_1 = __webpack_require__("./node_modules/.f/_/optional-require/1.1.10/optional-require/index.js");
|
|
11921
11923
|
/**
|
|
11922
11924
|
* manage fynpo config
|
|
11923
11925
|
*/
|
|
@@ -12060,7 +12062,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
12060
12062
|
Object.defineProperty(exports, "__esModule", ({
|
|
12061
12063
|
value: true
|
|
12062
12064
|
}));
|
|
12063
|
-
exports.FynpoDepGraph = exports.
|
|
12065
|
+
exports.FynpoDepGraph = exports.PackageRef = void 0;
|
|
12066
|
+
exports.getDepSection = getDepSection;
|
|
12067
|
+
exports.makeDepStep = makeDepStep;
|
|
12068
|
+
exports.pkgId = pkgId;
|
|
12069
|
+
exports.pkgInfoId = pkgInfoId;
|
|
12064
12070
|
|
|
12065
12071
|
const tslib_1 = __webpack_require__("./node_modules/.f/_/tslib/2.8.1/tslib/tslib.es6.mjs");
|
|
12066
12072
|
|
|
@@ -12070,9 +12076,9 @@ const path_1 = tslib_1.__importDefault(__webpack_require__("path"));
|
|
|
12070
12076
|
|
|
12071
12077
|
const fs_1 = __webpack_require__("fs");
|
|
12072
12078
|
|
|
12073
|
-
const filter_scan_dir_1 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
12079
|
+
const filter_scan_dir_1 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/lib/index.js");
|
|
12074
12080
|
|
|
12075
|
-
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
12081
|
+
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js"));
|
|
12076
12082
|
|
|
12077
12083
|
const lodash_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/lodash/4.17.21/lodash/lodash.min.js"));
|
|
12078
12084
|
|
|
@@ -12104,8 +12110,6 @@ const DepSectionMap = {
|
|
|
12104
12110
|
function getDepSection(fullName) {
|
|
12105
12111
|
return DepSectionMap[fullName] || "dep";
|
|
12106
12112
|
}
|
|
12107
|
-
|
|
12108
|
-
exports.getDepSection = getDepSection;
|
|
12109
12113
|
/**
|
|
12110
12114
|
* make a indirect dep step string
|
|
12111
12115
|
*
|
|
@@ -12115,17 +12119,17 @@ exports.getDepSection = getDepSection;
|
|
|
12115
12119
|
* @returns step string
|
|
12116
12120
|
*/
|
|
12117
12121
|
|
|
12122
|
+
|
|
12118
12123
|
function makeDepStep(name, version, sec) {
|
|
12119
12124
|
return `${pkgId(name, version)}(${sec})`;
|
|
12120
12125
|
}
|
|
12121
|
-
|
|
12122
|
-
exports.makeDepStep = makeDepStep;
|
|
12123
12126
|
/**
|
|
12124
12127
|
* Reference to a package by id, path, or name.
|
|
12125
12128
|
*
|
|
12126
12129
|
* Supports RegExp or minimatch (for path)
|
|
12127
12130
|
*/
|
|
12128
12131
|
|
|
12132
|
+
|
|
12129
12133
|
class PackageRef {
|
|
12130
12134
|
constructor(ref) {
|
|
12131
12135
|
this.parseRef(ref);
|
|
@@ -12205,8 +12209,6 @@ function pkgId(name, version) {
|
|
|
12205
12209
|
const ver = version ? `@${version}` : "";
|
|
12206
12210
|
return `${name}${ver}`;
|
|
12207
12211
|
}
|
|
12208
|
-
|
|
12209
|
-
exports.pkgId = pkgId;
|
|
12210
12212
|
/**
|
|
12211
12213
|
* Resolve a package from multiple versions by a semver
|
|
12212
12214
|
*
|
|
@@ -12218,6 +12220,7 @@ exports.pkgId = pkgId;
|
|
|
12218
12220
|
* @returns package info
|
|
12219
12221
|
*/
|
|
12220
12222
|
|
|
12223
|
+
|
|
12221
12224
|
function resolvePackage(semver, packages, fallbackToFirst = true) {
|
|
12222
12225
|
const found = packages.find(pkg => semver_1.default.satisfies(pkg.version, semver));
|
|
12223
12226
|
|
|
@@ -12242,12 +12245,11 @@ function resolvePackage(semver, packages, fallbackToFirst = true) {
|
|
|
12242
12245
|
function pkgInfoId(info) {
|
|
12243
12246
|
return pkgId(info.name, info.version);
|
|
12244
12247
|
}
|
|
12245
|
-
|
|
12246
|
-
exports.pkgInfoId = pkgInfoId;
|
|
12247
12248
|
/**
|
|
12248
12249
|
* fynpo dep graph manager
|
|
12249
12250
|
*/
|
|
12250
12251
|
|
|
12252
|
+
|
|
12251
12253
|
class FynpoDepGraph {
|
|
12252
12254
|
constructor(options = {}) {
|
|
12253
12255
|
this._options = _objectSpread({
|
|
@@ -12452,12 +12454,14 @@ class FynpoDepGraph {
|
|
|
12452
12454
|
cwd,
|
|
12453
12455
|
prefix,
|
|
12454
12456
|
concurrency: 500,
|
|
12455
|
-
filter: (file, path) => {
|
|
12457
|
+
filter: (file, path, extras) => {
|
|
12456
12458
|
if (path && path !== "." && file === "package.json") {
|
|
12457
|
-
if (foundInAutoSearch(path)) {
|
|
12459
|
+
if (extras.files.includes("fynpo.json") || foundInAutoSearch(path)) {
|
|
12458
12460
|
//
|
|
12459
|
-
//
|
|
12460
|
-
//
|
|
12461
|
+
// We ignore dir with package.json if:
|
|
12462
|
+
// 1. It's a fynpo root dir, ie: `fynpo.json` exists
|
|
12463
|
+
// 2. In auto search, if we've found a package.json in a dir, we don't want to
|
|
12464
|
+
// search any other package.json further under that dir
|
|
12461
12465
|
//
|
|
12462
12466
|
return false;
|
|
12463
12467
|
}
|
|
@@ -12864,7 +12868,9 @@ exports.FynpoDepGraph = FynpoDepGraph;
|
|
|
12864
12868
|
Object.defineProperty(exports, "__esModule", ({
|
|
12865
12869
|
value: true
|
|
12866
12870
|
}));
|
|
12867
|
-
exports.
|
|
12871
|
+
exports.caching = void 0;
|
|
12872
|
+
exports.readFynpoPackages = readFynpoPackages;
|
|
12873
|
+
exports.makePkgDeps = makePkgDeps;
|
|
12868
12874
|
|
|
12869
12875
|
const tslib_1 = __webpack_require__("./node_modules/.f/_/tslib/2.8.1/tslib/tslib.es6.mjs");
|
|
12870
12876
|
|
|
@@ -12872,9 +12878,9 @@ const path_1 = tslib_1.__importDefault(__webpack_require__("path"));
|
|
|
12872
12878
|
|
|
12873
12879
|
const fs_1 = __webpack_require__("fs");
|
|
12874
12880
|
|
|
12875
|
-
const filter_scan_dir_1 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
12881
|
+
const filter_scan_dir_1 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/lib/index.js");
|
|
12876
12882
|
|
|
12877
|
-
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
12883
|
+
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js"));
|
|
12878
12884
|
|
|
12879
12885
|
const lodash_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/lodash/4.17.21/lodash/lodash.min.js"));
|
|
12880
12886
|
|
|
@@ -13053,8 +13059,6 @@ async function readFynpoPackages({
|
|
|
13053
13059
|
|
|
13054
13060
|
return allPkgs;
|
|
13055
13061
|
}
|
|
13056
|
-
|
|
13057
|
-
exports.readFynpoPackages = readFynpoPackages;
|
|
13058
13062
|
/**
|
|
13059
13063
|
* calculate dep graphs for packages under the mono-repo
|
|
13060
13064
|
*
|
|
@@ -13063,6 +13067,7 @@ exports.readFynpoPackages = readFynpoPackages;
|
|
|
13063
13067
|
* @returns
|
|
13064
13068
|
*/
|
|
13065
13069
|
|
|
13070
|
+
|
|
13066
13071
|
function makePkgDeps(packages, opts) {
|
|
13067
13072
|
const cwd = opts.cwd || process.cwd();
|
|
13068
13073
|
let circulars = [];
|
|
@@ -13138,8 +13143,6 @@ function makePkgDeps(packages, opts) {
|
|
|
13138
13143
|
};
|
|
13139
13144
|
}
|
|
13140
13145
|
|
|
13141
|
-
exports.makePkgDeps = makePkgDeps;
|
|
13142
|
-
|
|
13143
13146
|
/***/ }),
|
|
13144
13147
|
|
|
13145
13148
|
/***/ "./node_modules/.f/_/@fynpo/base/1.1.17-fynlocal_h/@fynpo/base/dist/minimatch-group.js":
|
|
@@ -13151,11 +13154,14 @@ exports.makePkgDeps = makePkgDeps;
|
|
|
13151
13154
|
Object.defineProperty(exports, "__esModule", ({
|
|
13152
13155
|
value: true
|
|
13153
13156
|
}));
|
|
13154
|
-
exports.
|
|
13157
|
+
exports.groupMM = groupMM;
|
|
13158
|
+
exports.deconstructMM = deconstructMM;
|
|
13159
|
+
exports.checkMmMatch = checkMmMatch;
|
|
13160
|
+
exports.unrollMmMatch = unrollMmMatch;
|
|
13155
13161
|
|
|
13156
13162
|
const tslib_1 = __webpack_require__("./node_modules/.f/_/tslib/2.8.1/tslib/tslib.es6.mjs");
|
|
13157
13163
|
|
|
13158
|
-
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
13164
|
+
const minimatch_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js"));
|
|
13159
13165
|
|
|
13160
13166
|
const lodash_1 = tslib_1.__importDefault(__webpack_require__("./node_modules/.f/_/lodash/4.17.21/lodash/lodash.min.js"));
|
|
13161
13167
|
/**
|
|
@@ -13190,8 +13196,6 @@ function groupMM(mms, groups) {
|
|
|
13190
13196
|
});
|
|
13191
13197
|
return groups;
|
|
13192
13198
|
}
|
|
13193
|
-
|
|
13194
|
-
exports.groupMM = groupMM;
|
|
13195
13199
|
/**
|
|
13196
13200
|
* process a minimatch pattern to group them for matching directories
|
|
13197
13201
|
*
|
|
@@ -13199,6 +13203,7 @@ exports.groupMM = groupMM;
|
|
|
13199
13203
|
* @param m0 minimatch pattern
|
|
13200
13204
|
*/
|
|
13201
13205
|
|
|
13206
|
+
|
|
13202
13207
|
function deconstructMM(m0) {
|
|
13203
13208
|
const mms = [];
|
|
13204
13209
|
const patterns = {
|
|
@@ -13240,8 +13245,6 @@ function deconstructMM(m0) {
|
|
|
13240
13245
|
|
|
13241
13246
|
return patterns;
|
|
13242
13247
|
}
|
|
13243
|
-
|
|
13244
|
-
exports.deconstructMM = deconstructMM;
|
|
13245
13248
|
/**
|
|
13246
13249
|
* check that a path matches against a list of minimatch patterns
|
|
13247
13250
|
*
|
|
@@ -13250,11 +13253,10 @@ exports.deconstructMM = deconstructMM;
|
|
|
13250
13253
|
* @returns the first pattern that match or false
|
|
13251
13254
|
*/
|
|
13252
13255
|
|
|
13256
|
+
|
|
13253
13257
|
function checkMmMatch(fullPath, patterns) {
|
|
13254
13258
|
return !lodash_1.default.isEmpty(patterns) && patterns.find(patternMm => patternMm.match(fullPath));
|
|
13255
13259
|
}
|
|
13256
|
-
|
|
13257
|
-
exports.checkMmMatch = checkMmMatch;
|
|
13258
13260
|
/**
|
|
13259
13261
|
* Take a full path and match each level of it to a list of minimatch patterns
|
|
13260
13262
|
*
|
|
@@ -13263,6 +13265,7 @@ exports.checkMmMatch = checkMmMatch;
|
|
|
13263
13265
|
* @returns
|
|
13264
13266
|
*/
|
|
13265
13267
|
|
|
13268
|
+
|
|
13266
13269
|
function unrollMmMatch(path, mms) {
|
|
13267
13270
|
const parts = path.split("/");
|
|
13268
13271
|
let rp;
|
|
@@ -13279,8 +13282,6 @@ function unrollMmMatch(path, mms) {
|
|
|
13279
13282
|
return checkMmMatch(path, mms);
|
|
13280
13283
|
}
|
|
13281
13284
|
|
|
13282
|
-
exports.unrollMmMatch = unrollMmMatch;
|
|
13283
|
-
|
|
13284
13285
|
/***/ }),
|
|
13285
13286
|
|
|
13286
13287
|
/***/ "./node_modules/.f/_/@fynpo/base/1.1.17-fynlocal_h/@fynpo/base/dist/util.js":
|
|
@@ -37454,7 +37455,7 @@ function entries(obj) {
|
|
|
37454
37455
|
|
|
37455
37456
|
/***/ }),
|
|
37456
37457
|
|
|
37457
|
-
/***/ "./node_modules/.f/_/filter-scan-dir/1.5.
|
|
37458
|
+
/***/ "./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/dist/index.js":
|
|
37458
37459
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
37459
37460
|
|
|
37460
37461
|
"use strict";
|
|
@@ -37478,7 +37479,7 @@ const path_1 = __importDefault(__webpack_require__("path"));
|
|
|
37478
37479
|
|
|
37479
37480
|
const util_1 = __importDefault(__webpack_require__("util"));
|
|
37480
37481
|
|
|
37481
|
-
const util_2 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
37482
|
+
const util_2 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/dist/util.js");
|
|
37482
37483
|
/**
|
|
37483
37484
|
* create a new ExtrasData object
|
|
37484
37485
|
*
|
|
@@ -37491,7 +37492,7 @@ const util_2 = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.5/fi
|
|
|
37491
37492
|
*/
|
|
37492
37493
|
|
|
37493
37494
|
|
|
37494
|
-
function makeExtrasData(file, fullFile, path, stat, options) {
|
|
37495
|
+
function makeExtrasData(file, fullFile, path, stat, files, options) {
|
|
37495
37496
|
const dirFile = options._join2(path, file);
|
|
37496
37497
|
|
|
37497
37498
|
const ix = file.lastIndexOf(".");
|
|
@@ -37504,7 +37505,8 @@ function makeExtrasData(file, fullFile, path, stat, options) {
|
|
|
37504
37505
|
fullFile,
|
|
37505
37506
|
dirFile,
|
|
37506
37507
|
ext: file.substring(ix),
|
|
37507
|
-
noExt: file.substring(0, ix)
|
|
37508
|
+
noExt: file.substring(0, ix),
|
|
37509
|
+
files
|
|
37508
37510
|
};
|
|
37509
37511
|
} else {
|
|
37510
37512
|
return {
|
|
@@ -37514,7 +37516,8 @@ function makeExtrasData(file, fullFile, path, stat, options) {
|
|
|
37514
37516
|
fullFile,
|
|
37515
37517
|
dirFile,
|
|
37516
37518
|
ext: "",
|
|
37517
|
-
noExt: file
|
|
37519
|
+
noExt: file,
|
|
37520
|
+
files
|
|
37518
37521
|
};
|
|
37519
37522
|
}
|
|
37520
37523
|
}
|
|
@@ -37646,11 +37649,11 @@ function walkSync(path, options, level = 0) {
|
|
|
37646
37649
|
const fullFile = options._join2(dir, file);
|
|
37647
37650
|
|
|
37648
37651
|
const stat = fs_1.default.lstatSync(fullFile);
|
|
37649
|
-
extras = makeExtrasData(file, fullFile, path, stat, options);
|
|
37652
|
+
extras = makeExtrasData(file, fullFile, path, stat, files, options);
|
|
37650
37653
|
} else {
|
|
37651
37654
|
const fullFile = options._join2(dir, file.name);
|
|
37652
37655
|
|
|
37653
|
-
extras = makeExtrasData(file.name, fullFile, path, file, options);
|
|
37656
|
+
extras = makeExtrasData(file.name, fullFile, path, file, files, options);
|
|
37654
37657
|
}
|
|
37655
37658
|
|
|
37656
37659
|
if (extras.stat.isDirectory()) {
|
|
@@ -37720,11 +37723,11 @@ async function walk(path, options, level = 0) {
|
|
|
37720
37723
|
const fullFile = options._join2(dir, file);
|
|
37721
37724
|
|
|
37722
37725
|
const stat = await asyncLStat(fullFile);
|
|
37723
|
-
extras = makeExtrasData(file, fullFile, path, stat, options);
|
|
37726
|
+
extras = makeExtrasData(file, fullFile, path, stat, files, options);
|
|
37724
37727
|
} else {
|
|
37725
37728
|
const fullFile = options._join2(dir, file.name);
|
|
37726
37729
|
|
|
37727
|
-
extras = makeExtrasData(file.name, fullFile, path, file, options);
|
|
37730
|
+
extras = makeExtrasData(file.name, fullFile, path, file, files, options);
|
|
37728
37731
|
}
|
|
37729
37732
|
|
|
37730
37733
|
if (extras.stat.isDirectory()) {
|
|
@@ -37861,7 +37864,7 @@ exports.filterScanDirSync = filterScanDirSync;
|
|
|
37861
37864
|
|
|
37862
37865
|
/***/ }),
|
|
37863
37866
|
|
|
37864
|
-
/***/ "./node_modules/.f/_/filter-scan-dir/1.5.
|
|
37867
|
+
/***/ "./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/dist/util.js":
|
|
37865
37868
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
37866
37869
|
|
|
37867
37870
|
"use strict";
|
|
@@ -37930,13 +37933,13 @@ exports.makePathJoin2 = makePathJoin2;
|
|
|
37930
37933
|
|
|
37931
37934
|
/***/ }),
|
|
37932
37935
|
|
|
37933
|
-
/***/ "./node_modules/.f/_/filter-scan-dir/1.5.
|
|
37936
|
+
/***/ "./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/lib/index.js":
|
|
37934
37937
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
37935
37938
|
|
|
37936
37939
|
"use strict";
|
|
37937
37940
|
|
|
37938
37941
|
|
|
37939
|
-
const fsd = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.
|
|
37942
|
+
const fsd = __webpack_require__("./node_modules/.f/_/filter-scan-dir/1.5.6/filter-scan-dir/dist/index.js");
|
|
37940
37943
|
|
|
37941
37944
|
const asyncApi = options => fsd.filterScanDir(options);
|
|
37942
37945
|
|
|
@@ -42941,7 +42944,7 @@ function ownProp(obj, field) {
|
|
|
42941
42944
|
|
|
42942
42945
|
var path = __webpack_require__("path");
|
|
42943
42946
|
|
|
42944
|
-
var minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
42947
|
+
var minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js");
|
|
42945
42948
|
|
|
42946
42949
|
var isAbsolute = __webpack_require__("./node_modules/.f/_/path-is-absolute/1.0.1/path-is-absolute/index.js");
|
|
42947
42950
|
|
|
@@ -43189,7 +43192,7 @@ var fs = __webpack_require__("fs");
|
|
|
43189
43192
|
|
|
43190
43193
|
var rp = __webpack_require__("./node_modules/.f/_/fs.realpath/1.0.0/fs.realpath/index.js");
|
|
43191
43194
|
|
|
43192
|
-
var minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
43195
|
+
var minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js");
|
|
43193
43196
|
|
|
43194
43197
|
var Minimatch = minimatch.Minimatch;
|
|
43195
43198
|
|
|
@@ -43856,7 +43859,7 @@ var fs = __webpack_require__("fs");
|
|
|
43856
43859
|
|
|
43857
43860
|
var rp = __webpack_require__("./node_modules/.f/_/fs.realpath/1.0.0/fs.realpath/index.js");
|
|
43858
43861
|
|
|
43859
|
-
var minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
43862
|
+
var minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js");
|
|
43860
43863
|
|
|
43861
43864
|
var Minimatch = minimatch.Minimatch;
|
|
43862
43865
|
|
|
@@ -48502,7 +48505,7 @@ const path = __webpack_require__("path");
|
|
|
48502
48505
|
|
|
48503
48506
|
const EE = (__webpack_require__("events").EventEmitter);
|
|
48504
48507
|
|
|
48505
|
-
const Minimatch = (__webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
48508
|
+
const Minimatch = (__webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js").Minimatch);
|
|
48506
48509
|
|
|
48507
48510
|
class Walker extends EE {
|
|
48508
48511
|
constructor(opts) {
|
|
@@ -64094,19 +64097,21 @@ module.exports["default"] = mimicFn;
|
|
|
64094
64097
|
|
|
64095
64098
|
/***/ }),
|
|
64096
64099
|
|
|
64097
|
-
/***/ "./node_modules/.f/_/minimatch/3.
|
|
64100
|
+
/***/ "./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js":
|
|
64098
64101
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
64099
64102
|
|
|
64100
64103
|
module.exports = minimatch;
|
|
64101
64104
|
minimatch.Minimatch = Minimatch;
|
|
64102
|
-
|
|
64105
|
+
|
|
64106
|
+
var path = function () {
|
|
64107
|
+
try {
|
|
64108
|
+
return __webpack_require__("path");
|
|
64109
|
+
} catch (e) {}
|
|
64110
|
+
}() || {
|
|
64103
64111
|
sep: '/'
|
|
64104
64112
|
};
|
|
64105
64113
|
|
|
64106
|
-
|
|
64107
|
-
path = __webpack_require__("path");
|
|
64108
|
-
} catch (er) {}
|
|
64109
|
-
|
|
64114
|
+
minimatch.sep = path.sep;
|
|
64110
64115
|
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
|
|
64111
64116
|
|
|
64112
64117
|
var expand = __webpack_require__("./node_modules/.f/_/brace-expansion/1.1.11/brace-expansion/index.js");
|
|
@@ -64167,51 +64172,71 @@ function filter(pattern, options) {
|
|
|
64167
64172
|
}
|
|
64168
64173
|
|
|
64169
64174
|
function ext(a, b) {
|
|
64170
|
-
a = a || {};
|
|
64171
64175
|
b = b || {};
|
|
64172
64176
|
var t = {};
|
|
64173
|
-
Object.keys(b).forEach(function (k) {
|
|
64174
|
-
t[k] = b[k];
|
|
64175
|
-
});
|
|
64176
64177
|
Object.keys(a).forEach(function (k) {
|
|
64177
64178
|
t[k] = a[k];
|
|
64178
64179
|
});
|
|
64180
|
+
Object.keys(b).forEach(function (k) {
|
|
64181
|
+
t[k] = b[k];
|
|
64182
|
+
});
|
|
64179
64183
|
return t;
|
|
64180
64184
|
}
|
|
64181
64185
|
|
|
64182
64186
|
minimatch.defaults = function (def) {
|
|
64183
|
-
if (!def || !Object.keys(def).length)
|
|
64187
|
+
if (!def || typeof def !== 'object' || !Object.keys(def).length) {
|
|
64188
|
+
return minimatch;
|
|
64189
|
+
}
|
|
64190
|
+
|
|
64184
64191
|
var orig = minimatch;
|
|
64185
64192
|
|
|
64186
64193
|
var m = function minimatch(p, pattern, options) {
|
|
64187
|
-
return orig
|
|
64194
|
+
return orig(p, pattern, ext(def, options));
|
|
64188
64195
|
};
|
|
64189
64196
|
|
|
64190
64197
|
m.Minimatch = function Minimatch(pattern, options) {
|
|
64191
64198
|
return new orig.Minimatch(pattern, ext(def, options));
|
|
64192
64199
|
};
|
|
64193
64200
|
|
|
64201
|
+
m.Minimatch.defaults = function defaults(options) {
|
|
64202
|
+
return orig.defaults(ext(def, options)).Minimatch;
|
|
64203
|
+
};
|
|
64204
|
+
|
|
64205
|
+
m.filter = function filter(pattern, options) {
|
|
64206
|
+
return orig.filter(pattern, ext(def, options));
|
|
64207
|
+
};
|
|
64208
|
+
|
|
64209
|
+
m.defaults = function defaults(options) {
|
|
64210
|
+
return orig.defaults(ext(def, options));
|
|
64211
|
+
};
|
|
64212
|
+
|
|
64213
|
+
m.makeRe = function makeRe(pattern, options) {
|
|
64214
|
+
return orig.makeRe(pattern, ext(def, options));
|
|
64215
|
+
};
|
|
64216
|
+
|
|
64217
|
+
m.braceExpand = function braceExpand(pattern, options) {
|
|
64218
|
+
return orig.braceExpand(pattern, ext(def, options));
|
|
64219
|
+
};
|
|
64220
|
+
|
|
64221
|
+
m.match = function (list, pattern, options) {
|
|
64222
|
+
return orig.match(list, pattern, ext(def, options));
|
|
64223
|
+
};
|
|
64224
|
+
|
|
64194
64225
|
return m;
|
|
64195
64226
|
};
|
|
64196
64227
|
|
|
64197
64228
|
Minimatch.defaults = function (def) {
|
|
64198
|
-
if (!def || !Object.keys(def).length) return Minimatch;
|
|
64199
64229
|
return minimatch.defaults(def).Minimatch;
|
|
64200
64230
|
};
|
|
64201
64231
|
|
|
64202
64232
|
function minimatch(p, pattern, options) {
|
|
64203
|
-
|
|
64204
|
-
throw new TypeError('glob pattern string required');
|
|
64205
|
-
}
|
|
64206
|
-
|
|
64233
|
+
assertValidPattern(pattern);
|
|
64207
64234
|
if (!options) options = {}; // shortcut: comments match nothing.
|
|
64208
64235
|
|
|
64209
64236
|
if (!options.nocomment && pattern.charAt(0) === '#') {
|
|
64210
64237
|
return false;
|
|
64211
|
-
}
|
|
64212
|
-
|
|
64238
|
+
}
|
|
64213
64239
|
|
|
64214
|
-
if (pattern.trim() === '') return p === '';
|
|
64215
64240
|
return new Minimatch(pattern, options).match(p);
|
|
64216
64241
|
}
|
|
64217
64242
|
|
|
@@ -64220,14 +64245,11 @@ function Minimatch(pattern, options) {
|
|
|
64220
64245
|
return new Minimatch(pattern, options);
|
|
64221
64246
|
}
|
|
64222
64247
|
|
|
64223
|
-
|
|
64224
|
-
throw new TypeError('glob pattern string required');
|
|
64225
|
-
}
|
|
64226
|
-
|
|
64248
|
+
assertValidPattern(pattern);
|
|
64227
64249
|
if (!options) options = {};
|
|
64228
64250
|
pattern = pattern.trim(); // windows support: need to use /, not \
|
|
64229
64251
|
|
|
64230
|
-
if (path.sep !== '/') {
|
|
64252
|
+
if (!options.allowWindowsEscape && path.sep !== '/') {
|
|
64231
64253
|
pattern = pattern.split(path.sep).join('/');
|
|
64232
64254
|
}
|
|
64233
64255
|
|
|
@@ -64237,7 +64259,8 @@ function Minimatch(pattern, options) {
|
|
|
64237
64259
|
this.regexp = null;
|
|
64238
64260
|
this.negate = false;
|
|
64239
64261
|
this.comment = false;
|
|
64240
|
-
this.empty = false;
|
|
64262
|
+
this.empty = false;
|
|
64263
|
+
this.partial = !!options.partial; // make the set of regexps etc.
|
|
64241
64264
|
|
|
64242
64265
|
this.make();
|
|
64243
64266
|
}
|
|
@@ -64247,8 +64270,6 @@ Minimatch.prototype.debug = function () {};
|
|
|
64247
64270
|
Minimatch.prototype.make = make;
|
|
64248
64271
|
|
|
64249
64272
|
function make() {
|
|
64250
|
-
// don't do it more than once.
|
|
64251
|
-
if (this._made) return;
|
|
64252
64273
|
var pattern = this.pattern;
|
|
64253
64274
|
var options = this.options; // empty patterns and comments match nothing.
|
|
64254
64275
|
|
|
@@ -64266,7 +64287,9 @@ function make() {
|
|
|
64266
64287
|
this.parseNegate(); // step 2: expand braces
|
|
64267
64288
|
|
|
64268
64289
|
var set = this.globSet = this.braceExpand();
|
|
64269
|
-
if (options.debug) this.debug =
|
|
64290
|
+
if (options.debug) this.debug = function debug() {
|
|
64291
|
+
console.error.apply(console, arguments);
|
|
64292
|
+
};
|
|
64270
64293
|
this.debug(this.pattern, set); // step 3: now we have a set, so turn each one into a series of path-portion
|
|
64271
64294
|
// matching patterns.
|
|
64272
64295
|
// These will be regexps, except in the case of "**", which is
|
|
@@ -64334,18 +64357,28 @@ function braceExpand(pattern, options) {
|
|
|
64334
64357
|
}
|
|
64335
64358
|
|
|
64336
64359
|
pattern = typeof pattern === 'undefined' ? this.pattern : pattern;
|
|
64360
|
+
assertValidPattern(pattern); // Thanks to Yeting Li <https://github.com/yetingli> for
|
|
64361
|
+
// improving this regexp to avoid a ReDOS vulnerability.
|
|
64337
64362
|
|
|
64338
|
-
if (
|
|
64339
|
-
throw new TypeError('undefined pattern');
|
|
64340
|
-
}
|
|
64341
|
-
|
|
64342
|
-
if (options.nobrace || !pattern.match(/\{.*\}/)) {
|
|
64363
|
+
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
64343
64364
|
// shortcut. no need to expand.
|
|
64344
64365
|
return [pattern];
|
|
64345
64366
|
}
|
|
64346
64367
|
|
|
64347
64368
|
return expand(pattern);
|
|
64348
|
-
}
|
|
64369
|
+
}
|
|
64370
|
+
|
|
64371
|
+
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
64372
|
+
|
|
64373
|
+
var assertValidPattern = function (pattern) {
|
|
64374
|
+
if (typeof pattern !== 'string') {
|
|
64375
|
+
throw new TypeError('invalid pattern');
|
|
64376
|
+
}
|
|
64377
|
+
|
|
64378
|
+
if (pattern.length > MAX_PATTERN_LENGTH) {
|
|
64379
|
+
throw new TypeError('pattern is too long');
|
|
64380
|
+
}
|
|
64381
|
+
}; // parse a component of the expanded set.
|
|
64349
64382
|
// At this point, no pattern may contain "/" in it
|
|
64350
64383
|
// so we're going to return a 2d array, where each entry is the full
|
|
64351
64384
|
// pattern, split on '/', and then turned into a regular expression.
|
|
@@ -64362,13 +64395,13 @@ Minimatch.prototype.parse = parse;
|
|
|
64362
64395
|
var SUBPARSE = {};
|
|
64363
64396
|
|
|
64364
64397
|
function parse(pattern, isSub) {
|
|
64365
|
-
|
|
64366
|
-
throw new TypeError('pattern is too long');
|
|
64367
|
-
}
|
|
64368
|
-
|
|
64398
|
+
assertValidPattern(pattern);
|
|
64369
64399
|
var options = this.options; // shortcuts
|
|
64370
64400
|
|
|
64371
|
-
if (
|
|
64401
|
+
if (pattern === '**') {
|
|
64402
|
+
if (!options.noglobstar) return GLOBSTAR;else pattern = '*';
|
|
64403
|
+
}
|
|
64404
|
+
|
|
64372
64405
|
if (pattern === '') return '';
|
|
64373
64406
|
var re = '';
|
|
64374
64407
|
var hasMagic = !!options.nocase;
|
|
@@ -64422,10 +64455,13 @@ function parse(pattern, isSub) {
|
|
|
64422
64455
|
}
|
|
64423
64456
|
|
|
64424
64457
|
switch (c) {
|
|
64458
|
+
/* istanbul ignore next */
|
|
64425
64459
|
case '/':
|
|
64426
|
-
|
|
64427
|
-
|
|
64428
|
-
|
|
64460
|
+
{
|
|
64461
|
+
// completely not allowed, even escaped.
|
|
64462
|
+
// Should already be path-split by now.
|
|
64463
|
+
return false;
|
|
64464
|
+
}
|
|
64429
64465
|
|
|
64430
64466
|
case '\\':
|
|
64431
64467
|
clearStateChar();
|
|
@@ -64543,28 +64579,26 @@ function parse(pattern, isSub) {
|
|
|
64543
64579
|
continue;
|
|
64544
64580
|
} // handle the case where we left a class open.
|
|
64545
64581
|
// "[z-a]" is valid, equivalent to "\[z-a\]"
|
|
64582
|
+
// split where the last [ was, make sure we don't have
|
|
64583
|
+
// an invalid re. if so, re-walk the contents of the
|
|
64584
|
+
// would-be class to re-translate any characters that
|
|
64585
|
+
// were passed through as-is
|
|
64586
|
+
// TODO: It would probably be faster to determine this
|
|
64587
|
+
// without a try/catch and a new RegExp, but it's tricky
|
|
64588
|
+
// to do safely. For now, this is safe and works.
|
|
64546
64589
|
|
|
64547
64590
|
|
|
64548
|
-
|
|
64549
|
-
// split where the last [ was, make sure we don't have
|
|
64550
|
-
// an invalid re. if so, re-walk the contents of the
|
|
64551
|
-
// would-be class to re-translate any characters that
|
|
64552
|
-
// were passed through as-is
|
|
64553
|
-
// TODO: It would probably be faster to determine this
|
|
64554
|
-
// without a try/catch and a new RegExp, but it's tricky
|
|
64555
|
-
// to do safely. For now, this is safe and works.
|
|
64556
|
-
var cs = pattern.substring(classStart + 1, i);
|
|
64591
|
+
var cs = pattern.substring(classStart + 1, i);
|
|
64557
64592
|
|
|
64558
|
-
|
|
64559
|
-
|
|
64560
|
-
|
|
64561
|
-
|
|
64562
|
-
|
|
64563
|
-
|
|
64564
|
-
|
|
64565
|
-
|
|
64566
|
-
|
|
64567
|
-
}
|
|
64593
|
+
try {
|
|
64594
|
+
RegExp('[' + cs + ']');
|
|
64595
|
+
} catch (er) {
|
|
64596
|
+
// not a valid class!
|
|
64597
|
+
var sp = this.parse(cs, SUBPARSE);
|
|
64598
|
+
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]';
|
|
64599
|
+
hasMagic = hasMagic || sp[1];
|
|
64600
|
+
inClass = false;
|
|
64601
|
+
continue;
|
|
64568
64602
|
} // finish up the class.
|
|
64569
64603
|
|
|
64570
64604
|
|
|
@@ -64646,8 +64680,8 @@ function parse(pattern, isSub) {
|
|
|
64646
64680
|
var addPatternStart = false;
|
|
64647
64681
|
|
|
64648
64682
|
switch (re.charAt(0)) {
|
|
64649
|
-
case '.':
|
|
64650
64683
|
case '[':
|
|
64684
|
+
case '.':
|
|
64651
64685
|
case '(':
|
|
64652
64686
|
addPatternStart = true;
|
|
64653
64687
|
} // Hack to work around lack of negative lookbehind in JS
|
|
@@ -64712,7 +64746,9 @@ function parse(pattern, isSub) {
|
|
|
64712
64746
|
|
|
64713
64747
|
try {
|
|
64714
64748
|
var regExp = new RegExp('^' + re + '$', flags);
|
|
64715
|
-
} catch (er)
|
|
64749
|
+
} catch (er)
|
|
64750
|
+
/* istanbul ignore next - should be impossible */
|
|
64751
|
+
{
|
|
64716
64752
|
// If it was an invalid regular expression, then it can't match
|
|
64717
64753
|
// anything. This trick looks for a character after the end of
|
|
64718
64754
|
// the string, which is of course impossible, except in multi-line
|
|
@@ -64762,7 +64798,9 @@ function makeRe() {
|
|
|
64762
64798
|
|
|
64763
64799
|
try {
|
|
64764
64800
|
this.regexp = new RegExp(re, flags);
|
|
64765
|
-
} catch (ex)
|
|
64801
|
+
} catch (ex)
|
|
64802
|
+
/* istanbul ignore next - should be impossible */
|
|
64803
|
+
{
|
|
64766
64804
|
this.regexp = false;
|
|
64767
64805
|
}
|
|
64768
64806
|
|
|
@@ -64783,9 +64821,8 @@ minimatch.match = function (list, pattern, options) {
|
|
|
64783
64821
|
return list;
|
|
64784
64822
|
};
|
|
64785
64823
|
|
|
64786
|
-
Minimatch.prototype.match = match
|
|
64787
|
-
|
|
64788
|
-
function match(f, partial) {
|
|
64824
|
+
Minimatch.prototype.match = function match(f, partial) {
|
|
64825
|
+
if (typeof partial === 'undefined') partial = this.partial;
|
|
64789
64826
|
this.debug('match', f, this.pattern); // short-circuit in the case of busted things.
|
|
64790
64827
|
// comments, etc.
|
|
64791
64828
|
|
|
@@ -64836,7 +64873,7 @@ function match(f, partial) {
|
|
|
64836
64873
|
|
|
64837
64874
|
if (options.flipNegate) return false;
|
|
64838
64875
|
return this.negate;
|
|
64839
|
-
} // set partial to true to test if, for example,
|
|
64876
|
+
}; // set partial to true to test if, for example,
|
|
64840
64877
|
// "/a/b" matches the start of "/*/b/*/d"
|
|
64841
64878
|
// Partial means, if you run out of file before you run
|
|
64842
64879
|
// out of pattern, then that's fine, as long as all
|
|
@@ -64859,6 +64896,8 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
64859
64896
|
this.debug(pattern, p, f); // should be impossible.
|
|
64860
64897
|
// some invalid regexp stuff in the set.
|
|
64861
64898
|
|
|
64899
|
+
/* istanbul ignore if */
|
|
64900
|
+
|
|
64862
64901
|
if (p === false) return false;
|
|
64863
64902
|
|
|
64864
64903
|
if (p === GLOBSTAR) {
|
|
@@ -64928,6 +64967,8 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
64928
64967
|
// However, in partial mode, we can't say this is necessarily over.
|
|
64929
64968
|
// If there's more *pattern* left, then
|
|
64930
64969
|
|
|
64970
|
+
/* istanbul ignore if */
|
|
64971
|
+
|
|
64931
64972
|
|
|
64932
64973
|
if (partial) {
|
|
64933
64974
|
// ran out of file
|
|
@@ -64944,12 +64985,7 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
64944
64985
|
var hit;
|
|
64945
64986
|
|
|
64946
64987
|
if (typeof p === 'string') {
|
|
64947
|
-
|
|
64948
|
-
hit = f.toLowerCase() === p.toLowerCase();
|
|
64949
|
-
} else {
|
|
64950
|
-
hit = f === p;
|
|
64951
|
-
}
|
|
64952
|
-
|
|
64988
|
+
hit = f === p;
|
|
64953
64989
|
this.debug('string match', p, f, hit);
|
|
64954
64990
|
} else {
|
|
64955
64991
|
hit = f.match(p);
|
|
@@ -64979,14 +65015,17 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
64979
65015
|
// this is ok if we're doing the match as part of
|
|
64980
65016
|
// a glob fs traversal.
|
|
64981
65017
|
return partial;
|
|
64982
|
-
} else
|
|
64983
|
-
|
|
64984
|
-
|
|
64985
|
-
|
|
64986
|
-
|
|
64987
|
-
|
|
64988
|
-
|
|
64989
|
-
|
|
65018
|
+
} else
|
|
65019
|
+
/* istanbul ignore else */
|
|
65020
|
+
if (pi === pl) {
|
|
65021
|
+
// ran out of pattern, still have file left.
|
|
65022
|
+
// this is only acceptable if we're on the very last
|
|
65023
|
+
// empty segment of a file with a trailing slash.
|
|
65024
|
+
// a/* should match a/b/
|
|
65025
|
+
return fi === fl - 1 && file[fi] === '';
|
|
65026
|
+
} // should be unreachable.
|
|
65027
|
+
|
|
65028
|
+
/* istanbul ignore next */
|
|
64990
65029
|
|
|
64991
65030
|
|
|
64992
65031
|
throw new Error('wtf?');
|
|
@@ -80582,7 +80621,7 @@ module.exports = opfsWrap;
|
|
|
80582
80621
|
|
|
80583
80622
|
/***/ }),
|
|
80584
80623
|
|
|
80585
|
-
/***/ "./node_modules/.f/_/optional-require/1.1.
|
|
80624
|
+
/***/ "./node_modules/.f/_/optional-require/1.1.10/optional-require/dist/index.js":
|
|
80586
80625
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
80587
80626
|
|
|
80588
80627
|
"use strict";
|
|
@@ -80646,35 +80685,39 @@ function getPnpDependencyName(name) {
|
|
|
80646
80685
|
* that's not found.
|
|
80647
80686
|
*
|
|
80648
80687
|
* @param err - the error
|
|
80649
|
-
* @param
|
|
80688
|
+
* @param requestPath - request path of the module being required
|
|
80650
80689
|
* @returns true or false
|
|
80651
80690
|
*/
|
|
80652
80691
|
|
|
80653
80692
|
|
|
80654
|
-
function
|
|
80693
|
+
function checkSelfModuleNotFoundErrors(err, requestPath) {
|
|
80655
80694
|
// Check the first line of the error message
|
|
80656
80695
|
var msg = err.message.split("\n")[0];
|
|
80657
|
-
/* istanbul ignore
|
|
80696
|
+
/* istanbul ignore next */
|
|
80658
80697
|
|
|
80659
80698
|
if (!msg) {
|
|
80699
|
+
/* istanbul ignore next */
|
|
80660
80700
|
return false;
|
|
80661
|
-
} //
|
|
80701
|
+
} // exception that's not due to the module itself not found
|
|
80662
80702
|
|
|
80663
80703
|
|
|
80664
|
-
if (
|
|
80704
|
+
if (err.code === "MODULE_NOT_FOUND" && ( // If the module we are requiring failed because it try to require a
|
|
80705
|
+
// module that's not found, then we have to report this as failed.
|
|
80706
|
+
// - So the error message must contain the module name we are requiring.
|
|
80707
|
+
err.requestPath === requestPath || msg.includes("not find module '".concat(requestPath, "'")) || msg.includes("not find package '".concat(requestPath, "'")))) {
|
|
80665
80708
|
return true;
|
|
80666
80709
|
}
|
|
80667
80710
|
|
|
80668
|
-
var pnpDependencyName = getPnpDependencyName(
|
|
80711
|
+
var pnpDependencyName = getPnpDependencyName(requestPath);
|
|
80669
80712
|
|
|
80670
80713
|
if (pnpDependencyName) {
|
|
80671
80714
|
return (// Check for "Your application tried to access foo (a peer dependency) ..." (Yarn Berry PnP)
|
|
80672
80715
|
// https://github.com/yarnpkg/berry/blob/e81dc0d29bb2f41818d9c5c1c74bab1406fb979b/packages/yarnpkg-pnp/sources/loader/makeApi.ts#L680
|
|
80673
|
-
msg.includes(" "
|
|
80716
|
+
msg.includes(" ".concat(pnpDependencyName, " ")) || // Check for "Your application tried to access foo. While ..." (Yarn Berry PnP)
|
|
80674
80717
|
// https://github.com/yarnpkg/berry/blob/e81dc0d29bb2f41818d9c5c1c74bab1406fb979b/packages/yarnpkg-pnp/sources/loader/makeApi.ts#L704
|
|
80675
|
-
msg.includes(" "
|
|
80718
|
+
msg.includes(" ".concat(pnpDependencyName, ". ")) || // Check for "Your application tried to access foo, but ..." (Yarn Berry PnP)
|
|
80676
80719
|
// https://github.com/yarnpkg/berry/blob/e81dc0d29bb2f41818d9c5c1c74bab1406fb979b/packages/yarnpkg-pnp/sources/loader/makeApi.ts#L718
|
|
80677
|
-
msg.includes(" "
|
|
80720
|
+
msg.includes(" ".concat(pnpDependencyName, ", "))
|
|
80678
80721
|
);
|
|
80679
80722
|
}
|
|
80680
80723
|
|
|
@@ -80689,7 +80732,7 @@ function findModuleNotFound(err, name) {
|
|
|
80689
80732
|
|
|
80690
80733
|
|
|
80691
80734
|
function defaultLog(message, path) {
|
|
80692
|
-
console.log("Just FYI: "
|
|
80735
|
+
console.log("Just FYI: ".concat(message, "; Path \"").concat(path, "\""));
|
|
80693
80736
|
}
|
|
80694
80737
|
|
|
80695
80738
|
var __defaultLog = defaultLog;
|
|
@@ -80733,26 +80776,23 @@ function _getOptions(optsOrMsg, requireFunction, log) {
|
|
|
80733
80776
|
function _optionalRequire(path, opts) {
|
|
80734
80777
|
try {
|
|
80735
80778
|
return opts.resolve ? opts.require.resolve(path) : opts.require(path);
|
|
80736
|
-
} catch (
|
|
80737
|
-
|
|
80738
|
-
if (e.code !== "MODULE_NOT_FOUND" || !findModuleNotFound(e, path)) {
|
|
80739
|
-
// if the module we are requiring fail because it try to require a
|
|
80740
|
-
// module that's not found, then we have to report this as failed.
|
|
80779
|
+
} catch (err) {
|
|
80780
|
+
if (!checkSelfModuleNotFoundErrors(err, path)) {
|
|
80741
80781
|
if (typeof opts.fail === "function") {
|
|
80742
|
-
return opts.fail(
|
|
80782
|
+
return opts.fail(err);
|
|
80743
80783
|
}
|
|
80744
80784
|
|
|
80745
|
-
throw
|
|
80785
|
+
throw err;
|
|
80746
80786
|
}
|
|
80747
80787
|
|
|
80748
80788
|
if (opts.message) {
|
|
80749
|
-
var message = opts.message === true ? "" : opts.message
|
|
80789
|
+
var message = opts.message === true ? "" : "".concat(opts.message, " - ");
|
|
80750
80790
|
var r = opts.resolve ? "resolved" : "found";
|
|
80751
|
-
opts.log(message
|
|
80791
|
+
opts.log("".concat(message, "optional module not ").concat(r), path);
|
|
80752
80792
|
}
|
|
80753
80793
|
|
|
80754
80794
|
if (typeof opts.notFound === "function") {
|
|
80755
|
-
return opts.notFound(
|
|
80795
|
+
return opts.notFound(err);
|
|
80756
80796
|
}
|
|
80757
80797
|
|
|
80758
80798
|
return opts.default;
|
|
@@ -80846,7 +80886,7 @@ exports.optionalRequireCwd = makeOptionalRequire((0, require_at_1.default)(proce
|
|
|
80846
80886
|
|
|
80847
80887
|
/***/ }),
|
|
80848
80888
|
|
|
80849
|
-
/***/ "./node_modules/.f/_/optional-require/1.1.
|
|
80889
|
+
/***/ "./node_modules/.f/_/optional-require/1.1.10/optional-require/index.js":
|
|
80850
80890
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
80851
80891
|
|
|
80852
80892
|
"use strict";
|
|
@@ -80856,7 +80896,7 @@ exports.optionalRequireCwd = makeOptionalRequire((0, require_at_1.default)(proce
|
|
|
80856
80896
|
*
|
|
80857
80897
|
*/
|
|
80858
80898
|
|
|
80859
|
-
const lib = __webpack_require__("./node_modules/.f/_/optional-require/1.1.
|
|
80899
|
+
const lib = __webpack_require__("./node_modules/.f/_/optional-require/1.1.10/optional-require/dist/index.js");
|
|
80860
80900
|
|
|
80861
80901
|
module.exports = function () {
|
|
80862
80902
|
return lib.makeOptionalRequire.apply(lib, arguments);
|
|
@@ -82431,7 +82471,7 @@ const fetchFromManifest = (__webpack_require__("./node_modules/.f/_/pacote/9.4.0
|
|
|
82431
82471
|
|
|
82432
82472
|
const finished = __webpack_require__("./node_modules/.f/_/pacote/9.4.0/pacote/lib/util/finished.js");
|
|
82433
82473
|
|
|
82434
|
-
const minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.
|
|
82474
|
+
const minimatch = __webpack_require__("./node_modules/.f/_/minimatch/3.1.2/minimatch/minimatch.js");
|
|
82435
82475
|
|
|
82436
82476
|
const normalize = __webpack_require__("./node_modules/.f/_/normalize-package-data/2.5.0/normalize-package-data/lib/normalize.js");
|
|
82437
82477
|
|