@uides/stepwise 2.0.2 → 2.0.4-platform-162.23-01-26-13-03
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/CHANGELOG.md +6 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/generators/node_modules/@isaacs/cliui/build/lib/index.js +0 -211
- package/generators/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -31
- package/generators/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -33
- package/generators/node_modules/@pkgjs/parseargs/examples/negate.js +0 -48
- package/generators/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -38
- package/generators/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -36
- package/generators/node_modules/@pkgjs/parseargs/index.js +0 -263
- package/generators/node_modules/@pkgjs/parseargs/internal/errors.js +0 -55
- package/generators/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -258
- package/generators/node_modules/@pkgjs/parseargs/internal/util.js +0 -24
- package/generators/node_modules/@pkgjs/parseargs/internal/validators.js +0 -61
- package/generators/node_modules/@pkgjs/parseargs/utils.js +0 -86
- package/generators/node_modules/ansi-regex/index.js +0 -5
- package/generators/node_modules/ansi-styles/index.js +0 -304
- package/generators/node_modules/balanced-match/index.js +0 -70
- package/generators/node_modules/brace-expansion/index.js +0 -153
- package/generators/node_modules/change-case/dist/index.js +0 -135
- package/generators/node_modules/change-case/dist/keys.js +0 -28
- package/generators/node_modules/color-convert/conversions.js +0 -840
- package/generators/node_modules/color-convert/index.js +0 -66
- package/generators/node_modules/color-convert/route.js +0 -81
- package/generators/node_modules/color-name/index.js +0 -757
- package/generators/node_modules/cross-spawn/index.js +0 -47
- package/generators/node_modules/cross-spawn/lib/enoent.js +0 -50
- package/generators/node_modules/cross-spawn/lib/parse.js +0 -91
- package/generators/node_modules/cross-spawn/lib/util/escape.js +0 -31
- package/generators/node_modules/cross-spawn/lib/util/readShebang.js +0 -37
- package/generators/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -56
- package/generators/node_modules/eastasianwidth/eastasianwidth.js +0 -66
- package/generators/node_modules/emoji-regex/RGI_Emoji.js +0 -18
- package/generators/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -16
- package/generators/node_modules/emoji-regex/es2015/index.js +0 -16
- package/generators/node_modules/emoji-regex/es2015/text.js +0 -16
- package/generators/node_modules/emoji-regex/index.js +0 -18
- package/generators/node_modules/emoji-regex/text.js +0 -18
- package/generators/node_modules/flat/cli.js +0 -31
- package/generators/node_modules/flat/index.js +0 -83
- package/generators/node_modules/foreground-child/dist/cjs/all-signals.js +0 -30
- package/generators/node_modules/foreground-child/dist/cjs/index.js +0 -156
- package/generators/node_modules/foreground-child/dist/cjs/watchdog.js +0 -63
- package/generators/node_modules/foreground-child/dist/mjs/all-signals.js +0 -3
- package/generators/node_modules/foreground-child/dist/mjs/index.js +0 -111
- package/generators/node_modules/foreground-child/dist/mjs/watchdog.js +0 -39
- package/generators/node_modules/glob/dist/commonjs/glob.js +0 -205
- package/generators/node_modules/glob/dist/commonjs/has-magic.js +0 -33
- package/generators/node_modules/glob/dist/commonjs/ignore.js +0 -87
- package/generators/node_modules/glob/dist/commonjs/index.js +0 -114
- package/generators/node_modules/glob/dist/commonjs/pattern.js +0 -154
- package/generators/node_modules/glob/dist/commonjs/processor.js +0 -214
- package/generators/node_modules/glob/dist/commonjs/walker.js +0 -271
- package/generators/node_modules/glob/dist/esm/glob.js +0 -165
- package/generators/node_modules/glob/dist/esm/has-magic.js +0 -9
- package/generators/node_modules/glob/dist/esm/ignore.js +0 -59
- package/generators/node_modules/glob/dist/esm/index.js +0 -52
- package/generators/node_modules/glob/dist/esm/pattern.js +0 -130
- package/generators/node_modules/glob/dist/esm/processor.js +0 -187
- package/generators/node_modules/glob/dist/esm/walker.js +0 -237
- package/generators/node_modules/is-fullwidth-code-point/index.js +0 -22
- package/generators/node_modules/isexe/index.js +0 -64
- package/generators/node_modules/isexe/mode.js +0 -46
- package/generators/node_modules/isexe/test/basic.js +0 -229
- package/generators/node_modules/isexe/windows.js +0 -45
- package/generators/node_modules/jackspeak/dist/commonjs/index.js +0 -683
- package/generators/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -65
- package/generators/node_modules/jackspeak/dist/esm/index.js +0 -640
- package/generators/node_modules/jackspeak/dist/esm/parse-args.js +0 -127
- package/generators/node_modules/lru-cache/dist/commonjs/index.js +0 -889
- package/generators/node_modules/lru-cache/dist/esm/index.js +0 -881
- package/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- package/generators/node_modules/minimatch/dist/cjs/ast.js +0 -389
- package/generators/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -169
- package/generators/node_modules/minimatch/dist/cjs/escape.js +0 -10
- package/generators/node_modules/minimatch/dist/cjs/index.js +0 -680
- package/generators/node_modules/minimatch/dist/cjs/unescape.js +0 -10
- package/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -6
- package/generators/node_modules/minimatch/dist/mjs/ast.js +0 -361
- package/generators/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -161
- package/generators/node_modules/minimatch/dist/mjs/escape.js +0 -2
- package/generators/node_modules/minimatch/dist/mjs/index.js +0 -612
- package/generators/node_modules/minimatch/dist/mjs/unescape.js +0 -2
- package/generators/node_modules/minipass/dist/commonjs/index.js +0 -623
- package/generators/node_modules/minipass/dist/esm/index.js +0 -584
- package/generators/node_modules/path-key/index.js +0 -23
- package/generators/node_modules/path-scurry/dist/cjs/index.js +0 -1161
- package/generators/node_modules/path-scurry/dist/mjs/index.js +0 -1078
- package/generators/node_modules/shebang-command/index.js +0 -28
- package/generators/node_modules/shebang-regex/index.js +0 -16
- package/generators/node_modules/signal-exit/dist/cjs/browser.js +0 -14
- package/generators/node_modules/signal-exit/dist/cjs/index.js +0 -176
- package/generators/node_modules/signal-exit/dist/cjs/signals.js +0 -14
- package/generators/node_modules/signal-exit/dist/mjs/browser.js +0 -4
- package/generators/node_modules/signal-exit/dist/mjs/index.js +0 -146
- package/generators/node_modules/signal-exit/dist/mjs/signals.js +0 -5
- package/generators/node_modules/string-width/index.js +0 -34
- package/generators/node_modules/string-width-cjs/index.js +0 -49
- package/generators/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -19
- package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +0 -16
- package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +0 -16
- package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +0 -18
- package/generators/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +0 -18
- package/generators/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -21
- package/generators/node_modules/strip-ansi/index.js +0 -7
- package/generators/node_modules/strip-ansi-cjs/index.js +0 -21
- package/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -19
- package/generators/node_modules/which/which.js +0 -108
- package/generators/node_modules/wrap-ansi/index.js +0 -134
- package/generators/node_modules/wrap-ansi-cjs/index.js +0 -158
- package/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -19
- package/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +0 -281
- package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +0 -16
- package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +0 -16
- package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +0 -18
- package/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +0 -18
- package/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +0 -49
- package/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -21
- package/src/generators/node_modules/.package-lock.json +0 -458
- package/src/generators/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
- package/src/generators/node_modules/@isaacs/cliui/README.md +0 -143
- package/src/generators/node_modules/@isaacs/cliui/build/index.cjs +0 -317
- package/src/generators/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
- package/src/generators/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
- package/src/generators/node_modules/@isaacs/cliui/index.mjs +0 -14
- package/src/generators/node_modules/@isaacs/cliui/package.json +0 -86
- package/src/generators/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
- package/src/generators/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
- package/src/generators/node_modules/@pkgjs/parseargs/LICENSE +0 -201
- package/src/generators/node_modules/@pkgjs/parseargs/README.md +0 -413
- package/src/generators/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
- package/src/generators/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
- package/src/generators/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
- package/src/generators/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
- package/src/generators/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
- package/src/generators/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
- package/src/generators/node_modules/@pkgjs/parseargs/index.js +0 -396
- package/src/generators/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
- package/src/generators/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
- package/src/generators/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
- package/src/generators/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
- package/src/generators/node_modules/@pkgjs/parseargs/package.json +0 -36
- package/src/generators/node_modules/@pkgjs/parseargs/utils.js +0 -198
- package/src/generators/node_modules/ansi-regex/index.d.ts +0 -33
- package/src/generators/node_modules/ansi-regex/index.js +0 -8
- package/src/generators/node_modules/ansi-regex/license +0 -9
- package/src/generators/node_modules/ansi-regex/package.json +0 -58
- package/src/generators/node_modules/ansi-regex/readme.md +0 -72
- package/src/generators/node_modules/ansi-styles/index.d.ts +0 -236
- package/src/generators/node_modules/ansi-styles/index.js +0 -223
- package/src/generators/node_modules/ansi-styles/license +0 -9
- package/src/generators/node_modules/ansi-styles/package.json +0 -54
- package/src/generators/node_modules/ansi-styles/readme.md +0 -173
- package/src/generators/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/src/generators/node_modules/balanced-match/LICENSE.md +0 -21
- package/src/generators/node_modules/balanced-match/README.md +0 -97
- package/src/generators/node_modules/balanced-match/index.js +0 -62
- package/src/generators/node_modules/balanced-match/package.json +0 -48
- package/src/generators/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/src/generators/node_modules/brace-expansion/LICENSE +0 -21
- package/src/generators/node_modules/brace-expansion/README.md +0 -135
- package/src/generators/node_modules/brace-expansion/index.js +0 -203
- package/src/generators/node_modules/brace-expansion/package.json +0 -46
- package/src/generators/node_modules/change-case/README.md +0 -78
- package/src/generators/node_modules/change-case/dist/index.d.ts +0 -78
- package/src/generators/node_modules/change-case/dist/index.js +0 -206
- package/src/generators/node_modules/change-case/dist/index.js.map +0 -1
- package/src/generators/node_modules/change-case/dist/keys.d.ts +0 -11
- package/src/generators/node_modules/change-case/dist/keys.js +0 -31
- package/src/generators/node_modules/change-case/dist/keys.js.map +0 -1
- package/src/generators/node_modules/change-case/package.json +0 -56
- package/src/generators/node_modules/color-convert/CHANGELOG.md +0 -54
- package/src/generators/node_modules/color-convert/LICENSE +0 -21
- package/src/generators/node_modules/color-convert/README.md +0 -68
- package/src/generators/node_modules/color-convert/conversions.js +0 -839
- package/src/generators/node_modules/color-convert/index.js +0 -81
- package/src/generators/node_modules/color-convert/package.json +0 -48
- package/src/generators/node_modules/color-convert/route.js +0 -97
- package/src/generators/node_modules/color-name/LICENSE +0 -8
- package/src/generators/node_modules/color-name/README.md +0 -11
- package/src/generators/node_modules/color-name/index.js +0 -152
- package/src/generators/node_modules/color-name/package.json +0 -28
- package/src/generators/node_modules/cross-spawn/CHANGELOG.md +0 -130
- package/src/generators/node_modules/cross-spawn/LICENSE +0 -21
- package/src/generators/node_modules/cross-spawn/README.md +0 -96
- package/src/generators/node_modules/cross-spawn/index.js +0 -39
- package/src/generators/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/src/generators/node_modules/cross-spawn/lib/parse.js +0 -91
- package/src/generators/node_modules/cross-spawn/lib/util/escape.js +0 -45
- package/src/generators/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/src/generators/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/src/generators/node_modules/cross-spawn/package.json +0 -73
- package/src/generators/node_modules/eastasianwidth/README.md +0 -32
- package/src/generators/node_modules/eastasianwidth/eastasianwidth.js +0 -311
- package/src/generators/node_modules/eastasianwidth/package.json +0 -18
- package/src/generators/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/src/generators/node_modules/emoji-regex/README.md +0 -137
- package/src/generators/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
- package/src/generators/node_modules/emoji-regex/RGI_Emoji.js +0 -6
- package/src/generators/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
- package/src/generators/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
- package/src/generators/node_modules/emoji-regex/es2015/index.d.ts +0 -5
- package/src/generators/node_modules/emoji-regex/es2015/index.js +0 -6
- package/src/generators/node_modules/emoji-regex/es2015/text.d.ts +0 -5
- package/src/generators/node_modules/emoji-regex/es2015/text.js +0 -6
- package/src/generators/node_modules/emoji-regex/index.d.ts +0 -5
- package/src/generators/node_modules/emoji-regex/index.js +0 -6
- package/src/generators/node_modules/emoji-regex/package.json +0 -52
- package/src/generators/node_modules/emoji-regex/text.d.ts +0 -5
- package/src/generators/node_modules/emoji-regex/text.js +0 -6
- package/src/generators/node_modules/flat/LICENSE +0 -12
- package/src/generators/node_modules/flat/README.md +0 -234
- package/src/generators/node_modules/flat/cli.js +0 -40
- package/src/generators/node_modules/flat/index.d.ts +0 -17
- package/src/generators/node_modules/flat/index.js +0 -157
- package/src/generators/node_modules/flat/package.json +0 -49
- package/src/generators/node_modules/foreground-child/LICENSE +0 -15
- package/src/generators/node_modules/foreground-child/README.md +0 -90
- package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.d.ts +0 -3
- package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.d.ts.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.js +0 -58
- package/src/generators/node_modules/foreground-child/dist/cjs/all-signals.js.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/cjs/index.d.ts +0 -54
- package/src/generators/node_modules/foreground-child/dist/cjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/cjs/index.js +0 -154
- package/src/generators/node_modules/foreground-child/dist/cjs/index.js.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/cjs/package.json +0 -3
- package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.d.ts +0 -4
- package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.d.ts.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.js +0 -43
- package/src/generators/node_modules/foreground-child/dist/cjs/watchdog.js.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.d.ts +0 -3
- package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.d.ts.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.js +0 -52
- package/src/generators/node_modules/foreground-child/dist/mjs/all-signals.js.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/mjs/index.d.ts +0 -54
- package/src/generators/node_modules/foreground-child/dist/mjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/mjs/index.js +0 -146
- package/src/generators/node_modules/foreground-child/dist/mjs/index.js.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/mjs/package.json +0 -3
- package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.d.ts +0 -4
- package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.d.ts.map +0 -1
- package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.js +0 -39
- package/src/generators/node_modules/foreground-child/dist/mjs/watchdog.js.map +0 -1
- package/src/generators/node_modules/foreground-child/package.json +0 -83
- package/src/generators/node_modules/glob/LICENSE +0 -15
- package/src/generators/node_modules/glob/README.md +0 -1214
- package/src/generators/node_modules/glob/dist/commonjs/glob.d.ts +0 -344
- package/src/generators/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/glob.js +0 -243
- package/src/generators/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/src/generators/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- package/src/generators/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/ignore.d.ts +0 -20
- package/src/generators/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/ignore.js +0 -108
- package/src/generators/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/index.d.ts +0 -96
- package/src/generators/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/index.js +0 -68
- package/src/generators/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/package.json +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/pattern.d.ts +0 -77
- package/src/generators/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/pattern.js +0 -219
- package/src/generators/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/src/generators/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/processor.js +0 -302
- package/src/generators/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/walker.d.ts +0 -96
- package/src/generators/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/commonjs/walker.js +0 -358
- package/src/generators/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/bin.d.mts +0 -3
- package/src/generators/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/bin.mjs +0 -275
- package/src/generators/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/glob.d.ts +0 -344
- package/src/generators/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/glob.js +0 -239
- package/src/generators/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/src/generators/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/has-magic.js +0 -23
- package/src/generators/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/ignore.d.ts +0 -20
- package/src/generators/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/ignore.js +0 -104
- package/src/generators/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/index.d.ts +0 -96
- package/src/generators/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/index.js +0 -56
- package/src/generators/node_modules/glob/dist/esm/index.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/package.json +0 -1
- package/src/generators/node_modules/glob/dist/esm/pattern.d.ts +0 -77
- package/src/generators/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/pattern.js +0 -215
- package/src/generators/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/src/generators/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/processor.js +0 -295
- package/src/generators/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/walker.d.ts +0 -96
- package/src/generators/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/src/generators/node_modules/glob/dist/esm/walker.js +0 -352
- package/src/generators/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/src/generators/node_modules/glob/package.json +0 -97
- package/src/generators/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/src/generators/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/src/generators/node_modules/is-fullwidth-code-point/license +0 -9
- package/src/generators/node_modules/is-fullwidth-code-point/package.json +0 -42
- package/src/generators/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/src/generators/node_modules/isexe/LICENSE +0 -15
- package/src/generators/node_modules/isexe/README.md +0 -51
- package/src/generators/node_modules/isexe/index.js +0 -57
- package/src/generators/node_modules/isexe/mode.js +0 -41
- package/src/generators/node_modules/isexe/package.json +0 -31
- package/src/generators/node_modules/isexe/test/basic.js +0 -221
- package/src/generators/node_modules/isexe/windows.js +0 -42
- package/src/generators/node_modules/jackspeak/LICENSE.md +0 -55
- package/src/generators/node_modules/jackspeak/README.md +0 -348
- package/src/generators/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -292
- package/src/generators/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/commonjs/index.js +0 -850
- package/src/generators/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/commonjs/package.json +0 -1
- package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
- package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.d.ts.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
- package/src/generators/node_modules/jackspeak/dist/commonjs/parse-args.js.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/esm/index.d.ts +0 -292
- package/src/generators/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/esm/index.js +0 -840
- package/src/generators/node_modules/jackspeak/dist/esm/index.js.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/esm/package.json +0 -1
- package/src/generators/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
- package/src/generators/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
- package/src/generators/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
- package/src/generators/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
- package/src/generators/node_modules/jackspeak/package.json +0 -94
- package/src/generators/node_modules/lru-cache/LICENSE +0 -15
- package/src/generators/node_modules/lru-cache/README.md +0 -1204
- package/src/generators/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -851
- package/src/generators/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/lru-cache/dist/commonjs/index.js +0 -1441
- package/src/generators/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- package/src/generators/node_modules/lru-cache/dist/commonjs/package.json +0 -3
- package/src/generators/node_modules/lru-cache/dist/esm/index.d.ts +0 -851
- package/src/generators/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- package/src/generators/node_modules/lru-cache/dist/esm/index.js +0 -1437
- package/src/generators/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- package/src/generators/node_modules/lru-cache/dist/esm/package.json +0 -3
- package/src/generators/node_modules/lru-cache/package.json +0 -118
- package/src/generators/node_modules/minimatch/LICENSE +0 -15
- package/src/generators/node_modules/minimatch/README.md +0 -454
- package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts +0 -2
- package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.js +0 -14
- package/src/generators/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/ast.d.ts +0 -19
- package/src/generators/node_modules/minimatch/dist/cjs/ast.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/ast.js +0 -589
- package/src/generators/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +0 -8
- package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.js +0 -152
- package/src/generators/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/escape.d.ts +0 -12
- package/src/generators/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/escape.js +0 -22
- package/src/generators/node_modules/minimatch/dist/cjs/escape.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/index.d.ts +0 -94
- package/src/generators/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/index.js +0 -1011
- package/src/generators/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/package.json +0 -3
- package/src/generators/node_modules/minimatch/dist/cjs/unescape.d.ts +0 -17
- package/src/generators/node_modules/minimatch/dist/cjs/unescape.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/cjs/unescape.js +0 -24
- package/src/generators/node_modules/minimatch/dist/cjs/unescape.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts +0 -2
- package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.js +0 -10
- package/src/generators/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/ast.d.ts +0 -19
- package/src/generators/node_modules/minimatch/dist/mjs/ast.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/ast.js +0 -585
- package/src/generators/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +0 -8
- package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.js +0 -148
- package/src/generators/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/escape.d.ts +0 -12
- package/src/generators/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/escape.js +0 -18
- package/src/generators/node_modules/minimatch/dist/mjs/escape.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/index.d.ts +0 -94
- package/src/generators/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/index.js +0 -995
- package/src/generators/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/package.json +0 -3
- package/src/generators/node_modules/minimatch/dist/mjs/unescape.d.ts +0 -17
- package/src/generators/node_modules/minimatch/dist/mjs/unescape.d.ts.map +0 -1
- package/src/generators/node_modules/minimatch/dist/mjs/unescape.js +0 -20
- package/src/generators/node_modules/minimatch/dist/mjs/unescape.js.map +0 -1
- package/src/generators/node_modules/minimatch/package.json +0 -86
- package/src/generators/node_modules/minipass/LICENSE +0 -15
- package/src/generators/node_modules/minipass/README.md +0 -825
- package/src/generators/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
- package/src/generators/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/minipass/dist/commonjs/index.js +0 -1028
- package/src/generators/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- package/src/generators/node_modules/minipass/dist/commonjs/package.json +0 -1
- package/src/generators/node_modules/minipass/dist/esm/index.d.ts +0 -549
- package/src/generators/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- package/src/generators/node_modules/minipass/dist/esm/index.js +0 -1018
- package/src/generators/node_modules/minipass/dist/esm/index.js.map +0 -1
- package/src/generators/node_modules/minipass/dist/esm/package.json +0 -1
- package/src/generators/node_modules/minipass/package.json +0 -82
- package/src/generators/node_modules/path-key/index.d.ts +0 -40
- package/src/generators/node_modules/path-key/index.js +0 -16
- package/src/generators/node_modules/path-key/license +0 -9
- package/src/generators/node_modules/path-key/package.json +0 -39
- package/src/generators/node_modules/path-key/readme.md +0 -61
- package/src/generators/node_modules/path-scurry/LICENSE.md +0 -55
- package/src/generators/node_modules/path-scurry/README.md +0 -631
- package/src/generators/node_modules/path-scurry/dist/cjs/index.d.ts +0 -1107
- package/src/generators/node_modules/path-scurry/dist/cjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/path-scurry/dist/cjs/index.js +0 -2018
- package/src/generators/node_modules/path-scurry/dist/cjs/index.js.map +0 -1
- package/src/generators/node_modules/path-scurry/dist/cjs/package.json +0 -3
- package/src/generators/node_modules/path-scurry/dist/mjs/index.d.ts +0 -1107
- package/src/generators/node_modules/path-scurry/dist/mjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/path-scurry/dist/mjs/index.js +0 -1983
- package/src/generators/node_modules/path-scurry/dist/mjs/index.js.map +0 -1
- package/src/generators/node_modules/path-scurry/dist/mjs/package.json +0 -3
- package/src/generators/node_modules/path-scurry/package.json +0 -87
- package/src/generators/node_modules/shebang-command/index.js +0 -19
- package/src/generators/node_modules/shebang-command/license +0 -9
- package/src/generators/node_modules/shebang-command/package.json +0 -34
- package/src/generators/node_modules/shebang-command/readme.md +0 -34
- package/src/generators/node_modules/shebang-regex/index.d.ts +0 -22
- package/src/generators/node_modules/shebang-regex/index.js +0 -2
- package/src/generators/node_modules/shebang-regex/license +0 -9
- package/src/generators/node_modules/shebang-regex/package.json +0 -35
- package/src/generators/node_modules/shebang-regex/readme.md +0 -33
- package/src/generators/node_modules/signal-exit/LICENSE.txt +0 -16
- package/src/generators/node_modules/signal-exit/README.md +0 -74
- package/src/generators/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- package/src/generators/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/cjs/browser.js +0 -10
- package/src/generators/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- package/src/generators/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/cjs/index.js +0 -279
- package/src/generators/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/cjs/package.json +0 -3
- package/src/generators/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- package/src/generators/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/cjs/signals.js +0 -42
- package/src/generators/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- package/src/generators/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/mjs/browser.js +0 -4
- package/src/generators/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- package/src/generators/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/mjs/index.js +0 -275
- package/src/generators/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/mjs/package.json +0 -3
- package/src/generators/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- package/src/generators/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- package/src/generators/node_modules/signal-exit/dist/mjs/signals.js +0 -39
- package/src/generators/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- package/src/generators/node_modules/signal-exit/package.json +0 -106
- package/src/generators/node_modules/string-width/index.d.ts +0 -29
- package/src/generators/node_modules/string-width/index.js +0 -54
- package/src/generators/node_modules/string-width/license +0 -9
- package/src/generators/node_modules/string-width/package.json +0 -59
- package/src/generators/node_modules/string-width/readme.md +0 -67
- package/src/generators/node_modules/string-width-cjs/index.d.ts +0 -29
- package/src/generators/node_modules/string-width-cjs/index.js +0 -47
- package/src/generators/node_modules/string-width-cjs/license +0 -9
- package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
- package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
- package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
- package/src/generators/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +0 -73
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +0 -23
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +0 -6
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +0 -50
- package/src/generators/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +0 -6
- package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
- package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
- package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
- package/src/generators/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/src/generators/node_modules/string-width-cjs/package.json +0 -56
- package/src/generators/node_modules/string-width-cjs/readme.md +0 -50
- package/src/generators/node_modules/strip-ansi/index.d.ts +0 -15
- package/src/generators/node_modules/strip-ansi/index.js +0 -14
- package/src/generators/node_modules/strip-ansi/license +0 -9
- package/src/generators/node_modules/strip-ansi/package.json +0 -57
- package/src/generators/node_modules/strip-ansi/readme.md +0 -41
- package/src/generators/node_modules/strip-ansi-cjs/index.d.ts +0 -17
- package/src/generators/node_modules/strip-ansi-cjs/index.js +0 -4
- package/src/generators/node_modules/strip-ansi-cjs/license +0 -9
- package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/src/generators/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/src/generators/node_modules/strip-ansi-cjs/package.json +0 -54
- package/src/generators/node_modules/strip-ansi-cjs/readme.md +0 -46
- package/src/generators/node_modules/which/CHANGELOG.md +0 -166
- package/src/generators/node_modules/which/LICENSE +0 -15
- package/src/generators/node_modules/which/README.md +0 -54
- package/src/generators/node_modules/which/bin/node-which +0 -52
- package/src/generators/node_modules/which/package.json +0 -43
- package/src/generators/node_modules/which/which.js +0 -125
- package/src/generators/node_modules/wrap-ansi/index.d.ts +0 -41
- package/src/generators/node_modules/wrap-ansi/index.js +0 -214
- package/src/generators/node_modules/wrap-ansi/license +0 -9
- package/src/generators/node_modules/wrap-ansi/package.json +0 -69
- package/src/generators/node_modules/wrap-ansi/readme.md +0 -91
- package/src/generators/node_modules/wrap-ansi-cjs/index.js +0 -216
- package/src/generators/node_modules/wrap-ansi-cjs/license +0 -9
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.d.ts +0 -345
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/index.js +0 -163
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/license +0 -9
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +0 -56
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/readme.md +0 -152
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +0 -73
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +0 -23
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +0 -6
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +0 -50
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +0 -6
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +0 -29
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +0 -47
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/license +0 -9
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +0 -56
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +0 -50
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
- package/src/generators/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/src/generators/node_modules/wrap-ansi-cjs/package.json +0 -62
- package/src/generators/node_modules/wrap-ansi-cjs/readme.md +0 -91
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE__minimatch_dist_mjs_index_js_e1dade5c__ from "../../../minimatch/dist/mjs/index.js";
|
|
2
|
-
var __webpack_modules__ = {
|
|
3
|
-
minimatch: function(module) {
|
|
4
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__minimatch_dist_mjs_index_js_e1dade5c__;
|
|
5
|
-
}
|
|
6
|
-
};
|
|
7
|
-
var __webpack_module_cache__ = {};
|
|
8
|
-
function __webpack_require__(moduleId) {
|
|
9
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
10
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
11
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
12
|
-
exports: {}
|
|
13
|
-
};
|
|
14
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
15
|
-
return module.exports;
|
|
16
|
-
}
|
|
17
|
-
var __webpack_exports__ = {};
|
|
18
|
-
(()=>{
|
|
19
|
-
var exports = __webpack_exports__;
|
|
20
|
-
Object.defineProperty(exports, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
});
|
|
23
|
-
exports.Processor = exports.SubWalks = exports.MatchRecord = exports.HasWalkedCache = void 0;
|
|
24
|
-
const minimatch_1 = __webpack_require__("minimatch");
|
|
25
|
-
class HasWalkedCache {
|
|
26
|
-
store;
|
|
27
|
-
constructor(store = new Map()){
|
|
28
|
-
this.store = store;
|
|
29
|
-
}
|
|
30
|
-
copy() {
|
|
31
|
-
return new HasWalkedCache(new Map(this.store));
|
|
32
|
-
}
|
|
33
|
-
hasWalked(target, pattern) {
|
|
34
|
-
return this.store.get(target.fullpath())?.has(pattern.globString());
|
|
35
|
-
}
|
|
36
|
-
storeWalked(target, pattern) {
|
|
37
|
-
const fullpath = target.fullpath();
|
|
38
|
-
const cached = this.store.get(fullpath);
|
|
39
|
-
if (cached) cached.add(pattern.globString());
|
|
40
|
-
else this.store.set(fullpath, new Set([
|
|
41
|
-
pattern.globString()
|
|
42
|
-
]));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.HasWalkedCache = HasWalkedCache;
|
|
46
|
-
class MatchRecord {
|
|
47
|
-
store = new Map();
|
|
48
|
-
add(target, absolute, ifDir) {
|
|
49
|
-
const n = (absolute ? 2 : 0) | (ifDir ? 1 : 0);
|
|
50
|
-
const current = this.store.get(target);
|
|
51
|
-
this.store.set(target, void 0 === current ? n : n & current);
|
|
52
|
-
}
|
|
53
|
-
entries() {
|
|
54
|
-
return [
|
|
55
|
-
...this.store.entries()
|
|
56
|
-
].map(([path, n])=>[
|
|
57
|
-
path,
|
|
58
|
-
!!(2 & n),
|
|
59
|
-
!!(1 & n)
|
|
60
|
-
]);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.MatchRecord = MatchRecord;
|
|
64
|
-
class SubWalks {
|
|
65
|
-
store = new Map();
|
|
66
|
-
add(target, pattern) {
|
|
67
|
-
if (!target.canReaddir()) return;
|
|
68
|
-
const subs = this.store.get(target);
|
|
69
|
-
if (subs) {
|
|
70
|
-
if (!subs.find((p)=>p.globString() === pattern.globString())) subs.push(pattern);
|
|
71
|
-
} else this.store.set(target, [
|
|
72
|
-
pattern
|
|
73
|
-
]);
|
|
74
|
-
}
|
|
75
|
-
get(target) {
|
|
76
|
-
const subs = this.store.get(target);
|
|
77
|
-
if (!subs) throw new Error('attempting to walk unknown path');
|
|
78
|
-
return subs;
|
|
79
|
-
}
|
|
80
|
-
entries() {
|
|
81
|
-
return this.keys().map((k)=>[
|
|
82
|
-
k,
|
|
83
|
-
this.store.get(k)
|
|
84
|
-
]);
|
|
85
|
-
}
|
|
86
|
-
keys() {
|
|
87
|
-
return [
|
|
88
|
-
...this.store.keys()
|
|
89
|
-
].filter((t)=>t.canReaddir());
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.SubWalks = SubWalks;
|
|
93
|
-
class Processor {
|
|
94
|
-
hasWalkedCache;
|
|
95
|
-
matches = new MatchRecord();
|
|
96
|
-
subwalks = new SubWalks();
|
|
97
|
-
patterns;
|
|
98
|
-
follow;
|
|
99
|
-
dot;
|
|
100
|
-
opts;
|
|
101
|
-
constructor(opts, hasWalkedCache){
|
|
102
|
-
this.opts = opts;
|
|
103
|
-
this.follow = !!opts.follow;
|
|
104
|
-
this.dot = !!opts.dot;
|
|
105
|
-
this.hasWalkedCache = hasWalkedCache ? hasWalkedCache.copy() : new HasWalkedCache();
|
|
106
|
-
}
|
|
107
|
-
processPatterns(target, patterns) {
|
|
108
|
-
this.patterns = patterns;
|
|
109
|
-
const processingSet = patterns.map((p)=>[
|
|
110
|
-
target,
|
|
111
|
-
p
|
|
112
|
-
]);
|
|
113
|
-
for (let [t, pattern] of processingSet){
|
|
114
|
-
this.hasWalkedCache.storeWalked(t, pattern);
|
|
115
|
-
const root = pattern.root();
|
|
116
|
-
const absolute = pattern.isAbsolute() && false !== this.opts.absolute;
|
|
117
|
-
if (root) {
|
|
118
|
-
t = t.resolve('/' === root && void 0 !== this.opts.root ? this.opts.root : root);
|
|
119
|
-
const rest = pattern.rest();
|
|
120
|
-
if (rest) pattern = rest;
|
|
121
|
-
else {
|
|
122
|
-
this.matches.add(t, true, false);
|
|
123
|
-
continue;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
if (t.isENOENT()) continue;
|
|
127
|
-
let p;
|
|
128
|
-
let rest;
|
|
129
|
-
let changed = false;
|
|
130
|
-
while('string' == typeof (p = pattern.pattern()) && (rest = pattern.rest())){
|
|
131
|
-
const c = t.resolve(p);
|
|
132
|
-
t = c;
|
|
133
|
-
pattern = rest;
|
|
134
|
-
changed = true;
|
|
135
|
-
}
|
|
136
|
-
p = pattern.pattern();
|
|
137
|
-
rest = pattern.rest();
|
|
138
|
-
if (changed) {
|
|
139
|
-
if (this.hasWalkedCache.hasWalked(t, pattern)) continue;
|
|
140
|
-
this.hasWalkedCache.storeWalked(t, pattern);
|
|
141
|
-
}
|
|
142
|
-
if ('string' == typeof p) {
|
|
143
|
-
const ifDir = '..' === p || '' === p || '.' === p;
|
|
144
|
-
this.matches.add(t.resolve(p), absolute, ifDir);
|
|
145
|
-
continue;
|
|
146
|
-
}
|
|
147
|
-
if (p === minimatch_1.GLOBSTAR) {
|
|
148
|
-
if (!t.isSymbolicLink() || this.follow || pattern.checkFollowGlobstar()) this.subwalks.add(t, pattern);
|
|
149
|
-
const rp = rest?.pattern();
|
|
150
|
-
const rrest = rest?.rest();
|
|
151
|
-
if (rest && ('' !== rp && '.' !== rp || rrest)) {
|
|
152
|
-
if ('..' === rp) {
|
|
153
|
-
const tp = t.parent || t;
|
|
154
|
-
if (rrest) {
|
|
155
|
-
if (!this.hasWalkedCache.hasWalked(tp, rrest)) this.subwalks.add(tp, rrest);
|
|
156
|
-
} else this.matches.add(tp, absolute, true);
|
|
157
|
-
}
|
|
158
|
-
} else this.matches.add(t, absolute, '' === rp || '.' === rp);
|
|
159
|
-
} else if (p instanceof RegExp) this.subwalks.add(t, pattern);
|
|
160
|
-
}
|
|
161
|
-
return this;
|
|
162
|
-
}
|
|
163
|
-
subwalkTargets() {
|
|
164
|
-
return this.subwalks.keys();
|
|
165
|
-
}
|
|
166
|
-
child() {
|
|
167
|
-
return new Processor(this.opts, this.hasWalkedCache);
|
|
168
|
-
}
|
|
169
|
-
filterEntries(parent, entries) {
|
|
170
|
-
const patterns = this.subwalks.get(parent);
|
|
171
|
-
const results = this.child();
|
|
172
|
-
for (const e of entries)for (const pattern of patterns){
|
|
173
|
-
const absolute = pattern.isAbsolute();
|
|
174
|
-
const p = pattern.pattern();
|
|
175
|
-
const rest = pattern.rest();
|
|
176
|
-
if (p === minimatch_1.GLOBSTAR) results.testGlobstar(e, pattern, rest, absolute);
|
|
177
|
-
else if (p instanceof RegExp) results.testRegExp(e, p, rest, absolute);
|
|
178
|
-
else results.testString(e, p, rest, absolute);
|
|
179
|
-
}
|
|
180
|
-
return results;
|
|
181
|
-
}
|
|
182
|
-
testGlobstar(e, pattern, rest, absolute) {
|
|
183
|
-
if (this.dot || !e.name.startsWith('.')) {
|
|
184
|
-
if (!pattern.hasMore()) this.matches.add(e, absolute, false);
|
|
185
|
-
if (e.canReaddir()) {
|
|
186
|
-
if (this.follow || !e.isSymbolicLink()) this.subwalks.add(e, pattern);
|
|
187
|
-
else if (e.isSymbolicLink()) {
|
|
188
|
-
if (rest && pattern.checkFollowGlobstar()) this.subwalks.add(e, rest);
|
|
189
|
-
else if (pattern.markFollowGlobstar()) this.subwalks.add(e, pattern);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
if (rest) {
|
|
194
|
-
const rp = rest.pattern();
|
|
195
|
-
if ('string' == typeof rp && '..' !== rp && '' !== rp && '.' !== rp) this.testString(e, rp, rest.rest(), absolute);
|
|
196
|
-
else if ('..' === rp) {
|
|
197
|
-
const ep = e.parent || e;
|
|
198
|
-
this.subwalks.add(ep, rest);
|
|
199
|
-
} else if (rp instanceof RegExp) this.testRegExp(e, rp, rest.rest(), absolute);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
testRegExp(e, p, rest, absolute) {
|
|
203
|
-
if (!p.test(e.name)) return;
|
|
204
|
-
if (rest) this.subwalks.add(e, rest);
|
|
205
|
-
else this.matches.add(e, absolute, false);
|
|
206
|
-
}
|
|
207
|
-
testString(e, p, rest, absolute) {
|
|
208
|
-
if (!e.isNamed(p)) return;
|
|
209
|
-
if (rest) this.subwalks.add(e, rest);
|
|
210
|
-
else this.matches.add(e, absolute, false);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
exports.Processor = Processor;
|
|
214
|
-
})();
|
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE__minipass_dist_esm_index_js_a8962f61__ from "../../../minipass/dist/esm/index.js";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__ignore_js_51ee403a__ from "./ignore.js";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__processor_js_bb8a3ff7__ from "./processor.js";
|
|
4
|
-
var __webpack_modules__ = {
|
|
5
|
-
minipass: function(module) {
|
|
6
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__minipass_dist_esm_index_js_a8962f61__;
|
|
7
|
-
},
|
|
8
|
-
"./ignore.js": function(module) {
|
|
9
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__ignore_js_51ee403a__;
|
|
10
|
-
},
|
|
11
|
-
"./processor.js": function(module) {
|
|
12
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__processor_js_bb8a3ff7__;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
var __webpack_module_cache__ = {};
|
|
16
|
-
function __webpack_require__(moduleId) {
|
|
17
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
18
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
19
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
20
|
-
exports: {}
|
|
21
|
-
};
|
|
22
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
23
|
-
return module.exports;
|
|
24
|
-
}
|
|
25
|
-
var __webpack_exports__ = {};
|
|
26
|
-
(()=>{
|
|
27
|
-
var exports = __webpack_exports__;
|
|
28
|
-
Object.defineProperty(exports, "__esModule", {
|
|
29
|
-
value: true
|
|
30
|
-
});
|
|
31
|
-
exports.GlobStream = exports.GlobWalker = exports.GlobUtil = void 0;
|
|
32
|
-
const minipass_1 = __webpack_require__("minipass");
|
|
33
|
-
const ignore_js_1 = __webpack_require__("./ignore.js");
|
|
34
|
-
const processor_js_1 = __webpack_require__("./processor.js");
|
|
35
|
-
const makeIgnore = (ignore, opts)=>'string' == typeof ignore ? new ignore_js_1.Ignore([
|
|
36
|
-
ignore
|
|
37
|
-
], opts) : Array.isArray(ignore) ? new ignore_js_1.Ignore(ignore, opts) : ignore;
|
|
38
|
-
class GlobUtil {
|
|
39
|
-
path;
|
|
40
|
-
patterns;
|
|
41
|
-
opts;
|
|
42
|
-
seen = new Set();
|
|
43
|
-
paused = false;
|
|
44
|
-
aborted = false;
|
|
45
|
-
#onResume = [];
|
|
46
|
-
#ignore;
|
|
47
|
-
#sep;
|
|
48
|
-
signal;
|
|
49
|
-
maxDepth;
|
|
50
|
-
constructor(patterns, path, opts){
|
|
51
|
-
this.patterns = patterns;
|
|
52
|
-
this.path = path;
|
|
53
|
-
this.opts = opts;
|
|
54
|
-
this.#sep = opts.posix || 'win32' !== opts.platform ? '/' : '\\';
|
|
55
|
-
if (opts.ignore) this.#ignore = makeIgnore(opts.ignore, opts);
|
|
56
|
-
this.maxDepth = opts.maxDepth || 1 / 0;
|
|
57
|
-
if (opts.signal) {
|
|
58
|
-
this.signal = opts.signal;
|
|
59
|
-
this.signal.addEventListener('abort', ()=>{
|
|
60
|
-
this.#onResume.length = 0;
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
#ignored(path) {
|
|
65
|
-
return this.seen.has(path) || !!this.#ignore?.ignored?.(path);
|
|
66
|
-
}
|
|
67
|
-
#childrenIgnored(path) {
|
|
68
|
-
return !!this.#ignore?.childrenIgnored?.(path);
|
|
69
|
-
}
|
|
70
|
-
pause() {
|
|
71
|
-
this.paused = true;
|
|
72
|
-
}
|
|
73
|
-
resume() {
|
|
74
|
-
if (this.signal?.aborted) return;
|
|
75
|
-
this.paused = false;
|
|
76
|
-
let fn;
|
|
77
|
-
while(!this.paused && (fn = this.#onResume.shift()))fn();
|
|
78
|
-
}
|
|
79
|
-
onResume(fn) {
|
|
80
|
-
if (this.signal?.aborted) return;
|
|
81
|
-
if (this.paused) this.#onResume.push(fn);
|
|
82
|
-
else fn();
|
|
83
|
-
}
|
|
84
|
-
async matchCheck(e, ifDir) {
|
|
85
|
-
if (ifDir && this.opts.nodir) return;
|
|
86
|
-
let rpc;
|
|
87
|
-
if (this.opts.realpath) {
|
|
88
|
-
rpc = e.realpathCached() || await e.realpath();
|
|
89
|
-
if (!rpc) return;
|
|
90
|
-
e = rpc;
|
|
91
|
-
}
|
|
92
|
-
const needStat = e.isUnknown() || this.opts.stat;
|
|
93
|
-
return this.matchCheckTest(needStat ? await e.lstat() : e, ifDir);
|
|
94
|
-
}
|
|
95
|
-
matchCheckTest(e, ifDir) {
|
|
96
|
-
return e && (this.maxDepth === 1 / 0 || e.depth() <= this.maxDepth) && (!ifDir || e.canReaddir()) && (!this.opts.nodir || !e.isDirectory()) && !this.#ignored(e) ? e : void 0;
|
|
97
|
-
}
|
|
98
|
-
matchCheckSync(e, ifDir) {
|
|
99
|
-
if (ifDir && this.opts.nodir) return;
|
|
100
|
-
let rpc;
|
|
101
|
-
if (this.opts.realpath) {
|
|
102
|
-
rpc = e.realpathCached() || e.realpathSync();
|
|
103
|
-
if (!rpc) return;
|
|
104
|
-
e = rpc;
|
|
105
|
-
}
|
|
106
|
-
const needStat = e.isUnknown() || this.opts.stat;
|
|
107
|
-
return this.matchCheckTest(needStat ? e.lstatSync() : e, ifDir);
|
|
108
|
-
}
|
|
109
|
-
matchFinish(e, absolute) {
|
|
110
|
-
if (this.#ignored(e)) return;
|
|
111
|
-
const abs = void 0 === this.opts.absolute ? absolute : this.opts.absolute;
|
|
112
|
-
this.seen.add(e);
|
|
113
|
-
const mark = this.opts.mark && e.isDirectory() ? this.#sep : '';
|
|
114
|
-
if (this.opts.withFileTypes) this.matchEmit(e);
|
|
115
|
-
else if (abs) {
|
|
116
|
-
const abs = this.opts.posix ? e.fullpathPosix() : e.fullpath();
|
|
117
|
-
this.matchEmit(abs + mark);
|
|
118
|
-
} else {
|
|
119
|
-
const rel = this.opts.posix ? e.relativePosix() : e.relative();
|
|
120
|
-
const pre = this.opts.dotRelative && !rel.startsWith('..' + this.#sep) ? '.' + this.#sep : '';
|
|
121
|
-
this.matchEmit(rel ? pre + rel + mark : '.' + mark);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
async match(e, absolute, ifDir) {
|
|
125
|
-
const p = await this.matchCheck(e, ifDir);
|
|
126
|
-
if (p) this.matchFinish(p, absolute);
|
|
127
|
-
}
|
|
128
|
-
matchSync(e, absolute, ifDir) {
|
|
129
|
-
const p = this.matchCheckSync(e, ifDir);
|
|
130
|
-
if (p) this.matchFinish(p, absolute);
|
|
131
|
-
}
|
|
132
|
-
walkCB(target, patterns, cb) {
|
|
133
|
-
if (this.signal?.aborted) cb();
|
|
134
|
-
this.walkCB2(target, patterns, new processor_js_1.Processor(this.opts), cb);
|
|
135
|
-
}
|
|
136
|
-
walkCB2(target, patterns, processor, cb) {
|
|
137
|
-
if (this.#childrenIgnored(target)) return cb();
|
|
138
|
-
if (this.signal?.aborted) cb();
|
|
139
|
-
if (this.paused) return void this.onResume(()=>this.walkCB2(target, patterns, processor, cb));
|
|
140
|
-
processor.processPatterns(target, patterns);
|
|
141
|
-
let tasks = 1;
|
|
142
|
-
const next = ()=>{
|
|
143
|
-
if (0 === --tasks) cb();
|
|
144
|
-
};
|
|
145
|
-
for (const [m, absolute, ifDir] of processor.matches.entries())if (!this.#ignored(m)) {
|
|
146
|
-
tasks++;
|
|
147
|
-
this.match(m, absolute, ifDir).then(()=>next());
|
|
148
|
-
}
|
|
149
|
-
for (const t of processor.subwalkTargets()){
|
|
150
|
-
if (this.maxDepth !== 1 / 0 && t.depth() >= this.maxDepth) continue;
|
|
151
|
-
tasks++;
|
|
152
|
-
const childrenCached = t.readdirCached();
|
|
153
|
-
if (t.calledReaddir()) this.walkCB3(t, childrenCached, processor, next);
|
|
154
|
-
else t.readdirCB((_, entries)=>this.walkCB3(t, entries, processor, next), true);
|
|
155
|
-
}
|
|
156
|
-
next();
|
|
157
|
-
}
|
|
158
|
-
walkCB3(target, entries, processor, cb) {
|
|
159
|
-
processor = processor.filterEntries(target, entries);
|
|
160
|
-
let tasks = 1;
|
|
161
|
-
const next = ()=>{
|
|
162
|
-
if (0 === --tasks) cb();
|
|
163
|
-
};
|
|
164
|
-
for (const [m, absolute, ifDir] of processor.matches.entries())if (!this.#ignored(m)) {
|
|
165
|
-
tasks++;
|
|
166
|
-
this.match(m, absolute, ifDir).then(()=>next());
|
|
167
|
-
}
|
|
168
|
-
for (const [target, patterns] of processor.subwalks.entries()){
|
|
169
|
-
tasks++;
|
|
170
|
-
this.walkCB2(target, patterns, processor.child(), next);
|
|
171
|
-
}
|
|
172
|
-
next();
|
|
173
|
-
}
|
|
174
|
-
walkCBSync(target, patterns, cb) {
|
|
175
|
-
if (this.signal?.aborted) cb();
|
|
176
|
-
this.walkCB2Sync(target, patterns, new processor_js_1.Processor(this.opts), cb);
|
|
177
|
-
}
|
|
178
|
-
walkCB2Sync(target, patterns, processor, cb) {
|
|
179
|
-
if (this.#childrenIgnored(target)) return cb();
|
|
180
|
-
if (this.signal?.aborted) cb();
|
|
181
|
-
if (this.paused) return void this.onResume(()=>this.walkCB2Sync(target, patterns, processor, cb));
|
|
182
|
-
processor.processPatterns(target, patterns);
|
|
183
|
-
let tasks = 1;
|
|
184
|
-
const next = ()=>{
|
|
185
|
-
if (0 === --tasks) cb();
|
|
186
|
-
};
|
|
187
|
-
for (const [m, absolute, ifDir] of processor.matches.entries())if (!this.#ignored(m)) this.matchSync(m, absolute, ifDir);
|
|
188
|
-
for (const t of processor.subwalkTargets()){
|
|
189
|
-
if (this.maxDepth !== 1 / 0 && t.depth() >= this.maxDepth) continue;
|
|
190
|
-
tasks++;
|
|
191
|
-
const children = t.readdirSync();
|
|
192
|
-
this.walkCB3Sync(t, children, processor, next);
|
|
193
|
-
}
|
|
194
|
-
next();
|
|
195
|
-
}
|
|
196
|
-
walkCB3Sync(target, entries, processor, cb) {
|
|
197
|
-
processor = processor.filterEntries(target, entries);
|
|
198
|
-
let tasks = 1;
|
|
199
|
-
const next = ()=>{
|
|
200
|
-
if (0 === --tasks) cb();
|
|
201
|
-
};
|
|
202
|
-
for (const [m, absolute, ifDir] of processor.matches.entries())if (!this.#ignored(m)) this.matchSync(m, absolute, ifDir);
|
|
203
|
-
for (const [target, patterns] of processor.subwalks.entries()){
|
|
204
|
-
tasks++;
|
|
205
|
-
this.walkCB2Sync(target, patterns, processor.child(), next);
|
|
206
|
-
}
|
|
207
|
-
next();
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
exports.GlobUtil = GlobUtil;
|
|
211
|
-
class GlobWalker extends GlobUtil {
|
|
212
|
-
matches;
|
|
213
|
-
constructor(patterns, path, opts){
|
|
214
|
-
super(patterns, path, opts);
|
|
215
|
-
this.matches = new Set();
|
|
216
|
-
}
|
|
217
|
-
matchEmit(e) {
|
|
218
|
-
this.matches.add(e);
|
|
219
|
-
}
|
|
220
|
-
async walk() {
|
|
221
|
-
if (this.signal?.aborted) throw this.signal.reason;
|
|
222
|
-
if (this.path.isUnknown()) await this.path.lstat();
|
|
223
|
-
await new Promise((res, rej)=>{
|
|
224
|
-
this.walkCB(this.path, this.patterns, ()=>{
|
|
225
|
-
if (this.signal?.aborted) rej(this.signal.reason);
|
|
226
|
-
else res(this.matches);
|
|
227
|
-
});
|
|
228
|
-
});
|
|
229
|
-
return this.matches;
|
|
230
|
-
}
|
|
231
|
-
walkSync() {
|
|
232
|
-
if (this.signal?.aborted) throw this.signal.reason;
|
|
233
|
-
if (this.path.isUnknown()) this.path.lstatSync();
|
|
234
|
-
this.walkCBSync(this.path, this.patterns, ()=>{
|
|
235
|
-
if (this.signal?.aborted) throw this.signal.reason;
|
|
236
|
-
});
|
|
237
|
-
return this.matches;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
exports.GlobWalker = GlobWalker;
|
|
241
|
-
class GlobStream extends GlobUtil {
|
|
242
|
-
results;
|
|
243
|
-
constructor(patterns, path, opts){
|
|
244
|
-
super(patterns, path, opts);
|
|
245
|
-
this.results = new minipass_1.Minipass({
|
|
246
|
-
signal: this.signal,
|
|
247
|
-
objectMode: true
|
|
248
|
-
});
|
|
249
|
-
this.results.on('drain', ()=>this.resume());
|
|
250
|
-
this.results.on('resume', ()=>this.resume());
|
|
251
|
-
}
|
|
252
|
-
matchEmit(e) {
|
|
253
|
-
this.results.write(e);
|
|
254
|
-
if (!this.results.flowing) this.pause();
|
|
255
|
-
}
|
|
256
|
-
stream() {
|
|
257
|
-
const target = this.path;
|
|
258
|
-
if (target.isUnknown()) target.lstat().then(()=>{
|
|
259
|
-
this.walkCB(target, this.patterns, ()=>this.results.end());
|
|
260
|
-
});
|
|
261
|
-
else this.walkCB(target, this.patterns, ()=>this.results.end());
|
|
262
|
-
return this.results;
|
|
263
|
-
}
|
|
264
|
-
streamSync() {
|
|
265
|
-
if (this.path.isUnknown()) this.path.lstatSync();
|
|
266
|
-
this.walkCBSync(this.path, this.patterns, ()=>this.results.end());
|
|
267
|
-
return this.results;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
exports.GlobStream = GlobStream;
|
|
271
|
-
})();
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { Minimatch } from "../../../minimatch/dist/mjs/index.js";
|
|
2
|
-
import { PathScurry, PathScurryDarwin, PathScurryPosix, PathScurryWin32 } from "../../../path-scurry/dist/mjs/index.js";
|
|
3
|
-
import { Pattern } from "./pattern.js";
|
|
4
|
-
import { GlobStream, GlobWalker } from "./walker.js";
|
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_url__ from "url";
|
|
6
|
-
const defaultPlatform = 'object' == typeof process && process && 'string' == typeof process.platform ? process.platform : 'linux';
|
|
7
|
-
class Glob {
|
|
8
|
-
absolute;
|
|
9
|
-
cwd;
|
|
10
|
-
root;
|
|
11
|
-
dot;
|
|
12
|
-
dotRelative;
|
|
13
|
-
follow;
|
|
14
|
-
ignore;
|
|
15
|
-
magicalBraces;
|
|
16
|
-
mark;
|
|
17
|
-
matchBase;
|
|
18
|
-
maxDepth;
|
|
19
|
-
nobrace;
|
|
20
|
-
nocase;
|
|
21
|
-
nodir;
|
|
22
|
-
noext;
|
|
23
|
-
noglobstar;
|
|
24
|
-
pattern;
|
|
25
|
-
platform;
|
|
26
|
-
realpath;
|
|
27
|
-
scurry;
|
|
28
|
-
stat;
|
|
29
|
-
signal;
|
|
30
|
-
windowsPathsNoEscape;
|
|
31
|
-
withFileTypes;
|
|
32
|
-
opts;
|
|
33
|
-
patterns;
|
|
34
|
-
constructor(pattern, opts){
|
|
35
|
-
if (!opts) throw new TypeError('glob options required');
|
|
36
|
-
this.withFileTypes = !!opts.withFileTypes;
|
|
37
|
-
this.signal = opts.signal;
|
|
38
|
-
this.follow = !!opts.follow;
|
|
39
|
-
this.dot = !!opts.dot;
|
|
40
|
-
this.dotRelative = !!opts.dotRelative;
|
|
41
|
-
this.nodir = !!opts.nodir;
|
|
42
|
-
this.mark = !!opts.mark;
|
|
43
|
-
if (opts.cwd) {
|
|
44
|
-
if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) opts.cwd = (0, __WEBPACK_EXTERNAL_MODULE_url__.fileURLToPath)(opts.cwd);
|
|
45
|
-
} else this.cwd = '';
|
|
46
|
-
this.cwd = opts.cwd || '';
|
|
47
|
-
this.root = opts.root;
|
|
48
|
-
this.magicalBraces = !!opts.magicalBraces;
|
|
49
|
-
this.nobrace = !!opts.nobrace;
|
|
50
|
-
this.noext = !!opts.noext;
|
|
51
|
-
this.realpath = !!opts.realpath;
|
|
52
|
-
this.absolute = opts.absolute;
|
|
53
|
-
this.noglobstar = !!opts.noglobstar;
|
|
54
|
-
this.matchBase = !!opts.matchBase;
|
|
55
|
-
this.maxDepth = 'number' == typeof opts.maxDepth ? opts.maxDepth : 1 / 0;
|
|
56
|
-
this.stat = !!opts.stat;
|
|
57
|
-
this.ignore = opts.ignore;
|
|
58
|
-
if (this.withFileTypes && void 0 !== this.absolute) throw new Error('cannot set absolute and withFileTypes:true');
|
|
59
|
-
if ('string' == typeof pattern) pattern = [
|
|
60
|
-
pattern
|
|
61
|
-
];
|
|
62
|
-
this.windowsPathsNoEscape = !!opts.windowsPathsNoEscape || false === opts.allowWindowsEscape;
|
|
63
|
-
if (this.windowsPathsNoEscape) pattern = pattern.map((p)=>p.replace(/\\/g, '/'));
|
|
64
|
-
if (this.matchBase) {
|
|
65
|
-
if (opts.noglobstar) throw new TypeError('base matching requires globstar');
|
|
66
|
-
pattern = pattern.map((p)=>p.includes('/') ? p : `./**/${p}`);
|
|
67
|
-
}
|
|
68
|
-
this.pattern = pattern;
|
|
69
|
-
this.platform = opts.platform || defaultPlatform;
|
|
70
|
-
this.opts = {
|
|
71
|
-
...opts,
|
|
72
|
-
platform: this.platform
|
|
73
|
-
};
|
|
74
|
-
if (opts.scurry) {
|
|
75
|
-
this.scurry = opts.scurry;
|
|
76
|
-
if (void 0 !== opts.nocase && opts.nocase !== opts.scurry.nocase) throw new Error('nocase option contradicts provided scurry option');
|
|
77
|
-
} else {
|
|
78
|
-
const Scurry = 'win32' === opts.platform ? PathScurryWin32 : 'darwin' === opts.platform ? PathScurryDarwin : opts.platform ? PathScurryPosix : PathScurry;
|
|
79
|
-
this.scurry = new Scurry(this.cwd, {
|
|
80
|
-
nocase: opts.nocase,
|
|
81
|
-
fs: opts.fs
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
this.nocase = this.scurry.nocase;
|
|
85
|
-
const nocaseMagicOnly = 'darwin' === this.platform || 'win32' === this.platform;
|
|
86
|
-
const mmo = {
|
|
87
|
-
...opts,
|
|
88
|
-
dot: this.dot,
|
|
89
|
-
matchBase: this.matchBase,
|
|
90
|
-
nobrace: this.nobrace,
|
|
91
|
-
nocase: this.nocase,
|
|
92
|
-
nocaseMagicOnly,
|
|
93
|
-
nocomment: true,
|
|
94
|
-
noext: this.noext,
|
|
95
|
-
nonegate: true,
|
|
96
|
-
optimizationLevel: 2,
|
|
97
|
-
platform: this.platform,
|
|
98
|
-
windowsPathsNoEscape: this.windowsPathsNoEscape,
|
|
99
|
-
debug: !!this.opts.debug
|
|
100
|
-
};
|
|
101
|
-
const mms = this.pattern.map((p)=>new Minimatch(p, mmo));
|
|
102
|
-
const [matchSet, globParts] = mms.reduce((set, m)=>{
|
|
103
|
-
set[0].push(...m.set);
|
|
104
|
-
set[1].push(...m.globParts);
|
|
105
|
-
return set;
|
|
106
|
-
}, [
|
|
107
|
-
[],
|
|
108
|
-
[]
|
|
109
|
-
]);
|
|
110
|
-
this.patterns = matchSet.map((set, i)=>{
|
|
111
|
-
const g = globParts[i];
|
|
112
|
-
if (!g) throw new Error('invalid pattern object');
|
|
113
|
-
return new Pattern(set, g, 0, this.platform);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
async walk() {
|
|
117
|
-
return [
|
|
118
|
-
...await new GlobWalker(this.patterns, this.scurry.cwd, {
|
|
119
|
-
...this.opts,
|
|
120
|
-
maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
|
|
121
|
-
platform: this.platform,
|
|
122
|
-
nocase: this.nocase
|
|
123
|
-
}).walk()
|
|
124
|
-
];
|
|
125
|
-
}
|
|
126
|
-
walkSync() {
|
|
127
|
-
return [
|
|
128
|
-
...new GlobWalker(this.patterns, this.scurry.cwd, {
|
|
129
|
-
...this.opts,
|
|
130
|
-
maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
|
|
131
|
-
platform: this.platform,
|
|
132
|
-
nocase: this.nocase
|
|
133
|
-
}).walkSync()
|
|
134
|
-
];
|
|
135
|
-
}
|
|
136
|
-
stream() {
|
|
137
|
-
return new GlobStream(this.patterns, this.scurry.cwd, {
|
|
138
|
-
...this.opts,
|
|
139
|
-
maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
|
|
140
|
-
platform: this.platform,
|
|
141
|
-
nocase: this.nocase
|
|
142
|
-
}).stream();
|
|
143
|
-
}
|
|
144
|
-
streamSync() {
|
|
145
|
-
return new GlobStream(this.patterns, this.scurry.cwd, {
|
|
146
|
-
...this.opts,
|
|
147
|
-
maxDepth: this.maxDepth !== 1 / 0 ? this.maxDepth + this.scurry.cwd.depth() : 1 / 0,
|
|
148
|
-
platform: this.platform,
|
|
149
|
-
nocase: this.nocase
|
|
150
|
-
}).streamSync();
|
|
151
|
-
}
|
|
152
|
-
iterateSync() {
|
|
153
|
-
return this.streamSync()[Symbol.iterator]();
|
|
154
|
-
}
|
|
155
|
-
[Symbol.iterator]() {
|
|
156
|
-
return this.iterateSync();
|
|
157
|
-
}
|
|
158
|
-
iterate() {
|
|
159
|
-
return this.stream()[Symbol.asyncIterator]();
|
|
160
|
-
}
|
|
161
|
-
[Symbol.asyncIterator]() {
|
|
162
|
-
return this.iterate();
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
export { Glob };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Minimatch } from "../../../minimatch/dist/mjs/index.js";
|
|
2
|
-
const hasMagic = (pattern, options = {})=>{
|
|
3
|
-
if (!Array.isArray(pattern)) pattern = [
|
|
4
|
-
pattern
|
|
5
|
-
];
|
|
6
|
-
for (const p of pattern)if (new Minimatch(p, options).hasMagic()) return true;
|
|
7
|
-
return false;
|
|
8
|
-
};
|
|
9
|
-
export { hasMagic };
|