@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,352 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Single-use utility classes to provide functionality to the {@link Glob}
|
|
3
|
-
* methods.
|
|
4
|
-
*
|
|
5
|
-
* @module
|
|
6
|
-
*/
|
|
7
|
-
import { Minipass } from 'minipass';
|
|
8
|
-
import { Ignore } from './ignore.js';
|
|
9
|
-
import { Processor } from './processor.js';
|
|
10
|
-
const makeIgnore = (ignore, opts) => typeof ignore === 'string'
|
|
11
|
-
? new Ignore([ignore], opts)
|
|
12
|
-
: Array.isArray(ignore)
|
|
13
|
-
? new Ignore(ignore, opts)
|
|
14
|
-
: ignore;
|
|
15
|
-
/**
|
|
16
|
-
* basic walking utilities that all the glob walker types use
|
|
17
|
-
*/
|
|
18
|
-
export class GlobUtil {
|
|
19
|
-
path;
|
|
20
|
-
patterns;
|
|
21
|
-
opts;
|
|
22
|
-
seen = new Set();
|
|
23
|
-
paused = false;
|
|
24
|
-
aborted = false;
|
|
25
|
-
#onResume = [];
|
|
26
|
-
#ignore;
|
|
27
|
-
#sep;
|
|
28
|
-
signal;
|
|
29
|
-
maxDepth;
|
|
30
|
-
constructor(patterns, path, opts) {
|
|
31
|
-
this.patterns = patterns;
|
|
32
|
-
this.path = path;
|
|
33
|
-
this.opts = opts;
|
|
34
|
-
this.#sep = !opts.posix && opts.platform === 'win32' ? '\\' : '/';
|
|
35
|
-
if (opts.ignore) {
|
|
36
|
-
this.#ignore = makeIgnore(opts.ignore, opts);
|
|
37
|
-
}
|
|
38
|
-
// ignore, always set with maxDepth, but it's optional on the
|
|
39
|
-
// GlobOptions type
|
|
40
|
-
/* c8 ignore start */
|
|
41
|
-
this.maxDepth = opts.maxDepth || Infinity;
|
|
42
|
-
/* c8 ignore stop */
|
|
43
|
-
if (opts.signal) {
|
|
44
|
-
this.signal = opts.signal;
|
|
45
|
-
this.signal.addEventListener('abort', () => {
|
|
46
|
-
this.#onResume.length = 0;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
#ignored(path) {
|
|
51
|
-
return this.seen.has(path) || !!this.#ignore?.ignored?.(path);
|
|
52
|
-
}
|
|
53
|
-
#childrenIgnored(path) {
|
|
54
|
-
return !!this.#ignore?.childrenIgnored?.(path);
|
|
55
|
-
}
|
|
56
|
-
// backpressure mechanism
|
|
57
|
-
pause() {
|
|
58
|
-
this.paused = true;
|
|
59
|
-
}
|
|
60
|
-
resume() {
|
|
61
|
-
/* c8 ignore start */
|
|
62
|
-
if (this.signal?.aborted)
|
|
63
|
-
return;
|
|
64
|
-
/* c8 ignore stop */
|
|
65
|
-
this.paused = false;
|
|
66
|
-
let fn = undefined;
|
|
67
|
-
while (!this.paused && (fn = this.#onResume.shift())) {
|
|
68
|
-
fn();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
onResume(fn) {
|
|
72
|
-
if (this.signal?.aborted)
|
|
73
|
-
return;
|
|
74
|
-
/* c8 ignore start */
|
|
75
|
-
if (!this.paused) {
|
|
76
|
-
fn();
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
/* c8 ignore stop */
|
|
80
|
-
this.#onResume.push(fn);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
// do the requisite realpath/stat checking, and return the path
|
|
84
|
-
// to add or undefined to filter it out.
|
|
85
|
-
async matchCheck(e, ifDir) {
|
|
86
|
-
if (ifDir && this.opts.nodir)
|
|
87
|
-
return undefined;
|
|
88
|
-
let rpc;
|
|
89
|
-
if (this.opts.realpath) {
|
|
90
|
-
rpc = e.realpathCached() || (await e.realpath());
|
|
91
|
-
if (!rpc)
|
|
92
|
-
return undefined;
|
|
93
|
-
e = rpc;
|
|
94
|
-
}
|
|
95
|
-
const needStat = e.isUnknown() || this.opts.stat;
|
|
96
|
-
return this.matchCheckTest(needStat ? await e.lstat() : e, ifDir);
|
|
97
|
-
}
|
|
98
|
-
matchCheckTest(e, ifDir) {
|
|
99
|
-
return e &&
|
|
100
|
-
(this.maxDepth === Infinity || e.depth() <= this.maxDepth) &&
|
|
101
|
-
(!ifDir || e.canReaddir()) &&
|
|
102
|
-
(!this.opts.nodir || !e.isDirectory()) &&
|
|
103
|
-
!this.#ignored(e)
|
|
104
|
-
? e
|
|
105
|
-
: undefined;
|
|
106
|
-
}
|
|
107
|
-
matchCheckSync(e, ifDir) {
|
|
108
|
-
if (ifDir && this.opts.nodir)
|
|
109
|
-
return undefined;
|
|
110
|
-
let rpc;
|
|
111
|
-
if (this.opts.realpath) {
|
|
112
|
-
rpc = e.realpathCached() || e.realpathSync();
|
|
113
|
-
if (!rpc)
|
|
114
|
-
return undefined;
|
|
115
|
-
e = rpc;
|
|
116
|
-
}
|
|
117
|
-
const needStat = e.isUnknown() || this.opts.stat;
|
|
118
|
-
return this.matchCheckTest(needStat ? e.lstatSync() : e, ifDir);
|
|
119
|
-
}
|
|
120
|
-
matchFinish(e, absolute) {
|
|
121
|
-
if (this.#ignored(e))
|
|
122
|
-
return;
|
|
123
|
-
const abs = this.opts.absolute === undefined ? absolute : this.opts.absolute;
|
|
124
|
-
this.seen.add(e);
|
|
125
|
-
const mark = this.opts.mark && e.isDirectory() ? this.#sep : '';
|
|
126
|
-
// ok, we have what we need!
|
|
127
|
-
if (this.opts.withFileTypes) {
|
|
128
|
-
this.matchEmit(e);
|
|
129
|
-
}
|
|
130
|
-
else if (abs) {
|
|
131
|
-
const abs = this.opts.posix ? e.fullpathPosix() : e.fullpath();
|
|
132
|
-
this.matchEmit(abs + mark);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
const rel = this.opts.posix ? e.relativePosix() : e.relative();
|
|
136
|
-
const pre = this.opts.dotRelative && !rel.startsWith('..' + this.#sep)
|
|
137
|
-
? '.' + this.#sep
|
|
138
|
-
: '';
|
|
139
|
-
this.matchEmit(!rel ? '.' + mark : pre + rel + mark);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
async match(e, absolute, ifDir) {
|
|
143
|
-
const p = await this.matchCheck(e, ifDir);
|
|
144
|
-
if (p)
|
|
145
|
-
this.matchFinish(p, absolute);
|
|
146
|
-
}
|
|
147
|
-
matchSync(e, absolute, ifDir) {
|
|
148
|
-
const p = this.matchCheckSync(e, ifDir);
|
|
149
|
-
if (p)
|
|
150
|
-
this.matchFinish(p, absolute);
|
|
151
|
-
}
|
|
152
|
-
walkCB(target, patterns, cb) {
|
|
153
|
-
/* c8 ignore start */
|
|
154
|
-
if (this.signal?.aborted)
|
|
155
|
-
cb();
|
|
156
|
-
/* c8 ignore stop */
|
|
157
|
-
this.walkCB2(target, patterns, new Processor(this.opts), cb);
|
|
158
|
-
}
|
|
159
|
-
walkCB2(target, patterns, processor, cb) {
|
|
160
|
-
if (this.#childrenIgnored(target))
|
|
161
|
-
return cb();
|
|
162
|
-
if (this.signal?.aborted)
|
|
163
|
-
cb();
|
|
164
|
-
if (this.paused) {
|
|
165
|
-
this.onResume(() => this.walkCB2(target, patterns, processor, cb));
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
processor.processPatterns(target, patterns);
|
|
169
|
-
// done processing. all of the above is sync, can be abstracted out.
|
|
170
|
-
// subwalks is a map of paths to the entry filters they need
|
|
171
|
-
// matches is a map of paths to [absolute, ifDir] tuples.
|
|
172
|
-
let tasks = 1;
|
|
173
|
-
const next = () => {
|
|
174
|
-
if (--tasks === 0)
|
|
175
|
-
cb();
|
|
176
|
-
};
|
|
177
|
-
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
178
|
-
if (this.#ignored(m))
|
|
179
|
-
continue;
|
|
180
|
-
tasks++;
|
|
181
|
-
this.match(m, absolute, ifDir).then(() => next());
|
|
182
|
-
}
|
|
183
|
-
for (const t of processor.subwalkTargets()) {
|
|
184
|
-
if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {
|
|
185
|
-
continue;
|
|
186
|
-
}
|
|
187
|
-
tasks++;
|
|
188
|
-
const childrenCached = t.readdirCached();
|
|
189
|
-
if (t.calledReaddir())
|
|
190
|
-
this.walkCB3(t, childrenCached, processor, next);
|
|
191
|
-
else {
|
|
192
|
-
t.readdirCB((_, entries) => this.walkCB3(t, entries, processor, next), true);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
next();
|
|
196
|
-
}
|
|
197
|
-
walkCB3(target, entries, processor, cb) {
|
|
198
|
-
processor = processor.filterEntries(target, entries);
|
|
199
|
-
let tasks = 1;
|
|
200
|
-
const next = () => {
|
|
201
|
-
if (--tasks === 0)
|
|
202
|
-
cb();
|
|
203
|
-
};
|
|
204
|
-
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
205
|
-
if (this.#ignored(m))
|
|
206
|
-
continue;
|
|
207
|
-
tasks++;
|
|
208
|
-
this.match(m, absolute, ifDir).then(() => next());
|
|
209
|
-
}
|
|
210
|
-
for (const [target, patterns] of processor.subwalks.entries()) {
|
|
211
|
-
tasks++;
|
|
212
|
-
this.walkCB2(target, patterns, processor.child(), next);
|
|
213
|
-
}
|
|
214
|
-
next();
|
|
215
|
-
}
|
|
216
|
-
walkCBSync(target, patterns, cb) {
|
|
217
|
-
/* c8 ignore start */
|
|
218
|
-
if (this.signal?.aborted)
|
|
219
|
-
cb();
|
|
220
|
-
/* c8 ignore stop */
|
|
221
|
-
this.walkCB2Sync(target, patterns, new Processor(this.opts), cb);
|
|
222
|
-
}
|
|
223
|
-
walkCB2Sync(target, patterns, processor, cb) {
|
|
224
|
-
if (this.#childrenIgnored(target))
|
|
225
|
-
return cb();
|
|
226
|
-
if (this.signal?.aborted)
|
|
227
|
-
cb();
|
|
228
|
-
if (this.paused) {
|
|
229
|
-
this.onResume(() => this.walkCB2Sync(target, patterns, processor, cb));
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
processor.processPatterns(target, patterns);
|
|
233
|
-
// done processing. all of the above is sync, can be abstracted out.
|
|
234
|
-
// subwalks is a map of paths to the entry filters they need
|
|
235
|
-
// matches is a map of paths to [absolute, ifDir] tuples.
|
|
236
|
-
let tasks = 1;
|
|
237
|
-
const next = () => {
|
|
238
|
-
if (--tasks === 0)
|
|
239
|
-
cb();
|
|
240
|
-
};
|
|
241
|
-
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
242
|
-
if (this.#ignored(m))
|
|
243
|
-
continue;
|
|
244
|
-
this.matchSync(m, absolute, ifDir);
|
|
245
|
-
}
|
|
246
|
-
for (const t of processor.subwalkTargets()) {
|
|
247
|
-
if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {
|
|
248
|
-
continue;
|
|
249
|
-
}
|
|
250
|
-
tasks++;
|
|
251
|
-
const children = t.readdirSync();
|
|
252
|
-
this.walkCB3Sync(t, children, processor, next);
|
|
253
|
-
}
|
|
254
|
-
next();
|
|
255
|
-
}
|
|
256
|
-
walkCB3Sync(target, entries, processor, cb) {
|
|
257
|
-
processor = processor.filterEntries(target, entries);
|
|
258
|
-
let tasks = 1;
|
|
259
|
-
const next = () => {
|
|
260
|
-
if (--tasks === 0)
|
|
261
|
-
cb();
|
|
262
|
-
};
|
|
263
|
-
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
264
|
-
if (this.#ignored(m))
|
|
265
|
-
continue;
|
|
266
|
-
this.matchSync(m, absolute, ifDir);
|
|
267
|
-
}
|
|
268
|
-
for (const [target, patterns] of processor.subwalks.entries()) {
|
|
269
|
-
tasks++;
|
|
270
|
-
this.walkCB2Sync(target, patterns, processor.child(), next);
|
|
271
|
-
}
|
|
272
|
-
next();
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
export class GlobWalker extends GlobUtil {
|
|
276
|
-
matches;
|
|
277
|
-
constructor(patterns, path, opts) {
|
|
278
|
-
super(patterns, path, opts);
|
|
279
|
-
this.matches = new Set();
|
|
280
|
-
}
|
|
281
|
-
matchEmit(e) {
|
|
282
|
-
this.matches.add(e);
|
|
283
|
-
}
|
|
284
|
-
async walk() {
|
|
285
|
-
if (this.signal?.aborted)
|
|
286
|
-
throw this.signal.reason;
|
|
287
|
-
if (this.path.isUnknown()) {
|
|
288
|
-
await this.path.lstat();
|
|
289
|
-
}
|
|
290
|
-
await new Promise((res, rej) => {
|
|
291
|
-
this.walkCB(this.path, this.patterns, () => {
|
|
292
|
-
if (this.signal?.aborted) {
|
|
293
|
-
rej(this.signal.reason);
|
|
294
|
-
}
|
|
295
|
-
else {
|
|
296
|
-
res(this.matches);
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
return this.matches;
|
|
301
|
-
}
|
|
302
|
-
walkSync() {
|
|
303
|
-
if (this.signal?.aborted)
|
|
304
|
-
throw this.signal.reason;
|
|
305
|
-
if (this.path.isUnknown()) {
|
|
306
|
-
this.path.lstatSync();
|
|
307
|
-
}
|
|
308
|
-
// nothing for the callback to do, because this never pauses
|
|
309
|
-
this.walkCBSync(this.path, this.patterns, () => {
|
|
310
|
-
if (this.signal?.aborted)
|
|
311
|
-
throw this.signal.reason;
|
|
312
|
-
});
|
|
313
|
-
return this.matches;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
export class GlobStream extends GlobUtil {
|
|
317
|
-
results;
|
|
318
|
-
constructor(patterns, path, opts) {
|
|
319
|
-
super(patterns, path, opts);
|
|
320
|
-
this.results = new Minipass({
|
|
321
|
-
signal: this.signal,
|
|
322
|
-
objectMode: true,
|
|
323
|
-
});
|
|
324
|
-
this.results.on('drain', () => this.resume());
|
|
325
|
-
this.results.on('resume', () => this.resume());
|
|
326
|
-
}
|
|
327
|
-
matchEmit(e) {
|
|
328
|
-
this.results.write(e);
|
|
329
|
-
if (!this.results.flowing)
|
|
330
|
-
this.pause();
|
|
331
|
-
}
|
|
332
|
-
stream() {
|
|
333
|
-
const target = this.path;
|
|
334
|
-
if (target.isUnknown()) {
|
|
335
|
-
target.lstat().then(() => {
|
|
336
|
-
this.walkCB(target, this.patterns, () => this.results.end());
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
else {
|
|
340
|
-
this.walkCB(target, this.patterns, () => this.results.end());
|
|
341
|
-
}
|
|
342
|
-
return this.results;
|
|
343
|
-
}
|
|
344
|
-
streamSync() {
|
|
345
|
-
if (this.path.isUnknown()) {
|
|
346
|
-
this.path.lstatSync();
|
|
347
|
-
}
|
|
348
|
-
this.walkCBSync(this.path, this.patterns, () => this.results.end());
|
|
349
|
-
return this.results;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
//# sourceMappingURL=walker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"walker.js","sourceRoot":"","sources":["../../src/walker.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAEnC,OAAO,EAAE,MAAM,EAAc,MAAM,aAAa,CAAA;AAQhD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAiE1C,MAAM,UAAU,GAAG,CACjB,MAAsC,EACtC,IAAoB,EACR,EAAE,CACd,OA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O,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;IAED,UAAU;QACR,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;YACzB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAA;SACtB;QACD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAA;QACnE,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;CACF","sourcesContent":["/**\n * Single-use utility classes to provide functionality to the {@link Glob}\n * methods.\n *\n * @module\n */\nimport { Minipass } from 'minipass'\nimport { Path } from 'path-scurry'\nimport { Ignore, IgnoreLike } from './ignore.js'\n\n// XXX can we somehow make it so that it NEVER processes a given path more than\n// once, enough that the match set tracking is no longer needed? that'd speed\n// things up a lot. Or maybe bring back nounique, and skip it in that case?\n\n// a single minimatch set entry with 1 or more parts\nimport { Pattern } from './pattern.js'\nimport { Processor } from './processor.js'\n\nexport interface GlobWalkerOpts {\n absolute?: boolean\n allowWindowsEscape?: boolean\n cwd?: string | URL\n dot?: boolean\n dotRelative?: boolean\n follow?: boolean\n ignore?: string | string[] | IgnoreLike\n mark?: boolean\n matchBase?: boolean\n // Note: maxDepth here means \"maximum actual Path.depth()\",\n // not \"maximum depth beyond cwd\"\n maxDepth?: number\n nobrace?: boolean\n nocase?: boolean\n nodir?: boolean\n noext?: boolean\n noglobstar?: boolean\n platform?: NodeJS.Platform\n posix?: boolean\n realpath?: boolean\n root?: string\n stat?: boolean\n signal?: AbortSignal\n windowsPathsNoEscape?: boolean\n withFileTypes?: boolean\n}\n\nexport type GWOFileTypesTrue = GlobWalkerOpts & {\n withFileTypes: true\n}\nexport type GWOFileTypesFalse = GlobWalkerOpts & {\n withFileTypes: false\n}\nexport type GWOFileTypesUnset = GlobWalkerOpts & {\n withFileTypes?: undefined\n}\n\nexport type Result<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue\n ? Path\n : O extends GWOFileTypesFalse\n ? string\n : O extends GWOFileTypesUnset\n ? string\n : Path | string\n\nexport type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue\n ? Set<Path>\n : O extends GWOFileTypesFalse\n ? Set<string>\n : O extends GWOFileTypesUnset\n ? Set<string>\n : Set<Path | string>\n\nexport type MatchStream<O extends GlobWalkerOpts> =\n O extends GWOFileTypesTrue\n ? Minipass<Path, Path>\n : O extends GWOFileTypesFalse\n ? Minipass<string, string>\n : O extends GWOFileTypesUnset\n ? Minipass<string, string>\n : Minipass<Path | string, Path | string>\n\nconst makeIgnore = (\n ignore: string | string[] | IgnoreLike,\n opts: GlobWalkerOpts\n): IgnoreLike =>\n typeof ignore === 'string'\n ? new Ignore([ignore], opts)\n : Array.isArray(ignore)\n ? new Ignore(ignore, opts)\n : ignore\n\n/**\n * basic walking utilities that all the glob walker types use\n */\nexport abstract class GlobUtil<O extends GlobWalkerOpts = GlobWalkerOpts> {\n path: Path\n patterns: Pattern[]\n opts: O\n seen: Set<Path> = new Set<Path>()\n paused: boolean = false\n aborted: boolean = false\n #onResume: (() => any)[] = []\n #ignore?: IgnoreLike\n #sep: '\\\\' | '/'\n signal?: AbortSignal\n maxDepth: number\n\n constructor(patterns: Pattern[], path: Path, opts: O)\n constructor(patterns: Pattern[], path: Path, opts: O) {\n this.patterns = patterns\n this.path = path\n this.opts = opts\n this.#sep = !opts.posix && opts.platform === 'win32' ? '\\\\' : '/'\n if (opts.ignore) {\n this.#ignore = makeIgnore(opts.ignore, opts)\n }\n // ignore, always set with maxDepth, but it's optional on the\n // GlobOptions type\n /* c8 ignore start */\n this.maxDepth = opts.maxDepth || Infinity\n /* c8 ignore stop */\n if (opts.signal) {\n this.signal = opts.signal\n this.signal.addEventListener('abort', () => {\n this.#onResume.length = 0\n })\n }\n }\n\n #ignored(path: Path): boolean {\n return this.seen.has(path) || !!this.#ignore?.ignored?.(path)\n }\n #childrenIgnored(path: Path): boolean {\n return !!this.#ignore?.childrenIgnored?.(path)\n }\n\n // backpressure mechanism\n pause() {\n this.paused = true\n }\n resume() {\n /* c8 ignore start */\n if (this.signal?.aborted) return\n /* c8 ignore stop */\n this.paused = false\n let fn: (() => any) | undefined = undefined\n while (!this.paused && (fn = this.#onResume.shift())) {\n fn()\n }\n }\n onResume(fn: () => any) {\n if (this.signal?.aborted) return\n /* c8 ignore start */\n if (!this.paused) {\n fn()\n } else {\n /* c8 ignore stop */\n this.#onResume.push(fn)\n }\n }\n\n // do the requisite realpath/stat checking, and return the path\n // to add or undefined to filter it out.\n async matchCheck(e: Path, ifDir: boolean): Promise<Path | undefined> {\n if (ifDir && this.opts.nodir) return undefined\n let rpc: Path | undefined\n if (this.opts.realpath) {\n rpc = e.realpathCached() || (await e.realpath())\n if (!rpc) return undefined\n e = rpc\n }\n const needStat = e.isUnknown() || this.opts.stat\n return this.matchCheckTest(needStat ? await e.lstat() : e, ifDir)\n }\n\n matchCheckTest(e: Path | undefined, ifDir: boolean): Path | undefined {\n return e &&\n (this.maxDepth === Infinity || e.depth() <= this.maxDepth) &&\n (!ifDir || e.canReaddir()) &&\n (!this.opts.nodir || !e.isDirectory()) &&\n !this.#ignored(e)\n ? e\n : undefined\n }\n\n matchCheckSync(e: Path, ifDir: boolean): Path | undefined {\n if (ifDir && this.opts.nodir) return undefined\n let rpc: Path | undefined\n if (this.opts.realpath) {\n rpc = e.realpathCached() || e.realpathSync()\n if (!rpc) return undefined\n e = rpc\n }\n const needStat = e.isUnknown() || this.opts.stat\n return this.matchCheckTest(needStat ? e.lstatSync() : e, ifDir)\n }\n\n abstract matchEmit(p: Result<O>): void\n abstract matchEmit(p: string | Path): void\n\n matchFinish(e: Path, absolute: boolean) {\n if (this.#ignored(e)) return\n const abs =\n this.opts.absolute === undefined ? absolute : this.opts.absolute\n this.seen.add(e)\n const mark = this.opts.mark && e.isDirectory() ? this.#sep : ''\n // ok, we have what we need!\n if (this.opts.withFileTypes) {\n this.matchEmit(e)\n } else if (abs) {\n const abs = this.opts.posix ? e.fullpathPosix() : e.fullpath()\n this.matchEmit(abs + mark)\n } else {\n const rel = this.opts.posix ? e.relativePosix() : e.relative()\n const pre =\n this.opts.dotRelative && !rel.startsWith('..' + this.#sep)\n ? '.' + this.#sep\n : ''\n this.matchEmit(!rel ? '.' + mark : pre + rel + mark)\n }\n }\n\n async match(e: Path, absolute: boolean, ifDir: boolean): Promise<void> {\n const p = await this.matchCheck(e, ifDir)\n if (p) this.matchFinish(p, absolute)\n }\n\n matchSync(e: Path, absolute: boolean, ifDir: boolean): void {\n const p = this.matchCheckSync(e, ifDir)\n if (p) this.matchFinish(p, absolute)\n }\n\n walkCB(target: Path, patterns: Pattern[], cb: () => any) {\n /* c8 ignore start */\n if (this.signal?.aborted) cb()\n /* c8 ignore stop */\n this.walkCB2(target, patterns, new Processor(this.opts), cb)\n }\n\n walkCB2(\n target: Path,\n patterns: Pattern[],\n processor: Processor,\n cb: () => any\n ) {\n if (this.#childrenIgnored(target)) return cb()\n if (this.signal?.aborted) cb()\n if (this.paused) {\n this.onResume(() => this.walkCB2(target, patterns, processor, cb))\n return\n }\n processor.processPatterns(target, patterns)\n\n // done processing. all of the above is sync, can be abstracted out.\n // subwalks is a map of paths to the entry filters they need\n // matches is a map of paths to [absolute, ifDir] tuples.\n let tasks = 1\n const next = () => {\n if (--tasks === 0) cb()\n }\n\n for (const [m, absolute, ifDir] of processor.matches.entries()) {\n if (this.#ignored(m)) continue\n tasks++\n this.match(m, absolute, ifDir).then(() => next())\n }\n\n for (const t of processor.subwalkTargets()) {\n if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {\n continue\n }\n tasks++\n const childrenCached = t.readdirCached()\n if (t.calledReaddir())\n this.walkCB3(t, childrenCached, processor, next)\n else {\n t.readdirCB(\n (_, entries) => this.walkCB3(t, entries, processor, next),\n true\n )\n }\n }\n\n next()\n }\n\n walkCB3(\n target: Path,\n entries: Path[],\n processor: Processor,\n cb: () => any\n ) {\n processor = processor.filterEntries(target, entries)\n\n let tasks = 1\n const next = () => {\n if (--tasks === 0) cb()\n }\n\n for (const [m, absolute, ifDir] of processor.matches.entries()) {\n if (this.#ignored(m)) continue\n tasks++\n this.match(m, absolute, ifDir).then(() => next())\n }\n for (const [target, patterns] of processor.subwalks.entries()) {\n tasks++\n this.walkCB2(target, patterns, processor.child(), next)\n }\n\n next()\n }\n\n walkCBSync(target: Path, patterns: Pattern[], cb: () => any) {\n /* c8 ignore start */\n if (this.signal?.aborted) cb()\n /* c8 ignore stop */\n this.walkCB2Sync(target, patterns, new Processor(this.opts), cb)\n }\n\n walkCB2Sync(\n target: Path,\n patterns: Pattern[],\n processor: Processor,\n cb: () => any\n ) {\n if (this.#childrenIgnored(target)) return cb()\n if (this.signal?.aborted) cb()\n if (this.paused) {\n this.onResume(() =>\n this.walkCB2Sync(target, patterns, processor, cb)\n )\n return\n }\n processor.processPatterns(target, patterns)\n\n // done processing. all of the above is sync, can be abstracted out.\n // subwalks is a map of paths to the entry filters they need\n // matches is a map of paths to [absolute, ifDir] tuples.\n let tasks = 1\n const next = () => {\n if (--tasks === 0) cb()\n }\n\n for (const [m, absolute, ifDir] of processor.matches.entries()) {\n if (this.#ignored(m)) continue\n this.matchSync(m, absolute, ifDir)\n }\n\n for (const t of processor.subwalkTargets()) {\n if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {\n continue\n }\n tasks++\n const children = t.readdirSync()\n this.walkCB3Sync(t, children, processor, next)\n }\n\n next()\n }\n\n walkCB3Sync(\n target: Path,\n entries: Path[],\n processor: Processor,\n cb: () => any\n ) {\n processor = processor.filterEntries(target, entries)\n\n let tasks = 1\n const next = () => {\n if (--tasks === 0) cb()\n }\n\n for (const [m, absolute, ifDir] of processor.matches.entries()) {\n if (this.#ignored(m)) continue\n this.matchSync(m, absolute, ifDir)\n }\n for (const [target, patterns] of processor.subwalks.entries()) {\n tasks++\n this.walkCB2Sync(target, patterns, processor.child(), next)\n }\n\n next()\n }\n}\n\nexport class GlobWalker<\n O extends GlobWalkerOpts = GlobWalkerOpts\n> extends GlobUtil<O> {\n matches: O extends GWOFileTypesTrue\n ? Set<Path>\n : O extends GWOFileTypesFalse\n ? Set<string>\n : O extends GWOFileTypesUnset\n ? Set<string>\n : Set<Path | string>\n\n constructor(patterns: Pattern[], path: Path, opts: O) {\n super(patterns, path, opts)\n this.matches = new Set() as Matches<O>\n }\n\n matchEmit(e: Result<O>): void\n matchEmit(e: Path | string): void {\n this.matches.add(e)\n }\n\n async walk(): Promise<Matches<O>> {\n if (this.signal?.aborted) throw this.signal.reason\n if (this.path.isUnknown()) {\n await this.path.lstat()\n }\n await new Promise((res, rej) => {\n this.walkCB(this.path, this.patterns, () => {\n if (this.signal?.aborted) {\n rej(this.signal.reason)\n } else {\n res(this.matches)\n }\n })\n })\n return this.matches\n }\n\n walkSync(): Matches<O> {\n if (this.signal?.aborted) throw this.signal.reason\n if (this.path.isUnknown()) {\n this.path.lstatSync()\n }\n // nothing for the callback to do, because this never pauses\n this.walkCBSync(this.path, this.patterns, () => {\n if (this.signal?.aborted) throw this.signal.reason\n })\n return this.matches\n }\n}\n\nexport class GlobStream<\n O extends GlobWalkerOpts = GlobWalkerOpts\n> extends GlobUtil<O> {\n results: O extends GWOFileTypesTrue\n ? Minipass<Path, Path>\n : O extends GWOFileTypesFalse\n ? Minipass<string, string>\n : O extends GWOFileTypesUnset\n ? Minipass<string, string>\n : Minipass<Path | string, Path | string>\n\n constructor(patterns: Pattern[], path: Path, opts: O) {\n super(patterns, path, opts)\n this.results = new Minipass({\n signal: this.signal,\n objectMode: true,\n }) as MatchStream<O>\n this.results.on('drain', () => this.resume())\n this.results.on('resume', () => this.resume())\n }\n\n matchEmit(e: Result<O>): void\n matchEmit(e: Path | string): void {\n this.results.write(e)\n if (!this.results.flowing) this.pause()\n }\n\n stream(): MatchStream<O> {\n const target = this.path\n if (target.isUnknown()) {\n target.lstat().then(() => {\n this.walkCB(target, this.patterns, () => this.results.end())\n })\n } else {\n this.walkCB(target, this.patterns, () => this.results.end())\n }\n return this.results\n }\n\n streamSync(): MatchStream<O> {\n if (this.path.isUnknown()) {\n this.path.lstatSync()\n }\n this.walkCBSync(this.path, this.patterns, () => this.results.end())\n return this.results\n }\n}\n"]}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me/)",
|
|
3
|
-
"name": "glob",
|
|
4
|
-
"description": "the most correct and second fastest glob implementation in JavaScript",
|
|
5
|
-
"version": "10.3.10",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"tshy": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"exports": {
|
|
10
|
-
"./package.json": "./package.json",
|
|
11
|
-
".": "./src/index.ts"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"bin": "./dist/esm/bin.mjs",
|
|
15
|
-
"main": "./dist/commonjs/index.js",
|
|
16
|
-
"types": "./dist/commonjs/index.d.ts",
|
|
17
|
-
"exports": {
|
|
18
|
-
"./package.json": "./package.json",
|
|
19
|
-
".": {
|
|
20
|
-
"import": {
|
|
21
|
-
"types": "./dist/esm/index.d.ts",
|
|
22
|
-
"default": "./dist/esm/index.js"
|
|
23
|
-
},
|
|
24
|
-
"require": {
|
|
25
|
-
"types": "./dist/commonjs/index.d.ts",
|
|
26
|
-
"default": "./dist/commonjs/index.js"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "git://github.com/isaacs/node-glob.git"
|
|
33
|
-
},
|
|
34
|
-
"files": [
|
|
35
|
-
"dist"
|
|
36
|
-
],
|
|
37
|
-
"scripts": {
|
|
38
|
-
"preversion": "npm test",
|
|
39
|
-
"postversion": "npm publish",
|
|
40
|
-
"prepublishOnly": "git push origin --follow-tags",
|
|
41
|
-
"prepare": "tshy",
|
|
42
|
-
"pretest": "npm run prepare",
|
|
43
|
-
"presnap": "npm run prepare",
|
|
44
|
-
"test": "tap",
|
|
45
|
-
"snap": "tap",
|
|
46
|
-
"format": "prettier --write . --loglevel warn",
|
|
47
|
-
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts",
|
|
48
|
-
"prepublish": "npm run benchclean",
|
|
49
|
-
"profclean": "rm -f v8.log profile.txt",
|
|
50
|
-
"test-regen": "npm run profclean && TEST_REGEN=1 node --no-warnings --loader ts-node/esm test/00-setup.ts",
|
|
51
|
-
"prebench": "npm run prepare",
|
|
52
|
-
"bench": "bash benchmark.sh",
|
|
53
|
-
"preprof": "npm run prepare",
|
|
54
|
-
"prof": "bash prof.sh",
|
|
55
|
-
"benchclean": "node benchclean.cjs"
|
|
56
|
-
},
|
|
57
|
-
"prettier": {
|
|
58
|
-
"semi": false,
|
|
59
|
-
"printWidth": 75,
|
|
60
|
-
"tabWidth": 2,
|
|
61
|
-
"useTabs": false,
|
|
62
|
-
"singleQuote": true,
|
|
63
|
-
"jsxSingleQuote": false,
|
|
64
|
-
"bracketSameLine": true,
|
|
65
|
-
"arrowParens": "avoid",
|
|
66
|
-
"endOfLine": "lf"
|
|
67
|
-
},
|
|
68
|
-
"dependencies": {
|
|
69
|
-
"foreground-child": "^3.1.0",
|
|
70
|
-
"jackspeak": "^2.3.5",
|
|
71
|
-
"minimatch": "^9.0.1",
|
|
72
|
-
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
|
|
73
|
-
"path-scurry": "^1.10.1"
|
|
74
|
-
},
|
|
75
|
-
"devDependencies": {
|
|
76
|
-
"@types/node": "^20.3.2",
|
|
77
|
-
"memfs": "^3.4.13",
|
|
78
|
-
"mkdirp": "^3.0.1",
|
|
79
|
-
"prettier": "^2.8.3",
|
|
80
|
-
"rimraf": "^5.0.1",
|
|
81
|
-
"sync-content": "^1.0.2",
|
|
82
|
-
"tap": "^18.1.4",
|
|
83
|
-
"tshy": "^1.2.2",
|
|
84
|
-
"typedoc": "^0.25.1",
|
|
85
|
-
"typescript": "^5.2.2"
|
|
86
|
-
},
|
|
87
|
-
"tap": {
|
|
88
|
-
"before": "test/00-setup.ts"
|
|
89
|
-
},
|
|
90
|
-
"license": "ISC",
|
|
91
|
-
"funding": {
|
|
92
|
-
"url": "https://github.com/sponsors/isaacs"
|
|
93
|
-
},
|
|
94
|
-
"engines": {
|
|
95
|
-
"node": ">=16 || 14 >=14.17"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms).
|
|
3
|
-
|
|
4
|
-
@param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|
|
5
|
-
|
|
6
|
-
@example
|
|
7
|
-
```
|
|
8
|
-
import isFullwidthCodePoint from 'is-fullwidth-code-point';
|
|
9
|
-
|
|
10
|
-
isFullwidthCodePoint('谢'.codePointAt(0));
|
|
11
|
-
//=> true
|
|
12
|
-
|
|
13
|
-
isFullwidthCodePoint('a'.codePointAt(0));
|
|
14
|
-
//=> false
|
|
15
|
-
```
|
|
16
|
-
*/
|
|
17
|
-
export default function isFullwidthCodePoint(codePoint: number): boolean;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* eslint-disable yoda */
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
const isFullwidthCodePoint = codePoint => {
|
|
5
|
-
if (Number.isNaN(codePoint)) {
|
|
6
|
-
return false;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// Code points are derived from:
|
|
10
|
-
// http://www.unix.org/Public/UNIDATA/EastAsianWidth.txt
|
|
11
|
-
if (
|
|
12
|
-
codePoint >= 0x1100 && (
|
|
13
|
-
codePoint <= 0x115F || // Hangul Jamo
|
|
14
|
-
codePoint === 0x2329 || // LEFT-POINTING ANGLE BRACKET
|
|
15
|
-
codePoint === 0x232A || // RIGHT-POINTING ANGLE BRACKET
|
|
16
|
-
// CJK Radicals Supplement .. Enclosed CJK Letters and Months
|
|
17
|
-
(0x2E80 <= codePoint && codePoint <= 0x3247 && codePoint !== 0x303F) ||
|
|
18
|
-
// Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
|
|
19
|
-
(0x3250 <= codePoint && codePoint <= 0x4DBF) ||
|
|
20
|
-
// CJK Unified Ideographs .. Yi Radicals
|
|
21
|
-
(0x4E00 <= codePoint && codePoint <= 0xA4C6) ||
|
|
22
|
-
// Hangul Jamo Extended-A
|
|
23
|
-
(0xA960 <= codePoint && codePoint <= 0xA97C) ||
|
|
24
|
-
// Hangul Syllables
|
|
25
|
-
(0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
|
|
26
|
-
// CJK Compatibility Ideographs
|
|
27
|
-
(0xF900 <= codePoint && codePoint <= 0xFAFF) ||
|
|
28
|
-
// Vertical Forms
|
|
29
|
-
(0xFE10 <= codePoint && codePoint <= 0xFE19) ||
|
|
30
|
-
// CJK Compatibility Forms .. Small Form Variants
|
|
31
|
-
(0xFE30 <= codePoint && codePoint <= 0xFE6B) ||
|
|
32
|
-
// Halfwidth and Fullwidth Forms
|
|
33
|
-
(0xFF01 <= codePoint && codePoint <= 0xFF60) ||
|
|
34
|
-
(0xFFE0 <= codePoint && codePoint <= 0xFFE6) ||
|
|
35
|
-
// Kana Supplement
|
|
36
|
-
(0x1B000 <= codePoint && codePoint <= 0x1B001) ||
|
|
37
|
-
// Enclosed Ideographic Supplement
|
|
38
|
-
(0x1F200 <= codePoint && codePoint <= 0x1F251) ||
|
|
39
|
-
// CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
|
|
40
|
-
(0x20000 <= codePoint && codePoint <= 0x3FFFD)
|
|
41
|
-
)
|
|
42
|
-
) {
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return false;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
module.exports = isFullwidthCodePoint;
|
|
50
|
-
module.exports.default = isFullwidthCodePoint;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "is-fullwidth-code-point",
|
|
3
|
-
"version": "3.0.0",
|
|
4
|
-
"description": "Check if the character represented by a given Unicode code point is fullwidth",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/is-fullwidth-code-point",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=8"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava && tsd-check"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"fullwidth",
|
|
24
|
-
"full-width",
|
|
25
|
-
"full",
|
|
26
|
-
"width",
|
|
27
|
-
"unicode",
|
|
28
|
-
"character",
|
|
29
|
-
"string",
|
|
30
|
-
"codepoint",
|
|
31
|
-
"code",
|
|
32
|
-
"point",
|
|
33
|
-
"is",
|
|
34
|
-
"detect",
|
|
35
|
-
"check"
|
|
36
|
-
],
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"ava": "^1.3.1",
|
|
39
|
-
"tsd-check": "^0.5.0",
|
|
40
|
-
"xo": "^0.24.0"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# is-fullwidth-code-point [](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)
|
|
2
|
-
|
|
3
|
-
> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install is-fullwidth-code-point
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
const isFullwidthCodePoint = require('is-fullwidth-code-point');
|
|
17
|
-
|
|
18
|
-
isFullwidthCodePoint('谢'.codePointAt(0));
|
|
19
|
-
//=> true
|
|
20
|
-
|
|
21
|
-
isFullwidthCodePoint('a'.codePointAt(0));
|
|
22
|
-
//=> false
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## API
|
|
27
|
-
|
|
28
|
-
### isFullwidthCodePoint(codePoint)
|
|
29
|
-
|
|
30
|
-
#### codePoint
|
|
31
|
-
|
|
32
|
-
Type: `number`
|
|
33
|
-
|
|
34
|
-
The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## License
|
|
38
|
-
|
|
39
|
-
MIT © [Sindre Sorhus](https://sindresorhus.com)
|