@slicemachine/init 2.2.2-dev-next-release.0 → 2.2.2-dev-next-release.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SliceMachineInitProcess.cjs +1 -1
- package/dist/SliceMachineInitProcess.js +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.js +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +2 -2
- package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.js +2 -2
- package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/index.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +2 -2
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs.map +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +2 -2
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs +3 -4
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js +2 -3
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js.map +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/settings.js +1 -1
- package/dist/_node_modules/arrify/index.cjs +2 -1
- package/dist/_node_modules/arrify/index.cjs.map +1 -1
- package/dist/_node_modules/arrify/index.js +1 -1
- package/dist/_node_modules/braces/index.cjs +6 -5
- package/dist/_node_modules/braces/index.cjs.map +1 -1
- package/dist/_node_modules/braces/index.js +5 -5
- package/dist/_node_modules/braces/lib/compile.cjs +3 -2
- package/dist/_node_modules/braces/lib/compile.cjs.map +1 -1
- package/dist/_node_modules/braces/lib/compile.js +2 -2
- package/dist/_node_modules/braces/lib/constants.cjs +2 -1
- package/dist/_node_modules/braces/lib/constants.cjs.map +1 -1
- package/dist/_node_modules/braces/lib/constants.js +1 -1
- package/dist/_node_modules/braces/lib/expand.cjs +4 -3
- package/dist/_node_modules/braces/lib/expand.cjs.map +1 -1
- package/dist/_node_modules/braces/lib/expand.js +3 -3
- package/dist/_node_modules/braces/lib/parse.cjs +4 -3
- package/dist/_node_modules/braces/lib/parse.cjs.map +1 -1
- package/dist/_node_modules/braces/lib/parse.js +3 -3
- package/dist/_node_modules/braces/lib/stringify.cjs +2 -1
- package/dist/_node_modules/braces/lib/stringify.cjs.map +1 -1
- package/dist/_node_modules/braces/lib/stringify.js +1 -1
- package/dist/_node_modules/braces/lib/utils.cjs +0 -1
- package/dist/_node_modules/braces/lib/utils.cjs.map +1 -1
- package/dist/_node_modules/braces/lib/utils.js +0 -3
- package/dist/_node_modules/camelcase-keys/index.cjs +3 -4
- package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -1
- package/dist/_node_modules/camelcase-keys/index.js +3 -4
- package/dist/_node_modules/camelcase-keys/index.js.map +1 -1
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs +2 -1
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs.map +1 -1
- package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js +1 -1
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs +2 -1
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs.map +1 -1
- package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js +1 -1
- package/dist/_node_modules/decamelize-keys/index.cjs +5 -3
- package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -1
- package/dist/_node_modules/decamelize-keys/index.js +5 -3
- package/dist/_node_modules/decamelize-keys/index.js.map +1 -1
- package/dist/_node_modules/dir-glob/index.cjs +7 -4
- package/dist/_node_modules/dir-glob/index.cjs.map +1 -1
- package/dist/_node_modules/dir-glob/index.js +8 -5
- package/dist/_node_modules/dir-glob/index.js.map +1 -1
- package/dist/_node_modules/error-ex/index.cjs +3 -2
- package/dist/_node_modules/error-ex/index.cjs.map +1 -1
- package/dist/_node_modules/error-ex/index.js +2 -2
- package/dist/_node_modules/fast-glob/out/index.cjs +4 -2
- package/dist/_node_modules/fast-glob/out/index.cjs.map +1 -1
- package/dist/_node_modules/fast-glob/out/index.js +4 -2
- package/dist/_node_modules/fast-glob/out/index.js.map +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/readers/reader.js +1 -1
- package/dist/_node_modules/fast-glob/out/utils/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/utils/index.js +1 -1
- package/dist/_node_modules/fast-glob/out/utils/pattern.cjs +3 -3
- package/dist/_node_modules/fast-glob/out/utils/pattern.cjs.map +1 -1
- package/dist/_node_modules/fast-glob/out/utils/pattern.js +2 -2
- package/dist/_node_modules/fast-glob/out/utils/stream.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/utils/stream.cjs.map +1 -1
- package/dist/_node_modules/fast-glob/out/utils/stream.js +1 -1
- package/dist/_node_modules/fastq/queue.cjs +5 -3
- package/dist/_node_modules/fastq/queue.cjs.map +1 -1
- package/dist/_node_modules/fastq/queue.js +5 -4
- package/dist/_node_modules/fastq/queue.js.map +1 -1
- package/dist/_node_modules/fill-range/index.cjs +3 -2
- package/dist/_node_modules/fill-range/index.cjs.map +1 -1
- package/dist/_node_modules/fill-range/index.js +2 -2
- package/dist/_node_modules/function-bind/implementation.cjs +2 -1
- package/dist/_node_modules/function-bind/implementation.cjs.map +1 -1
- package/dist/_node_modules/function-bind/implementation.js +1 -1
- package/dist/_node_modules/function-bind/index.cjs +3 -2
- package/dist/_node_modules/function-bind/index.cjs.map +1 -1
- package/dist/_node_modules/function-bind/index.js +2 -2
- package/dist/_node_modules/{fast-glob/_node_modules/glob-parent → glob-parent}/index.cjs +4 -3
- package/dist/_node_modules/glob-parent/index.cjs.map +1 -0
- package/dist/_node_modules/{fast-glob/_node_modules/glob-parent → glob-parent}/index.js +2 -2
- package/dist/_node_modules/glob-parent/index.js.map +1 -0
- package/dist/_node_modules/globby/_node_modules/slash/index.cjs.map +1 -0
- package/dist/_node_modules/globby/_node_modules/slash/index.js.map +1 -0
- package/dist/{packages/init/_node_modules → _node_modules}/globby/ignore.cjs +3 -3
- package/dist/{packages/init/_node_modules → _node_modules}/globby/ignore.js +5 -5
- package/dist/{packages/init/_node_modules → _node_modules}/globby/ignore.js.map +1 -1
- package/dist/{packages/init/_node_modules → _node_modules}/globby/index.cjs +5 -6
- package/dist/{packages/init/_node_modules → _node_modules}/globby/index.cjs.map +1 -1
- package/dist/{packages/init/_node_modules → _node_modules}/globby/index.js +6 -7
- package/dist/{packages/init/_node_modules → _node_modules}/globby/index.js.map +1 -1
- package/dist/_node_modules/hard-rejection/index.cjs +6 -3
- package/dist/_node_modules/hard-rejection/index.cjs.map +1 -1
- package/dist/_node_modules/hard-rejection/index.js +7 -4
- package/dist/_node_modules/hard-rejection/index.js.map +1 -1
- package/dist/_node_modules/has/src/index.cjs +3 -2
- package/dist/_node_modules/has/src/index.cjs.map +1 -1
- package/dist/_node_modules/has/src/index.js +2 -2
- package/dist/_node_modules/ignore/index.cjs +3 -1
- package/dist/_node_modules/ignore/index.cjs.map +1 -1
- package/dist/_node_modules/ignore/index.js +3 -1
- package/dist/_node_modules/ignore/index.js.map +1 -1
- package/dist/_node_modules/is-arrayish/index.cjs +2 -1
- package/dist/_node_modules/is-arrayish/index.cjs.map +1 -1
- package/dist/_node_modules/is-arrayish/index.js +1 -1
- package/dist/_node_modules/is-core-module/core.json.cjs +10 -1
- package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -1
- package/dist/_node_modules/is-core-module/core.json.js +10 -1
- package/dist/_node_modules/is-core-module/core.json.js.map +1 -1
- package/dist/_node_modules/is-core-module/index.cjs +3 -2
- package/dist/_node_modules/is-core-module/index.cjs.map +1 -1
- package/dist/_node_modules/is-core-module/index.js +2 -2
- package/dist/_node_modules/is-extglob/index.cjs +2 -1
- package/dist/_node_modules/is-extglob/index.cjs.map +1 -1
- package/dist/_node_modules/is-extglob/index.js +1 -1
- package/dist/_node_modules/is-glob/index.cjs +3 -2
- package/dist/_node_modules/is-glob/index.cjs.map +1 -1
- package/dist/_node_modules/is-glob/index.js +2 -2
- package/dist/_node_modules/{minimist-options/_node_modules/is-plain-obj → is-plain-obj}/index.cjs +2 -1
- package/dist/_node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/_node_modules/{minimist-options/_node_modules/is-plain-obj → is-plain-obj}/index.js +1 -1
- package/dist/_node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/_node_modules/js-tokens/index.cjs +1 -1
- package/dist/_node_modules/js-tokens/index.js +1 -1
- package/dist/_node_modules/kind-of/index.cjs +2 -1
- package/dist/_node_modules/kind-of/index.cjs.map +1 -1
- package/dist/_node_modules/kind-of/index.js +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.cjs +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.js +1 -1
- package/dist/_node_modules/{meow/_node_modules/read-pkg/_node_modules/lru-cache → lru-cache}/index.cjs +4 -3
- package/dist/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/{meow/_node_modules/read-pkg/_node_modules/lru-cache → lru-cache}/index.js +2 -2
- package/dist/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/map-obj/index.cjs +6 -3
- package/dist/_node_modules/map-obj/index.cjs.map +1 -1
- package/dist/_node_modules/map-obj/index.js +6 -3
- package/dist/_node_modules/map-obj/index.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/{lru-cache → hosted-git-info/_node_modules/lru-cache}/index.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/{lru-cache → hosted-git-info/_node_modules/lru-cache}/index.js +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs +3 -2
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js +2 -2
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +114 -113
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +117 -115
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs +7 -7
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js +5 -6
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs +5 -3
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js +5 -3
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +3 -2
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +2 -2
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +164 -163
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +167 -165
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +7 -7
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +5 -6
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +2 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +5 -3
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +5 -3
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.js +4 -4
- package/dist/_node_modules/meow/_node_modules/read-pkg/index.js.map +1 -1
- package/dist/_node_modules/meow/_node_modules/trim-newlines/index.cjs.map +1 -0
- package/dist/_node_modules/meow/_node_modules/trim-newlines/index.js.map +1 -0
- package/dist/_node_modules/meow/index.cjs +6 -8
- package/dist/_node_modules/meow/index.cjs.map +1 -1
- package/dist/_node_modules/meow/index.js +8 -10
- package/dist/_node_modules/meow/index.js.map +1 -1
- package/dist/_node_modules/merge2/index.cjs +2 -1
- package/dist/_node_modules/merge2/index.cjs.map +1 -1
- package/dist/_node_modules/merge2/index.js +1 -1
- package/dist/_node_modules/micromatch/index.cjs +5 -5
- package/dist/_node_modules/micromatch/index.cjs.map +1 -1
- package/dist/_node_modules/micromatch/index.js +4 -5
- package/dist/_node_modules/micromatch/index.js.map +1 -1
- package/dist/_node_modules/min-indent/index.cjs +3 -1
- package/dist/_node_modules/min-indent/index.cjs.map +1 -1
- package/dist/_node_modules/min-indent/index.js +3 -1
- package/dist/_node_modules/min-indent/index.js.map +1 -1
- package/dist/_node_modules/minimist-options/index.cjs +10 -7
- package/dist/_node_modules/minimist-options/index.cjs.map +1 -1
- package/dist/_node_modules/minimist-options/index.js +9 -6
- package/dist/_node_modules/minimist-options/index.js.map +1 -1
- package/dist/_node_modules/{json-parse-even-better-errors → parse-json/_node_modules/json-parse-even-better-errors}/index.cjs +2 -1
- package/dist/_node_modules/parse-json/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
- package/dist/_node_modules/{json-parse-even-better-errors → parse-json/_node_modules/json-parse-even-better-errors}/index.js +1 -1
- package/dist/_node_modules/parse-json/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
- package/dist/_node_modules/parse-json/index.cjs +8 -6
- package/dist/_node_modules/parse-json/index.cjs.map +1 -1
- package/dist/_node_modules/parse-json/index.js +7 -5
- package/dist/_node_modules/parse-json/index.js.map +1 -1
- package/dist/_node_modules/path-type/index.cjs +1 -1
- package/dist/_node_modules/path-type/index.js +1 -1
- package/dist/_node_modules/picomatch/index.cjs +4 -5
- package/dist/_node_modules/picomatch/index.cjs.map +1 -1
- package/dist/_node_modules/picomatch/index.js +5 -5
- package/dist/_node_modules/picomatch/index.js.map +1 -1
- package/dist/_node_modules/picomatch/lib/constants.cjs +2 -1
- package/dist/_node_modules/picomatch/lib/constants.cjs.map +1 -1
- package/dist/_node_modules/picomatch/lib/constants.js +1 -1
- package/dist/_node_modules/picomatch/lib/parse.cjs +3 -2
- package/dist/_node_modules/picomatch/lib/parse.cjs.map +1 -1
- package/dist/_node_modules/picomatch/lib/parse.js +2 -2
- package/dist/_node_modules/picomatch/lib/picomatch.cjs +5 -4
- package/dist/_node_modules/picomatch/lib/picomatch.cjs.map +1 -1
- package/dist/_node_modules/picomatch/lib/picomatch.js +4 -4
- package/dist/_node_modules/picomatch/lib/scan.cjs +3 -2
- package/dist/_node_modules/picomatch/lib/scan.cjs.map +1 -1
- package/dist/_node_modules/picomatch/lib/scan.js +2 -2
- package/dist/_node_modules/picomatch/lib/utils.cjs +1 -2
- package/dist/_node_modules/picomatch/lib/utils.cjs.map +1 -1
- package/dist/_node_modules/picomatch/lib/utils.js +1 -4
- package/dist/_node_modules/queue-microtask/index.cjs +2 -1
- package/dist/_node_modules/queue-microtask/index.cjs.map +1 -1
- package/dist/_node_modules/queue-microtask/index.js +1 -1
- package/dist/_node_modules/reusify/reusify.cjs +2 -1
- package/dist/_node_modules/reusify/reusify.cjs.map +1 -1
- package/dist/_node_modules/reusify/reusify.js +1 -1
- package/dist/_node_modules/run-parallel/index.cjs +3 -2
- package/dist/_node_modules/run-parallel/index.cjs.map +1 -1
- package/dist/_node_modules/run-parallel/index.js +2 -2
- package/dist/_node_modules/spdx-correct/index.cjs +3 -2
- package/dist/_node_modules/spdx-correct/index.cjs.map +1 -1
- package/dist/_node_modules/spdx-correct/index.js +2 -2
- package/dist/_node_modules/spdx-expression-parse/index.cjs +4 -3
- package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -1
- package/dist/_node_modules/spdx-expression-parse/index.js +3 -3
- package/dist/_node_modules/spdx-expression-parse/parse.cjs +2 -1
- package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -1
- package/dist/_node_modules/spdx-expression-parse/parse.js +1 -1
- package/dist/_node_modules/spdx-expression-parse/scan.cjs +2 -1
- package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -1
- package/dist/_node_modules/spdx-expression-parse/scan.js +1 -1
- package/dist/_node_modules/{is-number → to-regex-range/_node_modules/is-number}/index.cjs +2 -1
- package/dist/_node_modules/to-regex-range/_node_modules/is-number/index.cjs.map +1 -0
- package/dist/_node_modules/{is-number → to-regex-range/_node_modules/is-number}/index.js +1 -1
- package/dist/_node_modules/to-regex-range/_node_modules/is-number/index.js.map +1 -0
- package/dist/_node_modules/to-regex-range/index.cjs +4 -3
- package/dist/_node_modules/to-regex-range/index.cjs.map +1 -1
- package/dist/_node_modules/to-regex-range/index.js +2 -2
- package/dist/_node_modules/validate-npm-package-license/index.cjs +4 -3
- package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -1
- package/dist/_node_modules/validate-npm-package-license/index.js +3 -3
- package/dist/_node_modules/yallist/iterator.cjs.map +1 -0
- package/dist/_node_modules/yallist/iterator.js.map +1 -0
- package/dist/_node_modules/{meow/_node_modules/yallist → yallist}/yallist.cjs +2 -1
- package/dist/_node_modules/yallist/yallist.cjs.map +1 -0
- package/dist/_node_modules/{meow/_node_modules/yallist → yallist}/yallist.js +1 -1
- package/dist/_node_modules/yallist/yallist.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/index.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +1 -0
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +4 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
- package/dist/_virtual/_commonjsHelpers.js +5 -1
- package/dist/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/_virtual/index.cjs +2 -10
- package/dist/_virtual/index.cjs.map +1 -1
- package/dist/_virtual/index.js +2 -11
- package/dist/_virtual/index.js.map +1 -1
- package/dist/_virtual/index13.cjs +2 -10
- package/dist/_virtual/index13.cjs.map +1 -1
- package/dist/_virtual/index13.js +2 -11
- package/dist/_virtual/index13.js.map +1 -1
- package/dist/_virtual/index14.cjs +2 -10
- package/dist/_virtual/index14.cjs.map +1 -1
- package/dist/_virtual/index14.js +2 -11
- package/dist/_virtual/index14.js.map +1 -1
- package/dist/_virtual/index15.cjs +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.cjs +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index17.cjs +2 -2
- package/dist/_virtual/index17.js +2 -2
- package/dist/_virtual/index2.cjs +2 -10
- package/dist/_virtual/index2.cjs.map +1 -1
- package/dist/_virtual/index2.js +2 -11
- package/dist/_virtual/index2.js.map +1 -1
- package/dist/_virtual/index3.cjs +2 -10
- package/dist/_virtual/index3.cjs.map +1 -1
- package/dist/_virtual/index3.js +2 -11
- package/dist/_virtual/index3.js.map +1 -1
- package/dist/_virtual/index4.cjs +2 -10
- package/dist/_virtual/index4.cjs.map +1 -1
- package/dist/_virtual/index4.js +2 -11
- package/dist/_virtual/index4.js.map +1 -1
- package/dist/_virtual/index5.cjs +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.cjs +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.cjs +2 -10
- package/dist/_virtual/index7.cjs.map +1 -1
- package/dist/_virtual/index7.js +2 -11
- package/dist/_virtual/index7.js.map +1 -1
- package/dist/_virtual/index8.cjs +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.cjs +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/_virtual/queue.cjs +1 -9
- package/dist/_virtual/queue.cjs.map +1 -1
- package/dist/_virtual/queue.js +2 -11
- package/dist/_virtual/queue.js.map +1 -1
- package/dist/packages/init/package.json.cjs +32 -32
- package/dist/packages/init/package.json.js +32 -32
- package/package.json +32 -32
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs.map +0 -1
- package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js.map +0 -1
- package/dist/_node_modules/is-number/index.cjs.map +0 -1
- package/dist/_node_modules/is-number/index.js.map +0 -1
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +0 -1
- package/dist/_node_modules/json-parse-even-better-errors/index.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/lru-cache/index.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yallist/iterator.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yallist/yallist.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/index.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/index.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/string-utils.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +0 -1
- package/dist/_node_modules/meow/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +0 -1
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs.map +0 -1
- package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js.map +0 -1
- package/dist/_node_modules/trim-newlines/index.cjs.map +0 -1
- package/dist/_node_modules/trim-newlines/index.js.map +0 -1
- package/dist/_virtual/index18.cjs +0 -5
- package/dist/_virtual/index18.cjs.map +0 -1
- package/dist/_virtual/index18.js +0 -5
- package/dist/_virtual/index18.js.map +0 -1
- package/dist/packages/init/_node_modules/slash/index.cjs.map +0 -1
- package/dist/packages/init/_node_modules/slash/index.js.map +0 -1
- /package/dist/{packages/init → _node_modules/globby}/_node_modules/slash/index.cjs +0 -0
- /package/dist/{packages/init → _node_modules/globby}/_node_modules/slash/index.js +0 -0
- /package/dist/{packages/init/_node_modules → _node_modules}/globby/ignore.cjs.map +0 -0
- /package/dist/{packages/init/_node_modules → _node_modules}/globby/utilities.cjs +0 -0
- /package/dist/{packages/init/_node_modules → _node_modules}/globby/utilities.cjs.map +0 -0
- /package/dist/{packages/init/_node_modules → _node_modules}/globby/utilities.js +0 -0
- /package/dist/{packages/init/_node_modules → _node_modules}/globby/utilities.js.map +0 -0
- /package/dist/_node_modules/{trim-newlines → meow/_node_modules/trim-newlines}/index.cjs +0 -0
- /package/dist/_node_modules/{trim-newlines → meow/_node_modules/trim-newlines}/index.js +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yallist → yallist}/iterator.cjs +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yallist → yallist}/iterator.js +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/index.cjs +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/index.js +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/string-utils.cjs +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/string-utils.js +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/tokenize-arg-string.cjs +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/tokenize-arg-string.js +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/yargs-parser-types.cjs +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/yargs-parser-types.js +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/yargs-parser.cjs +0 -0
- /package/dist/_node_modules/{meow/_node_modules/yargs-parser → yargs-parser}/build/lib/yargs-parser.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pattern.cjs","sources":["../../../../../../../node_modules/fast-glob/out/utils/pattern.js"],"sourcesContent":["\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;\r\nconst path = require(\"path\");\r\nconst globParent = require(\"glob-parent\");\r\nconst micromatch = require(\"micromatch\");\r\nconst GLOBSTAR = '**';\r\nconst ESCAPE_SYMBOL = '\\\\';\r\nconst COMMON_GLOB_SYMBOLS_RE = /[*?]|^!/;\r\nconst REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\\[[^[]*]/;\r\nconst REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\\([^(]*\\|[^|]*\\)/;\r\nconst GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\\([^(]*\\)/;\r\nconst BRACE_EXPANSION_SEPARATORS_RE = /,|\\.\\./;\r\nfunction isStaticPattern(pattern, options = {}) {\r\n return !isDynamicPattern(pattern, options);\r\n}\r\nexports.isStaticPattern = isStaticPattern;\r\nfunction isDynamicPattern(pattern, options = {}) {\r\n /**\r\n * A special case with an empty string is necessary for matching patterns that start with a forward slash.\r\n * An empty string cannot be a dynamic pattern.\r\n * For example, the pattern `/lib/*` will be spread into parts: '', 'lib', '*'.\r\n */\r\n if (pattern === '') {\r\n return false;\r\n }\r\n /**\r\n * When the `caseSensitiveMatch` option is disabled, all patterns must be marked as dynamic, because we cannot check\r\n * filepath directly (without read directory).\r\n */\r\n if (options.caseSensitiveMatch === false || pattern.includes(ESCAPE_SYMBOL)) {\r\n return true;\r\n }\r\n if (COMMON_GLOB_SYMBOLS_RE.test(pattern) || REGEX_CHARACTER_CLASS_SYMBOLS_RE.test(pattern) || REGEX_GROUP_SYMBOLS_RE.test(pattern)) {\r\n return true;\r\n }\r\n if (options.extglob !== false && GLOB_EXTENSION_SYMBOLS_RE.test(pattern)) {\r\n return true;\r\n }\r\n if (options.braceExpansion !== false && hasBraceExpansion(pattern)) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nexports.isDynamicPattern = isDynamicPattern;\r\nfunction hasBraceExpansion(pattern) {\r\n const openingBraceIndex = pattern.indexOf('{');\r\n if (openingBraceIndex === -1) {\r\n return false;\r\n }\r\n const closingBraceIndex = pattern.indexOf('}', openingBraceIndex + 1);\r\n if (closingBraceIndex === -1) {\r\n return false;\r\n }\r\n const braceContent = pattern.slice(openingBraceIndex, closingBraceIndex);\r\n return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent);\r\n}\r\nfunction convertToPositivePattern(pattern) {\r\n return isNegativePattern(pattern) ? pattern.slice(1) : pattern;\r\n}\r\nexports.convertToPositivePattern = convertToPositivePattern;\r\nfunction convertToNegativePattern(pattern) {\r\n return '!' + pattern;\r\n}\r\nexports.convertToNegativePattern = convertToNegativePattern;\r\nfunction isNegativePattern(pattern) {\r\n return pattern.startsWith('!') && pattern[1] !== '(';\r\n}\r\nexports.isNegativePattern = isNegativePattern;\r\nfunction isPositivePattern(pattern) {\r\n return !isNegativePattern(pattern);\r\n}\r\nexports.isPositivePattern = isPositivePattern;\r\nfunction getNegativePatterns(patterns) {\r\n return patterns.filter(isNegativePattern);\r\n}\r\nexports.getNegativePatterns = getNegativePatterns;\r\nfunction getPositivePatterns(patterns) {\r\n return patterns.filter(isPositivePattern);\r\n}\r\nexports.getPositivePatterns = getPositivePatterns;\r\n/**\r\n * Returns patterns that can be applied inside the current directory.\r\n *\r\n * @example\r\n * // ['./*', '*', 'a/*']\r\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\r\n */\r\nfunction getPatternsInsideCurrentDirectory(patterns) {\r\n return patterns.filter((pattern) => !isPatternRelatedToParentDirectory(pattern));\r\n}\r\nexports.getPatternsInsideCurrentDirectory = getPatternsInsideCurrentDirectory;\r\n/**\r\n * Returns patterns to be expanded relative to (outside) the current directory.\r\n *\r\n * @example\r\n * // ['../*', './../*']\r\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\r\n */\r\nfunction getPatternsOutsideCurrentDirectory(patterns) {\r\n return patterns.filter(isPatternRelatedToParentDirectory);\r\n}\r\nexports.getPatternsOutsideCurrentDirectory = getPatternsOutsideCurrentDirectory;\r\nfunction isPatternRelatedToParentDirectory(pattern) {\r\n return pattern.startsWith('..') || pattern.startsWith('./..');\r\n}\r\nexports.isPatternRelatedToParentDirectory = isPatternRelatedToParentDirectory;\r\nfunction getBaseDirectory(pattern) {\r\n return globParent(pattern, { flipBackslashes: false });\r\n}\r\nexports.getBaseDirectory = getBaseDirectory;\r\nfunction hasGlobStar(pattern) {\r\n return pattern.includes(GLOBSTAR);\r\n}\r\nexports.hasGlobStar = hasGlobStar;\r\nfunction endsWithSlashGlobStar(pattern) {\r\n return pattern.endsWith('/' + GLOBSTAR);\r\n}\r\nexports.endsWithSlashGlobStar = endsWithSlashGlobStar;\r\nfunction isAffectDepthOfReadingPattern(pattern) {\r\n const basename = path.basename(pattern);\r\n return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);\r\n}\r\nexports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;\r\nfunction expandPatternsWithBraceExpansion(patterns) {\r\n return patterns.reduce((collection, pattern) => {\r\n return collection.concat(expandBraceExpansion(pattern));\r\n }, []);\r\n}\r\nexports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;\r\nfunction expandBraceExpansion(pattern) {\r\n return micromatch.braces(pattern, {\r\n expand: true,\r\n nodupes: true\r\n });\r\n}\r\nexports.expandBraceExpansion = expandBraceExpansion;\r\nfunction getPatternParts(pattern, options) {\r\n let { parts } = micromatch.scan(pattern, Object.assign(Object.assign({}, options), { parts: true }));\r\n /**\r\n * The scan method returns an empty array in some cases.\r\n * See micromatch/picomatch#58 for more details.\r\n */\r\n if (parts.length === 0) {\r\n parts = [pattern];\r\n }\r\n /**\r\n * The scan method does not return an empty part for the pattern with a forward slash.\r\n * This is another part of micromatch/picomatch#58.\r\n */\r\n if (parts[0].startsWith('/')) {\r\n parts[0] = parts[0].slice(1);\r\n parts.unshift('');\r\n }\r\n return parts;\r\n}\r\nexports.getPatternParts = getPatternParts;\r\nfunction makeRe(pattern, options) {\r\n return micromatch.makeRe(pattern, options);\r\n}\r\nexports.makeRe = makeRe;\r\nfunction convertPatternsToRe(patterns, options) {\r\n return patterns.map((pattern) => makeRe(pattern, options));\r\n}\r\nexports.convertPatternsToRe = convertPatternsToRe;\r\nfunction matchAny(entry, patternsRe) {\r\n return patternsRe.some((patternRe) => patternRe.test(entry));\r\n}\r\nexports.matchAny = matchAny;\r\n"],"names":["pattern","require$$1","require$$2"],"mappings":";;;;;AACA,OAAO,eAAeA,QAAAA,WAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5DA,QAAAA,UAAA,W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CAACA,aAAY,OAAOA,UAAS,OAAO,CAAC;AAC7D;AAC2BA,QAAA,UAAA,sBAAG;AAC9B,SAAS,SAAS,OAAO,YAAY;AACjC,SAAO,WAAW,KAAK,CAAC,cAAc,UAAU,KAAK,KAAK,CAAC;AAC/D;AACAA,QAAA,UAAA,WAAmB;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"pattern.cjs","sources":["../../../../../../../node_modules/fast-glob/out/utils/pattern.js"],"sourcesContent":["\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;\r\nconst path = require(\"path\");\r\nconst globParent = require(\"glob-parent\");\r\nconst micromatch = require(\"micromatch\");\r\nconst GLOBSTAR = '**';\r\nconst ESCAPE_SYMBOL = '\\\\';\r\nconst COMMON_GLOB_SYMBOLS_RE = /[*?]|^!/;\r\nconst REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\\[[^[]*]/;\r\nconst REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\\([^(]*\\|[^|]*\\)/;\r\nconst GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\\([^(]*\\)/;\r\nconst BRACE_EXPANSION_SEPARATORS_RE = /,|\\.\\./;\r\nfunction isStaticPattern(pattern, options = {}) {\r\n return !isDynamicPattern(pattern, options);\r\n}\r\nexports.isStaticPattern = isStaticPattern;\r\nfunction isDynamicPattern(pattern, options = {}) {\r\n /**\r\n * A special case with an empty string is necessary for matching patterns that start with a forward slash.\r\n * An empty string cannot be a dynamic pattern.\r\n * For example, the pattern `/lib/*` will be spread into parts: '', 'lib', '*'.\r\n */\r\n if (pattern === '') {\r\n return false;\r\n }\r\n /**\r\n * When the `caseSensitiveMatch` option is disabled, all patterns must be marked as dynamic, because we cannot check\r\n * filepath directly (without read directory).\r\n */\r\n if (options.caseSensitiveMatch === false || pattern.includes(ESCAPE_SYMBOL)) {\r\n return true;\r\n }\r\n if (COMMON_GLOB_SYMBOLS_RE.test(pattern) || REGEX_CHARACTER_CLASS_SYMBOLS_RE.test(pattern) || REGEX_GROUP_SYMBOLS_RE.test(pattern)) {\r\n return true;\r\n }\r\n if (options.extglob !== false && GLOB_EXTENSION_SYMBOLS_RE.test(pattern)) {\r\n return true;\r\n }\r\n if (options.braceExpansion !== false && hasBraceExpansion(pattern)) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nexports.isDynamicPattern = isDynamicPattern;\r\nfunction hasBraceExpansion(pattern) {\r\n const openingBraceIndex = pattern.indexOf('{');\r\n if (openingBraceIndex === -1) {\r\n return false;\r\n }\r\n const closingBraceIndex = pattern.indexOf('}', openingBraceIndex + 1);\r\n if (closingBraceIndex === -1) {\r\n return false;\r\n }\r\n const braceContent = pattern.slice(openingBraceIndex, closingBraceIndex);\r\n return BRACE_EXPANSION_SEPARATORS_RE.test(braceContent);\r\n}\r\nfunction convertToPositivePattern(pattern) {\r\n return isNegativePattern(pattern) ? pattern.slice(1) : pattern;\r\n}\r\nexports.convertToPositivePattern = convertToPositivePattern;\r\nfunction convertToNegativePattern(pattern) {\r\n return '!' + pattern;\r\n}\r\nexports.convertToNegativePattern = convertToNegativePattern;\r\nfunction isNegativePattern(pattern) {\r\n return pattern.startsWith('!') && pattern[1] !== '(';\r\n}\r\nexports.isNegativePattern = isNegativePattern;\r\nfunction isPositivePattern(pattern) {\r\n return !isNegativePattern(pattern);\r\n}\r\nexports.isPositivePattern = isPositivePattern;\r\nfunction getNegativePatterns(patterns) {\r\n return patterns.filter(isNegativePattern);\r\n}\r\nexports.getNegativePatterns = getNegativePatterns;\r\nfunction getPositivePatterns(patterns) {\r\n return patterns.filter(isPositivePattern);\r\n}\r\nexports.getPositivePatterns = getPositivePatterns;\r\n/**\r\n * Returns patterns that can be applied inside the current directory.\r\n *\r\n * @example\r\n * // ['./*', '*', 'a/*']\r\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\r\n */\r\nfunction getPatternsInsideCurrentDirectory(patterns) {\r\n return patterns.filter((pattern) => !isPatternRelatedToParentDirectory(pattern));\r\n}\r\nexports.getPatternsInsideCurrentDirectory = getPatternsInsideCurrentDirectory;\r\n/**\r\n * Returns patterns to be expanded relative to (outside) the current directory.\r\n *\r\n * @example\r\n * // ['../*', './../*']\r\n * getPatternsInsideCurrentDirectory(['./*', '*', 'a/*', '../*', './../*'])\r\n */\r\nfunction getPatternsOutsideCurrentDirectory(patterns) {\r\n return patterns.filter(isPatternRelatedToParentDirectory);\r\n}\r\nexports.getPatternsOutsideCurrentDirectory = getPatternsOutsideCurrentDirectory;\r\nfunction isPatternRelatedToParentDirectory(pattern) {\r\n return pattern.startsWith('..') || pattern.startsWith('./..');\r\n}\r\nexports.isPatternRelatedToParentDirectory = isPatternRelatedToParentDirectory;\r\nfunction getBaseDirectory(pattern) {\r\n return globParent(pattern, { flipBackslashes: false });\r\n}\r\nexports.getBaseDirectory = getBaseDirectory;\r\nfunction hasGlobStar(pattern) {\r\n return pattern.includes(GLOBSTAR);\r\n}\r\nexports.hasGlobStar = hasGlobStar;\r\nfunction endsWithSlashGlobStar(pattern) {\r\n return pattern.endsWith('/' + GLOBSTAR);\r\n}\r\nexports.endsWithSlashGlobStar = endsWithSlashGlobStar;\r\nfunction isAffectDepthOfReadingPattern(pattern) {\r\n const basename = path.basename(pattern);\r\n return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);\r\n}\r\nexports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;\r\nfunction expandPatternsWithBraceExpansion(patterns) {\r\n return patterns.reduce((collection, pattern) => {\r\n return collection.concat(expandBraceExpansion(pattern));\r\n }, []);\r\n}\r\nexports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;\r\nfunction expandBraceExpansion(pattern) {\r\n return micromatch.braces(pattern, {\r\n expand: true,\r\n nodupes: true\r\n });\r\n}\r\nexports.expandBraceExpansion = expandBraceExpansion;\r\nfunction getPatternParts(pattern, options) {\r\n let { parts } = micromatch.scan(pattern, Object.assign(Object.assign({}, options), { parts: true }));\r\n /**\r\n * The scan method returns an empty array in some cases.\r\n * See micromatch/picomatch#58 for more details.\r\n */\r\n if (parts.length === 0) {\r\n parts = [pattern];\r\n }\r\n /**\r\n * The scan method does not return an empty part for the pattern with a forward slash.\r\n * This is another part of micromatch/picomatch#58.\r\n */\r\n if (parts[0].startsWith('/')) {\r\n parts[0] = parts[0].slice(1);\r\n parts.unshift('');\r\n }\r\n return parts;\r\n}\r\nexports.getPatternParts = getPatternParts;\r\nfunction makeRe(pattern, options) {\r\n return micromatch.makeRe(pattern, options);\r\n}\r\nexports.makeRe = makeRe;\r\nfunction convertPatternsToRe(patterns, options) {\r\n return patterns.map((pattern) => makeRe(pattern, options));\r\n}\r\nexports.convertPatternsToRe = convertPatternsToRe;\r\nfunction matchAny(entry, patternsRe) {\r\n return patternsRe.some((patternRe) => patternRe.test(entry));\r\n}\r\nexports.matchAny = matchAny;\r\n"],"names":["pattern","require$$1","require$$2"],"mappings":";;;;;AACA,OAAO,eAAeA,QAAAA,WAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5DA,QAAAA,UAAA,WAA8CA,kBAAA,iDAAoBA,kBAAA,kBAAsDA,QAAA,UAAA,4EAA8CA,QAAA,UAAA,gCAAqEA,QAAAA,UAAA,wDAAyBA,QAAAA,UAAA,mBAAoEA,kBAAA,2FAAgDA,kBAAA,oCAAuEA,QAAA,UAAA,8DAAiCA,QAAA,UAAA,oBAAqDA,Q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B;;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exports as pattern } from "../../../../_virtual/pattern.js";
|
|
2
2
|
import require$$0 from "path";
|
|
3
|
-
import globParent$1 from
|
|
4
|
-
import micromatch_1 from "../../../micromatch/index.js";
|
|
3
|
+
import { g as globParent$1 } from "../../../glob-parent/index.js";
|
|
4
|
+
import { m as micromatch_1 } from "../../../micromatch/index.js";
|
|
5
5
|
Object.defineProperty(pattern, "__esModule", { value: true });
|
|
6
6
|
pattern.matchAny = pattern.convertPatternsToRe = pattern.makeRe = pattern.getPatternParts = pattern.expandBraceExpansion = pattern.expandPatternsWithBraceExpansion = pattern.isAffectDepthOfReadingPattern = pattern.endsWithSlashGlobStar = pattern.hasGlobStar = pattern.getBaseDirectory = pattern.isPatternRelatedToParentDirectory = pattern.getPatternsOutsideCurrentDirectory = pattern.getPatternsInsideCurrentDirectory = pattern.getPositivePatterns = pattern.getNegativePatterns = pattern.isPositivePattern = pattern.isNegativePattern = pattern.convertToNegativePattern = pattern.convertToPositivePattern = pattern.isDynamicPattern = pattern.isStaticPattern = void 0;
|
|
7
7
|
const path = require$$0;
|
|
@@ -3,7 +3,7 @@ const stream = require("../../../../_virtual/stream3.cjs");
|
|
|
3
3
|
const index = require("../../../merge2/index.cjs");
|
|
4
4
|
Object.defineProperty(stream.__exports, "__esModule", { value: true });
|
|
5
5
|
stream.__exports.merge = void 0;
|
|
6
|
-
const merge2 = index;
|
|
6
|
+
const merge2 = index.merge2_1;
|
|
7
7
|
function merge(streams) {
|
|
8
8
|
const mergedStream = merge2(streams);
|
|
9
9
|
streams.forEach((stream2) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.cjs","sources":["../../../../../../../node_modules/fast-glob/out/utils/stream.js"],"sourcesContent":["\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.merge = void 0;\r\nconst merge2 = require(\"merge2\");\r\nfunction merge(streams) {\r\n const mergedStream = merge2(streams);\r\n streams.forEach((stream) => {\r\n stream.once('error', (error) => mergedStream.emit('error', error));\r\n });\r\n mergedStream.once('close', () => propagateCloseEventToSources(streams));\r\n mergedStream.once('end', () => propagateCloseEventToSources(streams));\r\n return mergedStream;\r\n}\r\nexports.merge = merge;\r\nfunction propagateCloseEventToSources(streams) {\r\n streams.forEach((stream) => stream.emit('close'));\r\n}\r\n"],"names":["stream","require$$0"],"mappings":";;;AACA,OAAO,eAAeA,OAAAA,WAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC/CA,OAAAA,UAAA,QAAG;AAChB,MAAM,SAASC;AACf,SAAS,MAAM,SAAS;AACpB,QAAM,eAAe,OAAO,OAAO;AACnC,UAAQ,QAAQ,CAACD,YAAW;AACxB,IAAAA,QAAO,KAAK,SAAS,CAAC,UAAU,aAAa,KAAK,SAAS,KAAK,CAAC;AAAA,EACzE,CAAK;AACD,eAAa,KAAK,SAAS,MAAM,6BAA6B,OAAO,CAAC;AACtE,eAAa,KAAK,OAAO,MAAM,6BAA6B,OAAO,CAAC;AACpE,SAAO;AACX;AACaA,OAAAA,UAAA,QAAG;AAChB,SAAS,6BAA6B,SAAS;AAC3C,UAAQ,QAAQ,CAACA,YAAWA,QAAO,KAAK,OAAO,CAAC;AACpD;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"stream.cjs","sources":["../../../../../../../node_modules/fast-glob/out/utils/stream.js"],"sourcesContent":["\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.merge = void 0;\r\nconst merge2 = require(\"merge2\");\r\nfunction merge(streams) {\r\n const mergedStream = merge2(streams);\r\n streams.forEach((stream) => {\r\n stream.once('error', (error) => mergedStream.emit('error', error));\r\n });\r\n mergedStream.once('close', () => propagateCloseEventToSources(streams));\r\n mergedStream.once('end', () => propagateCloseEventToSources(streams));\r\n return mergedStream;\r\n}\r\nexports.merge = merge;\r\nfunction propagateCloseEventToSources(streams) {\r\n streams.forEach((stream) => stream.emit('close'));\r\n}\r\n"],"names":["stream","require$$0"],"mappings":";;;AACA,OAAO,eAAeA,OAAAA,WAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC/CA,OAAAA,UAAA,QAAG;AAChB,MAAM,SAASC,MAAAA;AACf,SAAS,MAAM,SAAS;AACpB,QAAM,eAAe,OAAO,OAAO;AACnC,UAAQ,QAAQ,CAACD,YAAW;AACxB,IAAAA,QAAO,KAAK,SAAS,CAAC,UAAU,aAAa,KAAK,SAAS,KAAK,CAAC;AAAA,EACzE,CAAK;AACD,eAAa,KAAK,SAAS,MAAM,6BAA6B,OAAO,CAAC;AACtE,eAAa,KAAK,OAAO,MAAM,6BAA6B,OAAO,CAAC;AACpE,SAAO;AACX;AACaA,OAAAA,UAAA,QAAG;AAChB,SAAS,6BAA6B,SAAS;AAC3C,UAAQ,QAAQ,CAACA,YAAWA,QAAO,KAAK,OAAO,CAAC;AACpD;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __exports as stream } from "../../../../_virtual/stream3.js";
|
|
2
|
-
import merge2_1 from "../../../merge2/index.js";
|
|
2
|
+
import { m as merge2_1 } from "../../../merge2/index.js";
|
|
3
3
|
Object.defineProperty(stream, "__esModule", { value: true });
|
|
4
4
|
stream.merge = void 0;
|
|
5
5
|
const merge2 = merge2_1;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
3
|
const queue = require("../../_virtual/queue.cjs");
|
|
3
4
|
const reusify$1 = require("../reusify/reusify.cjs");
|
|
4
|
-
var reusify = reusify$1;
|
|
5
|
+
var reusify = reusify$1.reusify_1;
|
|
5
6
|
function fastqueue(context, worker, concurrency) {
|
|
6
7
|
if (typeof context === "function") {
|
|
7
8
|
concurrency = worker;
|
|
@@ -234,6 +235,7 @@ function queueAsPromised(context, worker, concurrency) {
|
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
237
|
queue.__module.exports = fastqueue;
|
|
237
|
-
queue.exports.promise = queueAsPromised;
|
|
238
|
-
|
|
238
|
+
queue.__module.exports.promise = queueAsPromised;
|
|
239
|
+
var queueExports = queue.__module.exports;
|
|
240
|
+
exports.queueExports = queueExports;
|
|
239
241
|
//# sourceMappingURL=queue.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.cjs","sources":["../../../../../node_modules/fastq/queue.js"],"sourcesContent":["'use strict'\n\n/* eslint-disable no-var */\n\nvar reusify = require('reusify')\n\nfunction fastqueue (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n if (concurrency < 1) {\n throw new Error('fastqueue concurrency must be greater than 1')\n }\n\n var cache = reusify(Task)\n var queueHead = null\n var queueTail = null\n var _running = 0\n var errorHandler = null\n\n var self = {\n push: push,\n drain: noop,\n saturated: noop,\n pause: pause,\n paused: false,\n concurrency: concurrency,\n running: running,\n resume: resume,\n idle: idle,\n length: length,\n getQueue: getQueue,\n unshift: unshift,\n empty: noop,\n kill: kill,\n killAndDrain: killAndDrain,\n error: error\n }\n\n return self\n\n function running () {\n return _running\n }\n\n function pause () {\n self.paused = true\n }\n\n function length () {\n var current = queueHead\n var counter = 0\n\n while (current) {\n current = current.next\n counter++\n }\n\n return counter\n }\n\n function getQueue () {\n var current = queueHead\n var tasks = []\n\n while (current) {\n tasks.push(current.value)\n current = current.next\n }\n\n return tasks\n }\n\n function resume () {\n if (!self.paused) return\n self.paused = false\n for (var i = 0; i < self.concurrency; i++) {\n _running++\n release()\n }\n }\n\n function idle () {\n return _running === 0 && self.length() === 0\n }\n\n function push (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueTail) {\n queueTail.next = current\n queueTail = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function unshift (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n\n if (_running === self.concurrency || self.paused) {\n if (queueHead) {\n current.next = queueHead\n queueHead = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function release (holder) {\n if (holder) {\n cache.release(holder)\n }\n var next = queueHead\n if (next) {\n if (!self.paused) {\n if (queueTail === queueHead) {\n queueTail = null\n }\n queueHead = next.next\n next.next = null\n worker.call(context, next.value, next.worked)\n if (queueTail === null) {\n self.empty()\n }\n } else {\n _running--\n }\n } else if (--_running === 0) {\n self.drain()\n }\n }\n\n function kill () {\n queueHead = null\n queueTail = null\n self.drain = noop\n }\n\n function killAndDrain () {\n queueHead = null\n queueTail = null\n self.drain()\n self.drain = noop\n }\n\n function error (handler) {\n errorHandler = handler\n }\n}\n\nfunction noop () {}\n\nfunction Task () {\n this.value = null\n this.callback = noop\n this.next = null\n this.release = noop\n this.context = null\n this.errorHandler = null\n\n var self = this\n\n this.worked = function worked (err, result) {\n var callback = self.callback\n var errorHandler = self.errorHandler\n var val = self.value\n self.value = null\n self.callback = noop\n if (self.errorHandler) {\n errorHandler(err, val)\n }\n callback.call(self.context, err, result)\n self.release(self)\n }\n}\n\nfunction queueAsPromised (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n function asyncWrapper (arg, cb) {\n worker.call(this, arg)\n .then(function (res) {\n cb(null, res)\n }, cb)\n }\n\n var queue = fastqueue(context, asyncWrapper, concurrency)\n\n var pushCb = queue.push\n var unshiftCb = queue.unshift\n\n queue.push = push\n queue.unshift = unshift\n queue.drained = drained\n\n return queue\n\n function push (value) {\n var p = new Promise(function (resolve, reject) {\n pushCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function unshift (value) {\n var p = new Promise(function (resolve, reject) {\n unshiftCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function drained () {\n if (queue.idle()) {\n return new Promise(function (resolve) {\n resolve()\n })\n }\n\n var previousDrain = queue.drain\n\n var p = new Promise(function (resolve) {\n queue.drain = function () {\n previousDrain()\n resolve()\n }\n })\n\n return p\n }\n}\n\nmodule.exports = fastqueue\nmodule.exports.promise = queueAsPromised\n"],"names":["require$$0","queue","queueModule"],"mappings":"
|
|
1
|
+
{"version":3,"file":"queue.cjs","sources":["../../../../../node_modules/fastq/queue.js"],"sourcesContent":["'use strict'\n\n/* eslint-disable no-var */\n\nvar reusify = require('reusify')\n\nfunction fastqueue (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n if (concurrency < 1) {\n throw new Error('fastqueue concurrency must be greater than 1')\n }\n\n var cache = reusify(Task)\n var queueHead = null\n var queueTail = null\n var _running = 0\n var errorHandler = null\n\n var self = {\n push: push,\n drain: noop,\n saturated: noop,\n pause: pause,\n paused: false,\n concurrency: concurrency,\n running: running,\n resume: resume,\n idle: idle,\n length: length,\n getQueue: getQueue,\n unshift: unshift,\n empty: noop,\n kill: kill,\n killAndDrain: killAndDrain,\n error: error\n }\n\n return self\n\n function running () {\n return _running\n }\n\n function pause () {\n self.paused = true\n }\n\n function length () {\n var current = queueHead\n var counter = 0\n\n while (current) {\n current = current.next\n counter++\n }\n\n return counter\n }\n\n function getQueue () {\n var current = queueHead\n var tasks = []\n\n while (current) {\n tasks.push(current.value)\n current = current.next\n }\n\n return tasks\n }\n\n function resume () {\n if (!self.paused) return\n self.paused = false\n for (var i = 0; i < self.concurrency; i++) {\n _running++\n release()\n }\n }\n\n function idle () {\n return _running === 0 && self.length() === 0\n }\n\n function push (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueTail) {\n queueTail.next = current\n queueTail = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function unshift (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n\n if (_running === self.concurrency || self.paused) {\n if (queueHead) {\n current.next = queueHead\n queueHead = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function release (holder) {\n if (holder) {\n cache.release(holder)\n }\n var next = queueHead\n if (next) {\n if (!self.paused) {\n if (queueTail === queueHead) {\n queueTail = null\n }\n queueHead = next.next\n next.next = null\n worker.call(context, next.value, next.worked)\n if (queueTail === null) {\n self.empty()\n }\n } else {\n _running--\n }\n } else if (--_running === 0) {\n self.drain()\n }\n }\n\n function kill () {\n queueHead = null\n queueTail = null\n self.drain = noop\n }\n\n function killAndDrain () {\n queueHead = null\n queueTail = null\n self.drain()\n self.drain = noop\n }\n\n function error (handler) {\n errorHandler = handler\n }\n}\n\nfunction noop () {}\n\nfunction Task () {\n this.value = null\n this.callback = noop\n this.next = null\n this.release = noop\n this.context = null\n this.errorHandler = null\n\n var self = this\n\n this.worked = function worked (err, result) {\n var callback = self.callback\n var errorHandler = self.errorHandler\n var val = self.value\n self.value = null\n self.callback = noop\n if (self.errorHandler) {\n errorHandler(err, val)\n }\n callback.call(self.context, err, result)\n self.release(self)\n }\n}\n\nfunction queueAsPromised (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n function asyncWrapper (arg, cb) {\n worker.call(this, arg)\n .then(function (res) {\n cb(null, res)\n }, cb)\n }\n\n var queue = fastqueue(context, asyncWrapper, concurrency)\n\n var pushCb = queue.push\n var unshiftCb = queue.unshift\n\n queue.push = push\n queue.unshift = unshift\n queue.drained = drained\n\n return queue\n\n function push (value) {\n var p = new Promise(function (resolve, reject) {\n pushCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function unshift (value) {\n var p = new Promise(function (resolve, reject) {\n unshiftCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function drained () {\n if (queue.idle()) {\n return new Promise(function (resolve) {\n resolve()\n })\n }\n\n var previousDrain = queue.drain\n\n var p = new Promise(function (resolve) {\n queue.drain = function () {\n previousDrain()\n resolve()\n }\n })\n\n return p\n }\n}\n\nmodule.exports = fastqueue\nmodule.exports.promise = queueAsPromised\n"],"names":["require$$0","queue","queueModule"],"mappings":";;;;AAIA,IAAI,UAAUA,UAAkB;AAEhC,SAAS,UAAW,SAAS,QAAQ,aAAa;AAChD,MAAI,OAAO,YAAY,YAAY;AACjC,kBAAc;AACd,aAAS;AACT,cAAU;AAAA,EACX;AAED,MAAI,cAAc,GAAG;AACnB,UAAM,IAAI,MAAM,8CAA8C;AAAA,EAC/D;AAED,MAAI,QAAQ,QAAQ,IAAI;AACxB,MAAI,YAAY;AAChB,MAAI,YAAY;AAChB,MAAI,WAAW;AACf,MAAI,eAAe;AAEnB,MAAI,OAAO;AAAA,IACT;AAAA,IACA,OAAO;AAAA,IACP,WAAW;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EACD;AAED,S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,QAAI,IAAI,IAAI,QAAQ,SAAU,SAAS;AACrC,MAAAA,OAAM,QAAQ,WAAY;AACxB,sBAAe;AACf,gBAAS;AAAA,MACV;AAAA,IACP,CAAK;AAED,WAAO;AAAA,EACR;AACH;AAEAC,MAAA,SAAA,UAAiB;AACjBA,MAAAA,SAAA,QAAA,UAAyB;;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import reusify_1 from "../reusify/reusify.js";
|
|
1
|
+
import { __module as queue } from "../../_virtual/queue.js";
|
|
2
|
+
import { r as reusify_1 } from "../reusify/reusify.js";
|
|
3
3
|
var reusify = reusify_1;
|
|
4
4
|
function fastqueue(context, worker, concurrency) {
|
|
5
5
|
if (typeof context === "function") {
|
|
@@ -233,8 +233,9 @@ function queueAsPromised(context, worker, concurrency) {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
queue.exports = fastqueue;
|
|
236
|
-
|
|
236
|
+
queue.exports.promise = queueAsPromised;
|
|
237
|
+
var queueExports = queue.exports;
|
|
237
238
|
export {
|
|
238
|
-
queueExports as
|
|
239
|
+
queueExports as q
|
|
239
240
|
};
|
|
240
241
|
//# sourceMappingURL=queue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sources":["../../../../../node_modules/fastq/queue.js"],"sourcesContent":["'use strict'\n\n/* eslint-disable no-var */\n\nvar reusify = require('reusify')\n\nfunction fastqueue (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n if (concurrency < 1) {\n throw new Error('fastqueue concurrency must be greater than 1')\n }\n\n var cache = reusify(Task)\n var queueHead = null\n var queueTail = null\n var _running = 0\n var errorHandler = null\n\n var self = {\n push: push,\n drain: noop,\n saturated: noop,\n pause: pause,\n paused: false,\n concurrency: concurrency,\n running: running,\n resume: resume,\n idle: idle,\n length: length,\n getQueue: getQueue,\n unshift: unshift,\n empty: noop,\n kill: kill,\n killAndDrain: killAndDrain,\n error: error\n }\n\n return self\n\n function running () {\n return _running\n }\n\n function pause () {\n self.paused = true\n }\n\n function length () {\n var current = queueHead\n var counter = 0\n\n while (current) {\n current = current.next\n counter++\n }\n\n return counter\n }\n\n function getQueue () {\n var current = queueHead\n var tasks = []\n\n while (current) {\n tasks.push(current.value)\n current = current.next\n }\n\n return tasks\n }\n\n function resume () {\n if (!self.paused) return\n self.paused = false\n for (var i = 0; i < self.concurrency; i++) {\n _running++\n release()\n }\n }\n\n function idle () {\n return _running === 0 && self.length() === 0\n }\n\n function push (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueTail) {\n queueTail.next = current\n queueTail = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function unshift (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n\n if (_running === self.concurrency || self.paused) {\n if (queueHead) {\n current.next = queueHead\n queueHead = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function release (holder) {\n if (holder) {\n cache.release(holder)\n }\n var next = queueHead\n if (next) {\n if (!self.paused) {\n if (queueTail === queueHead) {\n queueTail = null\n }\n queueHead = next.next\n next.next = null\n worker.call(context, next.value, next.worked)\n if (queueTail === null) {\n self.empty()\n }\n } else {\n _running--\n }\n } else if (--_running === 0) {\n self.drain()\n }\n }\n\n function kill () {\n queueHead = null\n queueTail = null\n self.drain = noop\n }\n\n function killAndDrain () {\n queueHead = null\n queueTail = null\n self.drain()\n self.drain = noop\n }\n\n function error (handler) {\n errorHandler = handler\n }\n}\n\nfunction noop () {}\n\nfunction Task () {\n this.value = null\n this.callback = noop\n this.next = null\n this.release = noop\n this.context = null\n this.errorHandler = null\n\n var self = this\n\n this.worked = function worked (err, result) {\n var callback = self.callback\n var errorHandler = self.errorHandler\n var val = self.value\n self.value = null\n self.callback = noop\n if (self.errorHandler) {\n errorHandler(err, val)\n }\n callback.call(self.context, err, result)\n self.release(self)\n }\n}\n\nfunction queueAsPromised (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n function asyncWrapper (arg, cb) {\n worker.call(this, arg)\n .then(function (res) {\n cb(null, res)\n }, cb)\n }\n\n var queue = fastqueue(context, asyncWrapper, concurrency)\n\n var pushCb = queue.push\n var unshiftCb = queue.unshift\n\n queue.push = push\n queue.unshift = unshift\n queue.drained = drained\n\n return queue\n\n function push (value) {\n var p = new Promise(function (resolve, reject) {\n pushCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function unshift (value) {\n var p = new Promise(function (resolve, reject) {\n unshiftCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function drained () {\n if (queue.idle()) {\n return new Promise(function (resolve) {\n resolve()\n })\n }\n\n var previousDrain = queue.drain\n\n var p = new Promise(function (resolve) {\n queue.drain = function () {\n previousDrain()\n resolve()\n }\n })\n\n return p\n }\n}\n\nmodule.exports = fastqueue\nmodule.exports.promise = queueAsPromised\n"],"names":["require$$0","queue","queueModule"],"mappings":";;AAIA,IAAI,UAAUA;AAEd,SAAS,UAAW,SAAS,QAAQ,aAAa;AAChD,MAAI,OAAO,YAAY,YAAY;AACjC,kBAAc;AACd,aAAS;AACT,cAAU;AAAA,EACX;AAED,MAAI,cAAc,GAAG;AACnB,UAAM,IAAI,MAAM,8CAA8C;AAAA,EAC/D;AAED,MAAI,QAAQ,QAAQ,I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;AACtC,YAAI,KAAK;AACP,iBAAO,GAAG;AACV;AAAA,QACD;AACD,gBAAQ,MAAM;AAAA,MACtB,CAAO;AAAA,IACP,CAAK;AAKD,MAAE,MAAM,IAAI;AAEZ,WAAO;AAAA,EACR;AAED,WAAS,UAAW;AAClB,QAAIA,OAAM,QAAQ;AAChB,aAAO,IAAI,QAAQ,SAAU,SAAS;AACpC,gBAAS;AAAA,MACjB,CAAO;AAAA,IACF;AAED,QAAI,gBAAgBA,OAAM;AAE1B,QAAI,IAAI,IAAI,QAAQ,SAAU,SAAS;AACrC,MAAAA,OAAM,QAAQ,WAAY;AACxB,sBAAe;AACf,gBAAS;AAAA,MACV;AAAA,IACP,CAAK;AAED,WAAO;AAAA,EACR;AACH;AAEAC,MAAA,UAAiB;
|
|
1
|
+
{"version":3,"file":"queue.js","sources":["../../../../../node_modules/fastq/queue.js"],"sourcesContent":["'use strict'\n\n/* eslint-disable no-var */\n\nvar reusify = require('reusify')\n\nfunction fastqueue (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n if (concurrency < 1) {\n throw new Error('fastqueue concurrency must be greater than 1')\n }\n\n var cache = reusify(Task)\n var queueHead = null\n var queueTail = null\n var _running = 0\n var errorHandler = null\n\n var self = {\n push: push,\n drain: noop,\n saturated: noop,\n pause: pause,\n paused: false,\n concurrency: concurrency,\n running: running,\n resume: resume,\n idle: idle,\n length: length,\n getQueue: getQueue,\n unshift: unshift,\n empty: noop,\n kill: kill,\n killAndDrain: killAndDrain,\n error: error\n }\n\n return self\n\n function running () {\n return _running\n }\n\n function pause () {\n self.paused = true\n }\n\n function length () {\n var current = queueHead\n var counter = 0\n\n while (current) {\n current = current.next\n counter++\n }\n\n return counter\n }\n\n function getQueue () {\n var current = queueHead\n var tasks = []\n\n while (current) {\n tasks.push(current.value)\n current = current.next\n }\n\n return tasks\n }\n\n function resume () {\n if (!self.paused) return\n self.paused = false\n for (var i = 0; i < self.concurrency; i++) {\n _running++\n release()\n }\n }\n\n function idle () {\n return _running === 0 && self.length() === 0\n }\n\n function push (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n current.errorHandler = errorHandler\n\n if (_running === self.concurrency || self.paused) {\n if (queueTail) {\n queueTail.next = current\n queueTail = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function unshift (value, done) {\n var current = cache.get()\n\n current.context = context\n current.release = release\n current.value = value\n current.callback = done || noop\n\n if (_running === self.concurrency || self.paused) {\n if (queueHead) {\n current.next = queueHead\n queueHead = current\n } else {\n queueHead = current\n queueTail = current\n self.saturated()\n }\n } else {\n _running++\n worker.call(context, current.value, current.worked)\n }\n }\n\n function release (holder) {\n if (holder) {\n cache.release(holder)\n }\n var next = queueHead\n if (next) {\n if (!self.paused) {\n if (queueTail === queueHead) {\n queueTail = null\n }\n queueHead = next.next\n next.next = null\n worker.call(context, next.value, next.worked)\n if (queueTail === null) {\n self.empty()\n }\n } else {\n _running--\n }\n } else if (--_running === 0) {\n self.drain()\n }\n }\n\n function kill () {\n queueHead = null\n queueTail = null\n self.drain = noop\n }\n\n function killAndDrain () {\n queueHead = null\n queueTail = null\n self.drain()\n self.drain = noop\n }\n\n function error (handler) {\n errorHandler = handler\n }\n}\n\nfunction noop () {}\n\nfunction Task () {\n this.value = null\n this.callback = noop\n this.next = null\n this.release = noop\n this.context = null\n this.errorHandler = null\n\n var self = this\n\n this.worked = function worked (err, result) {\n var callback = self.callback\n var errorHandler = self.errorHandler\n var val = self.value\n self.value = null\n self.callback = noop\n if (self.errorHandler) {\n errorHandler(err, val)\n }\n callback.call(self.context, err, result)\n self.release(self)\n }\n}\n\nfunction queueAsPromised (context, worker, concurrency) {\n if (typeof context === 'function') {\n concurrency = worker\n worker = context\n context = null\n }\n\n function asyncWrapper (arg, cb) {\n worker.call(this, arg)\n .then(function (res) {\n cb(null, res)\n }, cb)\n }\n\n var queue = fastqueue(context, asyncWrapper, concurrency)\n\n var pushCb = queue.push\n var unshiftCb = queue.unshift\n\n queue.push = push\n queue.unshift = unshift\n queue.drained = drained\n\n return queue\n\n function push (value) {\n var p = new Promise(function (resolve, reject) {\n pushCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function unshift (value) {\n var p = new Promise(function (resolve, reject) {\n unshiftCb(value, function (err, result) {\n if (err) {\n reject(err)\n return\n }\n resolve(result)\n })\n })\n\n // Let's fork the promise chain to\n // make the error bubble up to the user but\n // not lead to a unhandledRejection\n p.catch(noop)\n\n return p\n }\n\n function drained () {\n if (queue.idle()) {\n return new Promise(function (resolve) {\n resolve()\n })\n }\n\n var previousDrain = queue.drain\n\n var p = new Promise(function (resolve) {\n queue.drain = function () {\n previousDrain()\n resolve()\n }\n })\n\n return p\n }\n}\n\nmodule.exports = fastqueue\nmodule.exports.promise = queueAsPromised\n"],"names":["require$$0","queue","queueModule"],"mappings":";;AAIA,IAAI,UAAUA;AAEd,SAAS,UAAW,SAAS,QAAQ,aAAa;AAChD,MAAI,OAAO,YAAY,YAAY;AACjC,kBAAc;AACd,aAAS;AACT,cAAU;AAAA,EACX;AAED,MAAI,cAAc,GAAG;AACnB,UAAM,IAAI,MAAM,8CAA8C;AAAA,EAC/D;AAED,MAAI,QAAQ,QAAQ,IAAI;AACxB,MAAI,YAAY;AAChB,MAAI,YAAY;AAChB,MAAI,WAAW;AACf,MAAI,eAAe;AAEnB,MAAI,OAAO;AAAA,IACT;AAAA,IACA,OAAO;AAAA,IACP,WAAW;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EACD;A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AE1B,QAAI,IAAI,IAAI,QAAQ,SAAU,SAAS;AACrC,MAAAA,OAAM,QAAQ,WAAY;AACxB,sBAAe;AACf,gBAAS;AAAA,MACV;AAAA,IACP,CAAK;AAED,WAAO;AAAA,EACR;AACH;AAEAC,MAAA,UAAiB;AACjBA,MAAA,QAAA,UAAyB;;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
3
|
const require$$0 = require("util");
|
|
3
4
|
const index = require("../to-regex-range/index.cjs");
|
|
4
5
|
/*!
|
|
@@ -8,7 +9,7 @@ const index = require("../to-regex-range/index.cjs");
|
|
|
8
9
|
* Licensed under the MIT License.
|
|
9
10
|
*/
|
|
10
11
|
const util = require$$0;
|
|
11
|
-
const toRegexRange = index;
|
|
12
|
+
const toRegexRange = index.toRegexRange_1;
|
|
12
13
|
const isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
13
14
|
const transform = (toNumber) => {
|
|
14
15
|
return (value) => toNumber === true ? Number(value) : String(value);
|
|
@@ -206,5 +207,5 @@ const fill = (start, end, step, options = {}) => {
|
|
|
206
207
|
return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
|
|
207
208
|
};
|
|
208
209
|
var fillRange = fill;
|
|
209
|
-
|
|
210
|
+
exports.fillRange = fillRange;
|
|
210
211
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/fill-range/index.js"],"sourcesContent":["/*!\n * fill-range <https://github.com/jonschlinkert/fill-range>\n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\n'use strict';\n\nconst util = require('util');\nconst toRegexRange = require('to-regex-range');\n\nconst isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\n\nconst transform = toNumber => {\n return value => toNumber === true ? Number(value) : String(value);\n};\n\nconst isValidValue = value => {\n return typeof value === 'number' || (typeof value === 'string' && value !== '');\n};\n\nconst isNumber = num => Number.isInteger(+num);\n\nconst zeros = input => {\n let value = `${input}`;\n let index = -1;\n if (value[0] === '-') value = value.slice(1);\n if (value === '0') return false;\n while (value[++index] === '0');\n return index > 0;\n};\n\nconst stringify = (start, end, options) => {\n if (typeof start === 'string' || typeof end === 'string') {\n return true;\n }\n return options.stringify === true;\n};\n\nconst pad = (input, maxLength, toNumber) => {\n if (maxLength > 0) {\n let dash = input[0] === '-' ? '-' : '';\n if (dash) input = input.slice(1);\n input = (dash + input.padStart(dash ? maxLength - 1 : maxLength, '0'));\n }\n if (toNumber === false) {\n return String(input);\n }\n return input;\n};\n\nconst toMaxLen = (input, maxLength) => {\n let negative = input[0] === '-' ? '-' : '';\n if (negative) {\n input = input.slice(1);\n maxLength--;\n }\n while (input.length < maxLength) input = '0' + input;\n return negative ? ('-' + input) : input;\n};\n\nconst toSequence = (parts, options) => {\n parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n\n let prefix = options.capture ? '' : '?:';\n let positives = '';\n let negatives = '';\n let result;\n\n if (parts.positives.length) {\n positives = parts.positives.join('|');\n }\n\n if (parts.negatives.length) {\n negatives = `-(${prefix}${parts.negatives.join('|')})`;\n }\n\n if (positives && negatives) {\n result = `${positives}|${negatives}`;\n } else {\n result = positives || negatives;\n }\n\n if (options.wrap) {\n return `(${prefix}${result})`;\n }\n\n return result;\n};\n\nconst toRange = (a, b, isNumbers, options) => {\n if (isNumbers) {\n return toRegexRange(a, b, { wrap: false, ...options });\n }\n\n let start = String.fromCharCode(a);\n if (a === b) return start;\n\n let stop = String.fromCharCode(b);\n return `[${start}-${stop}]`;\n};\n\nconst toRegex = (start, end, options) => {\n if (Array.isArray(start)) {\n let wrap = options.wrap === true;\n let prefix = options.capture ? '' : '?:';\n return wrap ? `(${prefix}${start.join('|')})` : start.join('|');\n }\n return toRegexRange(start, end, options);\n};\n\nconst rangeError = (...args) => {\n return new RangeError('Invalid range arguments: ' + util.inspect(...args));\n};\n\nconst invalidRange = (start, end, options) => {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n};\n\nconst invalidStep = (step, options) => {\n if (options.strictRanges === true) {\n throw new TypeError(`Expected step \"${step}\" to be a number`);\n }\n return [];\n};\n\nconst fillNumbers = (start, end, step = 1, options = {}) => {\n let a = Number(start);\n let b = Number(end);\n\n if (!Number.isInteger(a) || !Number.isInteger(b)) {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n }\n\n // fix negative zero\n if (a === 0) a = 0;\n if (b === 0) b = 0;\n\n let descending = a > b;\n let startString = String(start);\n let endString = String(end);\n let stepString = String(step);\n step = Math.max(Math.abs(step), 1);\n\n let padded = zeros(startString) || zeros(endString) || zeros(stepString);\n let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;\n let toNumber = padded === false && stringify(start, end, options) === false;\n let format = options.transform || transform(toNumber);\n\n if (options.toRegex && step === 1) {\n return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);\n }\n\n let parts = { negatives: [], positives: [] };\n let push = num => parts[num < 0 ? 'negatives' : 'positives'].push(Math.abs(num));\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n if (options.toRegex === true && step > 1) {\n push(a);\n } else {\n range.push(pad(format(a, index), maxLen, toNumber));\n }\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return step > 1\n ? toSequence(parts, options)\n : toRegex(range, null, { wrap: false, ...options });\n }\n\n return range;\n};\n\nconst fillLetters = (start, end, step = 1, options = {}) => {\n if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {\n return invalidRange(start, end, options);\n }\n\n\n let format = options.transform || (val => String.fromCharCode(val));\n let a = `${start}`.charCodeAt(0);\n let b = `${end}`.charCodeAt(0);\n\n let descending = a > b;\n let min = Math.min(a, b);\n let max = Math.max(a, b);\n\n if (options.toRegex && step === 1) {\n return toRange(min, max, false, options);\n }\n\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n range.push(format(a, index));\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return toRegex(range, null, { wrap: false, options });\n }\n\n return range;\n};\n\nconst fill = (start, end, step, options = {}) => {\n if (end == null && isValidValue(start)) {\n return [start];\n }\n\n if (!isValidValue(start) || !isValidValue(end)) {\n return invalidRange(start, end, options);\n }\n\n if (typeof step === 'function') {\n return fill(start, end, 1, { transform: step });\n }\n\n if (isObject(step)) {\n return fill(start, end, 0, step);\n }\n\n let opts = { ...options };\n if (opts.capture === true) opts.wrap = true;\n step = step || opts.step || 1;\n\n if (!isNumber(step)) {\n if (step != null && !isObject(step)) return invalidStep(step, opts);\n return fill(start, end, 1, step);\n }\n\n if (isNumber(start) && isNumber(end)) {\n return fillNumbers(start, end, step, opts);\n }\n\n return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);\n};\n\nmodule.exports = fill;\n"],"names":["require$$1","index"],"mappings":";;;;;;;;;AASA,MAAM,OAAO;AACb,MAAM,eAAeA;AAErB,MAAM,WAAW,SAAO,QAAQ,QAAQ,OAAO,QAAQ,YAAY,CAAC,MAAM,QAAQ,GAAG;AAErF,MAAM,YAAY,cAAY;AAC5B,SAAO,WAAS,aAAa,OAAO,OAAO,KAAK,IAAI,OAAO,KAAK;AAClE;AAEA,MAAM,eAAe,WAAS;AAC5B,SAAO,OAAO,UAAU,YAAa,OAAO,UAAU,YAAY,UAAU;AAC9E;AAEA,MAAM,WAAW,SAAO,OAAO,UAAU,CAAC,GAAG;AAE7C,MAAM,QAAQ,WAAS;AACrB,MAAI,QAAQ,GAAG;AACf,MAAIC,SAAQ;AACZ,MAAI,MAAM,CAAC,MAAM;AAAK,YAAQ,MAAM,MAAM,CAAC;AAC3C,MAAI,UAAU;AAAK,WAAO;AAC1B,SAAO,MAAM,E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xC;AAED,MAAI,OAAO,SAAS,YAAY;AAC9B,WAAO,KAAK,OAAO,KAAK,GAAG,EAAE,WAAW,KAAI,CAAE;AAAA,EAC/C;AAED,MAAI,SAAS,IAAI,GAAG;AAClB,WAAO,KAAK,OAAO,KAAK,GAAG,IAAI;AAAA,EAChC;AAED,MAAI,OAAO,EAAE,GAAG;AAChB,MAAI,KAAK,YAAY;AAAM,SAAK,OAAO;AACvC,SAAO,QAAQ,KAAK,QAAQ;AAE5B,MAAI,CAAC,SAAS,IAAI,GAAG;AACnB,QAAI,QAAQ,QAAQ,CAAC,SAAS,IAAI;AAAG,aAAO,YAAY,MAAM,IAAI;AAClE,WAAO,KAAK,OAAO,KAAK,GAAG,IAAI;AAAA,EAChC;AAED,MAAI,SAAS,KAAK,KAAK,SAAS,GAAG,GAAG;AACpC,WAAO,YAAY,OAAO,KAAK,MAAM,IAAI;AAAA,EAC1C;AAED,SAAO,YAAY,OAAO,KAAK,KAAK,IAAI,KAAK,IAAI,IAAI,GAAG,CAAC,GAAG,IAAI;AAClE;AAEA,IAAA,YAAiB;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/fill-range/index.js"],"sourcesContent":["/*!\n * fill-range <https://github.com/jonschlinkert/fill-range>\n *\n * Copyright (c) 2014-present, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\n'use strict';\n\nconst util = require('util');\nconst toRegexRange = require('to-regex-range');\n\nconst isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);\n\nconst transform = toNumber => {\n return value => toNumber === true ? Number(value) : String(value);\n};\n\nconst isValidValue = value => {\n return typeof value === 'number' || (typeof value === 'string' && value !== '');\n};\n\nconst isNumber = num => Number.isInteger(+num);\n\nconst zeros = input => {\n let value = `${input}`;\n let index = -1;\n if (value[0] === '-') value = value.slice(1);\n if (value === '0') return false;\n while (value[++index] === '0');\n return index > 0;\n};\n\nconst stringify = (start, end, options) => {\n if (typeof start === 'string' || typeof end === 'string') {\n return true;\n }\n return options.stringify === true;\n};\n\nconst pad = (input, maxLength, toNumber) => {\n if (maxLength > 0) {\n let dash = input[0] === '-' ? '-' : '';\n if (dash) input = input.slice(1);\n input = (dash + input.padStart(dash ? maxLength - 1 : maxLength, '0'));\n }\n if (toNumber === false) {\n return String(input);\n }\n return input;\n};\n\nconst toMaxLen = (input, maxLength) => {\n let negative = input[0] === '-' ? '-' : '';\n if (negative) {\n input = input.slice(1);\n maxLength--;\n }\n while (input.length < maxLength) input = '0' + input;\n return negative ? ('-' + input) : input;\n};\n\nconst toSequence = (parts, options) => {\n parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);\n\n let prefix = options.capture ? '' : '?:';\n let positives = '';\n let negatives = '';\n let result;\n\n if (parts.positives.length) {\n positives = parts.positives.join('|');\n }\n\n if (parts.negatives.length) {\n negatives = `-(${prefix}${parts.negatives.join('|')})`;\n }\n\n if (positives && negatives) {\n result = `${positives}|${negatives}`;\n } else {\n result = positives || negatives;\n }\n\n if (options.wrap) {\n return `(${prefix}${result})`;\n }\n\n return result;\n};\n\nconst toRange = (a, b, isNumbers, options) => {\n if (isNumbers) {\n return toRegexRange(a, b, { wrap: false, ...options });\n }\n\n let start = String.fromCharCode(a);\n if (a === b) return start;\n\n let stop = String.fromCharCode(b);\n return `[${start}-${stop}]`;\n};\n\nconst toRegex = (start, end, options) => {\n if (Array.isArray(start)) {\n let wrap = options.wrap === true;\n let prefix = options.capture ? '' : '?:';\n return wrap ? `(${prefix}${start.join('|')})` : start.join('|');\n }\n return toRegexRange(start, end, options);\n};\n\nconst rangeError = (...args) => {\n return new RangeError('Invalid range arguments: ' + util.inspect(...args));\n};\n\nconst invalidRange = (start, end, options) => {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n};\n\nconst invalidStep = (step, options) => {\n if (options.strictRanges === true) {\n throw new TypeError(`Expected step \"${step}\" to be a number`);\n }\n return [];\n};\n\nconst fillNumbers = (start, end, step = 1, options = {}) => {\n let a = Number(start);\n let b = Number(end);\n\n if (!Number.isInteger(a) || !Number.isInteger(b)) {\n if (options.strictRanges === true) throw rangeError([start, end]);\n return [];\n }\n\n // fix negative zero\n if (a === 0) a = 0;\n if (b === 0) b = 0;\n\n let descending = a > b;\n let startString = String(start);\n let endString = String(end);\n let stepString = String(step);\n step = Math.max(Math.abs(step), 1);\n\n let padded = zeros(startString) || zeros(endString) || zeros(stepString);\n let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;\n let toNumber = padded === false && stringify(start, end, options) === false;\n let format = options.transform || transform(toNumber);\n\n if (options.toRegex && step === 1) {\n return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);\n }\n\n let parts = { negatives: [], positives: [] };\n let push = num => parts[num < 0 ? 'negatives' : 'positives'].push(Math.abs(num));\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n if (options.toRegex === true && step > 1) {\n push(a);\n } else {\n range.push(pad(format(a, index), maxLen, toNumber));\n }\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return step > 1\n ? toSequence(parts, options)\n : toRegex(range, null, { wrap: false, ...options });\n }\n\n return range;\n};\n\nconst fillLetters = (start, end, step = 1, options = {}) => {\n if ((!isNumber(start) && start.length > 1) || (!isNumber(end) && end.length > 1)) {\n return invalidRange(start, end, options);\n }\n\n\n let format = options.transform || (val => String.fromCharCode(val));\n let a = `${start}`.charCodeAt(0);\n let b = `${end}`.charCodeAt(0);\n\n let descending = a > b;\n let min = Math.min(a, b);\n let max = Math.max(a, b);\n\n if (options.toRegex && step === 1) {\n return toRange(min, max, false, options);\n }\n\n let range = [];\n let index = 0;\n\n while (descending ? a >= b : a <= b) {\n range.push(format(a, index));\n a = descending ? a - step : a + step;\n index++;\n }\n\n if (options.toRegex === true) {\n return toRegex(range, null, { wrap: false, options });\n }\n\n return range;\n};\n\nconst fill = (start, end, step, options = {}) => {\n if (end == null && isValidValue(start)) {\n return [start];\n }\n\n if (!isValidValue(start) || !isValidValue(end)) {\n return invalidRange(start, end, options);\n }\n\n if (typeof step === 'function') {\n return fill(start, end, 1, { transform: step });\n }\n\n if (isObject(step)) {\n return fill(start, end, 0, step);\n }\n\n let opts = { ...options };\n if (opts.capture === true) opts.wrap = true;\n step = step || opts.step || 1;\n\n if (!isNumber(step)) {\n if (step != null && !isObject(step)) return invalidStep(step, opts);\n return fill(start, end, 1, step);\n }\n\n if (isNumber(start) && isNumber(end)) {\n return fillNumbers(start, end, step, opts);\n }\n\n return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);\n};\n\nmodule.exports = fill;\n"],"names":["require$$1","index"],"mappings":";;;;;;;;;;AASA,MAAM,OAAO;AACb,MAAM,eAAeA,MAAAA;AAErB,MAAM,WAAW,SAAO,QAAQ,QAAQ,OAAO,QAAQ,YAAY,CAAC,MAAM,QAAQ,GAAG;AAErF,MAAM,YAAY,cAAY;AAC5B,SAAO,WAAS,aAAa,OAAO,OAAO,KAAK,IAAI,OAAO,KAAK;AAClE;AAEA,MAAM,eAAe,WAAS;AAC5B,SAAO,OAAO,UAAU,YAAa,OAAO,UAAU,YAAY,UAAU;AAC9E;AAEA,MAAM,WAAW,SAAO,OAAO,UAAU,CAAC,GAAG;AAE7C,MAAM,QAAQ,WAAS;AACrB,MAAI,QAAQ,GAAG;AACf,MAAIC,SAAQ;AACZ,MAAI,MAAM,CAAC,MAAM;AAAK,YAAQ,MAAM,MAAM,CAAC;AAC3C,MAAI,UAAU;AAAK,WAAO;AAC1B,SAAO,MAAM,EAAEA,MAAK,MAAM;AAAI;AAC9B,SAAOA,SAAQ;AACjB;AAEA,MAAM,YAAY,CAAC,OAAO,KAAK,YAAY;AACzC,MAAI,OAAO,UAAU,YAAY,OAAO,QAAQ,UAAU;AACxD,WAAO;AAAA,EACR;AACD,SAAO,QAAQ,cAAc;AAC/B;AAEA,MAAM,MAAM,CAAC,OAAO,WAAW,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AK,YAAY;AAAM,SAAK,OAAO;AACvC,SAAO,QAAQ,KAAK,QAAQ;AAE5B,MAAI,CAAC,SAAS,IAAI,GAAG;AACnB,QAAI,QAAQ,QAAQ,CAAC,SAAS,IAAI;AAAG,aAAO,YAAY,MAAM,IAAI;AAClE,WAAO,KAAK,OAAO,KAAK,GAAG,IAAI;AAAA,EAChC;AAED,MAAI,SAAS,KAAK,KAAK,SAAS,GAAG,GAAG;AACpC,WAAO,YAAY,OAAO,KAAK,MAAM,IAAI;AAAA,EAC1C;AAED,SAAO,YAAY,OAAO,KAAK,KAAK,IAAI,KAAK,IAAI,IAAI,GAAG,CAAC,GAAG,IAAI;AAClE;AAEA,IAAA,YAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import require$$0 from "util";
|
|
2
|
-
import toRegexRange_1 from "../to-regex-range/index.js";
|
|
2
|
+
import { t as toRegexRange_1 } from "../to-regex-range/index.js";
|
|
3
3
|
/*!
|
|
4
4
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
5
5
|
*
|
|
@@ -206,6 +206,6 @@ const fill = (start, end, step, options = {}) => {
|
|
|
206
206
|
};
|
|
207
207
|
var fillRange = fill;
|
|
208
208
|
export {
|
|
209
|
-
fillRange as
|
|
209
|
+
fillRange as f
|
|
210
210
|
};
|
|
211
211
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
3
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
3
4
|
var slice = Array.prototype.slice;
|
|
4
5
|
var toStr = Object.prototype.toString;
|
|
@@ -42,5 +43,5 @@ var implementation = function bind(that) {
|
|
|
42
43
|
}
|
|
43
44
|
return bound;
|
|
44
45
|
};
|
|
45
|
-
|
|
46
|
+
exports.implementation = implementation;
|
|
46
47
|
//# sourceMappingURL=implementation.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.cjs","sources":["../../../../../node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":["Empty"],"mappings":"
|
|
1
|
+
{"version":3,"file":"implementation.cjs","sources":["../../../../../node_modules/function-bind/implementation.js"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n"],"names":["Empty"],"mappings":";;AAIA,IAAI,gBAAgB;AACpB,IAAI,QAAQ,MAAM,UAAU;AAC5B,IAAI,QAAQ,OAAO,UAAU;AAC7B,IAAI,WAAW;AAEf,IAAA,iBAAiB,SAAS,KAAK,MAAM;AACjC,MAAI,SAAS;AACb,MAAI,OAAO,WAAW,cAAc,MAAM,KAAK,MAAM,MAAM,UAAU;AACjE,UAAM,IAAI,UAAU,gBAAgB,MAAM;AAAA,EAC7C;AACD,MAAI,OAAO,MAAM,KAAK,WAAW,CAAC;AAElC,MAAI;AACJ,MAAI,SAAS,WAAY;AACrB,QAAI,gBAAgB,OAAO;AACvB,UAAI,SAAS,OAAO;AAAA,QAChB;AAAA,QACA,KAAK,OAAO,MAAM,KAAK,SAAS,CAAC;AAAA,MACjD;AACY,UAAI,OAAO,MAAM,MAAM,QAAQ;AAC3B,eAAO;AAAA,MACV;AACD,aAAO;AAAA,IACnB,OAAe;AACH,aAAO,OAAO;AAAA,QACV;AAAA,QACA,KAAK,OAAO,MAAM,KAAK,SAAS,CAAC;AAAA,MACjD;AAAA,IACS;AAAA,EACT;AAEI,MAAI,cAAc,KAAK,IAAI,GAAG,OAAO,SAAS,KAAK,MAAM;AACzD,MAAI,YAAY,CAAA;AAChB,WAAS,IAAI,GAAG,IAAI,aAAa,KAAK;AAClC,cAAU,KAAK,MAAM,CAAC;AAAA,EACzB;AAED,UAAQ,SAAS,UAAU,sBAAsB,UAAU,KAAK,GAAG,IAAI,2CAA2C,EAAE,MAAM;AAE1H,MAAI,OAAO,WAAW;AAClB,QAAI,QAAQ,SAASA,SAAQ;AAAA;AAC7B,UAAM,YAAY,OAAO;AACzB,UAAM,YAAY,IAAI;AACtB,UAAM,YAAY;AAAA,EACrB;AAED,SAAO;AACX;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
3
|
const implementation$1 = require("./implementation.cjs");
|
|
3
|
-
var implementation = implementation$1;
|
|
4
|
+
var implementation = implementation$1.implementation;
|
|
4
5
|
var functionBind = Function.prototype.bind || implementation;
|
|
5
|
-
|
|
6
|
+
exports.functionBind = functionBind;
|
|
6
7
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/function-bind/index.js"],"sourcesContent":["'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n"],"names":["require$$0"],"mappings":";;;AAEA,IAAI,iBAAiBA,iBAAAA;AAErB,IAAA,eAAiB,SAAS,UAAU,QAAQ;;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import implementation$1 from "./implementation.js";
|
|
1
|
+
import { i as implementation$1 } from "./implementation.js";
|
|
2
2
|
var implementation = implementation$1;
|
|
3
3
|
var functionBind = Function.prototype.bind || implementation;
|
|
4
4
|
export {
|
|
5
|
-
functionBind as
|
|
5
|
+
functionBind as f
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index = require("../is-glob/index.cjs");
|
|
3
4
|
const require$$0 = require("path");
|
|
4
5
|
const require$$2 = require("os");
|
|
5
|
-
var isGlob = index;
|
|
6
|
+
var isGlob = index.isGlob;
|
|
6
7
|
var pathPosixDirname = require$$0.posix.dirname;
|
|
7
8
|
var isWin32 = require$$2.platform() === "win32";
|
|
8
9
|
var slash = "/";
|
|
@@ -24,5 +25,5 @@ var globParent = function globParent2(str, opts) {
|
|
|
24
25
|
} while (isGlob(str) || globby.test(str));
|
|
25
26
|
return str.replace(escaped, "$1");
|
|
26
27
|
};
|
|
27
|
-
|
|
28
|
+
exports.globParent = globParent;
|
|
28
29
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/glob-parent/index.js"],"sourcesContent":["'use strict';\n\nvar isGlob = require('is-glob');\nvar pathPosixDirname = require('path').posix.dirname;\nvar isWin32 = require('os').platform() === 'win32';\n\nvar slash = '/';\nvar backslash = /\\\\/g;\nvar enclosure = /[\\{\\[].*[\\}\\]]$/;\nvar globby = /(^|[^\\\\])([\\{\\[]|\\([^\\)]+$)/;\nvar escaped = /\\\\([\\!\\*\\?\\|\\[\\]\\(\\)\\{\\}])/g;\n\n/**\n * @param {string} str\n * @param {Object} opts\n * @param {boolean} [opts.flipBackslashes=true]\n * @returns {string}\n */\nmodule.exports = function globParent(str, opts) {\n var options = Object.assign({ flipBackslashes: true }, opts);\n\n // flip windows path separators\n if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {\n str = str.replace(backslash, slash);\n }\n\n // special case for strings ending in enclosure containing path separator\n if (enclosure.test(str)) {\n str += slash;\n }\n\n // preserves full path in case of trailing path separator\n str += 'a';\n\n // remove path parts that are globby\n do {\n str = pathPosixDirname(str);\n } while (isGlob(str) || globby.test(str));\n\n // remove escape chars and return result\n return str.replace(escaped, '$1');\n};\n"],"names":["require$$0","require$$1","globParent"],"mappings":";;;;;AAEA,IAAI,SAASA,MAAAA;AACb,IAAI,mBAAmBC,WAAgB,MAAM;AAC7C,IAAI,UAAU,WAAc,SAAU,MAAK;AAE3C,IAAI,QAAQ;AACZ,IAAI,YAAY;AAChB,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,UAAU;AAQd,IAAA,aAAiB,SAASC,YAAW,KAAK,MAAM;AAC9C,MAAI,UAAU,OAAO,OAAO,EAAE,iBAAiB,KAAI,GAAI,IAAI;AAG3D,MAAI,QAAQ,mBAAmB,WAAW,IAAI,QAAQ,KAAK,IAAI,GAAG;AAChE,UAAM,IAAI,QAAQ,WAAW,KAAK;AAAA,EACnC;AAGD,MAAI,UAAU,KAAK,GAAG,GAAG;AACvB,WAAO;AAAA,EACR;AAGD,SAAO;AAGP,KAAG;AACD,UAAM,iBAAiB,GAAG;AAAA,EAC9B,SAAW,OAAO,GAAG,KAAK,OAAO,KAAK,GAAG;AAGvC,SAAO,IAAI,QAAQ,SAAS,IAAI;AAClC;;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import isGlob$1 from "
|
|
1
|
+
import { i as isGlob$1 } from "../is-glob/index.js";
|
|
2
2
|
import require$$0 from "path";
|
|
3
3
|
import require$$2 from "os";
|
|
4
4
|
var isGlob = isGlob$1;
|
|
@@ -24,6 +24,6 @@ var globParent = function globParent2(str, opts) {
|
|
|
24
24
|
return str.replace(escaped, "$1");
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
|
-
globParent as
|
|
27
|
+
globParent as g
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/glob-parent/index.js"],"sourcesContent":["'use strict';\n\nvar isGlob = require('is-glob');\nvar pathPosixDirname = require('path').posix.dirname;\nvar isWin32 = require('os').platform() === 'win32';\n\nvar slash = '/';\nvar backslash = /\\\\/g;\nvar enclosure = /[\\{\\[].*[\\}\\]]$/;\nvar globby = /(^|[^\\\\])([\\{\\[]|\\([^\\)]+$)/;\nvar escaped = /\\\\([\\!\\*\\?\\|\\[\\]\\(\\)\\{\\}])/g;\n\n/**\n * @param {string} str\n * @param {Object} opts\n * @param {boolean} [opts.flipBackslashes=true]\n * @returns {string}\n */\nmodule.exports = function globParent(str, opts) {\n var options = Object.assign({ flipBackslashes: true }, opts);\n\n // flip windows path separators\n if (options.flipBackslashes && isWin32 && str.indexOf(slash) < 0) {\n str = str.replace(backslash, slash);\n }\n\n // special case for strings ending in enclosure containing path separator\n if (enclosure.test(str)) {\n str += slash;\n }\n\n // preserves full path in case of trailing path separator\n str += 'a';\n\n // remove path parts that are globby\n do {\n str = pathPosixDirname(str);\n } while (isGlob(str) || globby.test(str));\n\n // remove escape chars and return result\n return str.replace(escaped, '$1');\n};\n"],"names":["require$$0","require$$1","globParent"],"mappings":";;;AAEA,IAAI,SAASA;AACb,IAAI,mBAAmBC,WAAgB,MAAM;AAC7C,IAAI,UAAU,WAAc,SAAU,MAAK;AAE3C,IAAI,QAAQ;AACZ,IAAI,YAAY;AAChB,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,UAAU;AAQd,IAAA,aAAiB,SAASC,YAAW,KAAK,MAAM;AAC9C,MAAI,UAAU,OAAO,OAAO,EAAE,iBAAiB,KAAI,GAAI,IAAI;AAG3D,MAAI,QAAQ,mBAAmB,WAAW,IAAI,QAAQ,KAAK,IAAI,GAAG;AAChE,UAAM,IAAI,QAAQ,WAAW,KAAK;AAAA,EACnC;AAGD,MAAI,UAAU,KAAK,GAAG,GAAG;AACvB,WAAO;AAAA,EACR;AAGD,SAAO;AAGP,KAAG;AACD,UAAM,iBAAiB,GAAG;AAAA,EAC9B,SAAW,OAAO,GAAG,KAAK,OAAO,KAAK,GAAG;AAGvC,SAAO,IAAI,QAAQ,SAAS,IAAI;AAClC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/globby/node_modules/slash/index.js"],"sourcesContent":["export default function slash(path) {\n\tconst isExtendedLengthPath = /^\\\\\\\\\\?\\\\/.test(path);\n\tconst hasNonAscii = /[^\\u0000-\\u0080]+/.test(path); // eslint-disable-line no-control-regex\n\n\tif (isExtendedLengthPath || hasNonAscii) {\n\t\treturn path;\n\t}\n\n\treturn path.replace(/\\\\/g, '/');\n}\n"],"names":[],"mappings":";AAAe,SAAS,MAAM,MAAM;AACnC,QAAM,uBAAuB,YAAY,KAAK,IAAI;AAClD,QAAM,cAAc,oBAAoB,KAAK,IAAI;AAEjD,MAAI,wBAAwB,aAAa;AACxC,WAAO;AAAA,EACP;AAED,SAAO,KAAK,QAAQ,OAAO,GAAG;AAC/B;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/globby/node_modules/slash/index.js"],"sourcesContent":["export default function slash(path) {\n\tconst isExtendedLengthPath = /^\\\\\\\\\\?\\\\/.test(path);\n\tconst hasNonAscii = /[^\\u0000-\\u0080]+/.test(path); // eslint-disable-line no-control-regex\n\n\tif (isExtendedLengthPath || hasNonAscii) {\n\t\treturn path;\n\t}\n\n\treturn path.replace(/\\\\/g, '/');\n}\n"],"names":[],"mappings":"AAAe,SAAS,MAAM,MAAM;AACnC,QAAM,uBAAuB,YAAY,KAAK,IAAI;AAClD,QAAM,cAAc,oBAAoB,KAAK,IAAI;AAEjD,MAAI,wBAAwB,aAAa;AACxC,WAAO;AAAA,EACP;AAED,SAAO,KAAK,QAAQ,OAAO,GAAG;AAC/B;","x_google_ignoreList":[0]}
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const process = require("node:process");
|
|
4
4
|
const fs = require("node:fs");
|
|
5
5
|
const path = require("node:path");
|
|
6
|
-
const index = require(
|
|
7
|
-
const index$1 = require(
|
|
8
|
-
const index$2 = require(
|
|
6
|
+
const index = require("../fast-glob/out/index.cjs");
|
|
7
|
+
const index$1 = require("../ignore/index.cjs");
|
|
8
|
+
const index$2 = require('./_node_modules/slash/index.cjs');
|
|
9
9
|
const utilities = require("./utilities.cjs");
|
|
10
10
|
const ignoreFilesGlobOptions = {
|
|
11
11
|
ignore: [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import process from "node:process";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path__default from "node:path";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import slash from
|
|
4
|
+
import fastGlob from "../fast-glob/out/index.js";
|
|
5
|
+
import gitIgnore from "../ignore/index.js";
|
|
6
|
+
import slash from './_node_modules/slash/index.js';
|
|
7
7
|
import { toPath, isNegativePattern } from "./utilities.js";
|
|
8
8
|
const ignoreFilesGlobOptions = {
|
|
9
9
|
ignore: [
|
|
@@ -33,7 +33,7 @@ const toRelativePath = (fileOrDirectory, cwd) => {
|
|
|
33
33
|
};
|
|
34
34
|
const getIsIgnoredPredicate = (files, cwd) => {
|
|
35
35
|
const patterns = files.flatMap((file) => parseIgnoreFile(file, cwd));
|
|
36
|
-
const ignores =
|
|
36
|
+
const ignores = gitIgnore().add(patterns);
|
|
37
37
|
return (fileOrDirectory) => {
|
|
38
38
|
fileOrDirectory = toPath(fileOrDirectory);
|
|
39
39
|
fileOrDirectory = toRelativePath(fileOrDirectory, cwd);
|
|
@@ -46,7 +46,7 @@ const normalizeOptions = (options = {}) => ({
|
|
|
46
46
|
});
|
|
47
47
|
const isIgnoredByIgnoreFiles = async (patterns, options) => {
|
|
48
48
|
const { cwd, suppressErrors } = normalizeOptions(options);
|
|
49
|
-
const paths = await
|
|
49
|
+
const paths = await fastGlob(patterns, { cwd, suppressErrors, ...ignoreFilesGlobOptions });
|
|
50
50
|
const files = await Promise.all(
|
|
51
51
|
paths.map(async (filePath) => ({
|
|
52
52
|
filePath,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignore.js","sources":["../../../../../node_modules/globby/ignore.js"],"sourcesContent":["import process from 'node:process';\nimport fs from 'node:fs';\nimport path from 'node:path';\nimport fastGlob from 'fast-glob';\nimport gitIgnore from 'ignore';\nimport slash from 'slash';\nimport {toPath, isNegativePattern} from './utilities.js';\n\nconst ignoreFilesGlobOptions = {\n\tignore: [\n\t\t'**/node_modules',\n\t\t'**/flow-typed',\n\t\t'**/coverage',\n\t\t'**/.git',\n\t],\n\tabsolute: true,\n\tdot: true,\n};\n\nexport const GITIGNORE_FILES_PATTERN = '**/.gitignore';\n\nconst applyBaseToPattern = (pattern, base) => isNegativePattern(pattern)\n\t? '!' + path.posix.join(base, pattern.slice(1))\n\t: path.posix.join(base, pattern);\n\nconst parseIgnoreFile = (file, cwd) => {\n\tconst base = slash(path.relative(cwd, path.dirname(file.filePath)));\n\n\treturn file.content\n\t\t.split(/\\r?\\n/)\n\t\t.filter(line => line && !line.startsWith('#'))\n\t\t.map(pattern => applyBaseToPattern(pattern, base));\n};\n\nconst toRelativePath = (fileOrDirectory, cwd) => {\n\tcwd = slash(cwd);\n\tif (path.isAbsolute(fileOrDirectory)) {\n\t\tif (slash(fileOrDirectory).startsWith(cwd)) {\n\t\t\treturn path.relative(cwd, fileOrDirectory);\n\t\t}\n\n\t\tthrow new Error(`Path ${fileOrDirectory} is not in cwd ${cwd}`);\n\t}\n\n\treturn fileOrDirectory;\n};\n\nconst getIsIgnoredPredicate = (files, cwd) => {\n\tconst patterns = files.flatMap(file => parseIgnoreFile(file, cwd));\n\tconst ignores = gitIgnore().add(patterns);\n\n\treturn fileOrDirectory => {\n\t\tfileOrDirectory = toPath(fileOrDirectory);\n\t\tfileOrDirectory = toRelativePath(fileOrDirectory, cwd);\n\t\treturn fileOrDirectory ? ignores.ignores(slash(fileOrDirectory)) : false;\n\t};\n};\n\nconst normalizeOptions = (options = {}) => ({\n\tcwd: toPath(options.cwd) || process.cwd(),\n\tsuppressErrors: Boolean(options.suppressErrors),\n});\n\nexport const isIgnoredByIgnoreFiles = async (patterns, options) => {\n\tconst {cwd, suppressErrors} = normalizeOptions(options);\n\n\tconst paths = await fastGlob(patterns, {cwd, suppressErrors, ...ignoreFilesGlobOptions});\n\n\tconst files = await Promise.all(\n\t\tpaths.map(async filePath => ({\n\t\t\tfilePath,\n\t\t\tcontent: await fs.promises.readFile(filePath, 'utf8'),\n\t\t})),\n\t);\n\n\treturn getIsIgnoredPredicate(files, cwd);\n};\n\nexport const isIgnoredByIgnoreFilesSync = (patterns, options) => {\n\tconst {cwd, suppressErrors} = normalizeOptions(options);\n\n\tconst paths = fastGlob.sync(patterns, {cwd, suppressErrors, ...ignoreFilesGlobOptions});\n\n\tconst files = paths.map(filePath => ({\n\t\tfilePath,\n\t\tcontent: fs.readFileSync(filePath, 'utf8'),\n\t}));\n\n\treturn getIsIgnoredPredicate(files, cwd);\n};\n\nexport const isGitIgnored = options => isIgnoredByIgnoreFiles(GITIGNORE_FILES_PATTERN, options);\nexport const isGitIgnoredSync = options => isIgnoredByIgnoreFilesSync(GITIGNORE_FILES_PATTERN, options);\n"],"names":["path"
|
|
1
|
+
{"version":3,"file":"ignore.js","sources":["../../../../../node_modules/globby/ignore.js"],"sourcesContent":["import process from 'node:process';\nimport fs from 'node:fs';\nimport path from 'node:path';\nimport fastGlob from 'fast-glob';\nimport gitIgnore from 'ignore';\nimport slash from 'slash';\nimport {toPath, isNegativePattern} from './utilities.js';\n\nconst ignoreFilesGlobOptions = {\n\tignore: [\n\t\t'**/node_modules',\n\t\t'**/flow-typed',\n\t\t'**/coverage',\n\t\t'**/.git',\n\t],\n\tabsolute: true,\n\tdot: true,\n};\n\nexport const GITIGNORE_FILES_PATTERN = '**/.gitignore';\n\nconst applyBaseToPattern = (pattern, base) => isNegativePattern(pattern)\n\t? '!' + path.posix.join(base, pattern.slice(1))\n\t: path.posix.join(base, pattern);\n\nconst parseIgnoreFile = (file, cwd) => {\n\tconst base = slash(path.relative(cwd, path.dirname(file.filePath)));\n\n\treturn file.content\n\t\t.split(/\\r?\\n/)\n\t\t.filter(line => line && !line.startsWith('#'))\n\t\t.map(pattern => applyBaseToPattern(pattern, base));\n};\n\nconst toRelativePath = (fileOrDirectory, cwd) => {\n\tcwd = slash(cwd);\n\tif (path.isAbsolute(fileOrDirectory)) {\n\t\tif (slash(fileOrDirectory).startsWith(cwd)) {\n\t\t\treturn path.relative(cwd, fileOrDirectory);\n\t\t}\n\n\t\tthrow new Error(`Path ${fileOrDirectory} is not in cwd ${cwd}`);\n\t}\n\n\treturn fileOrDirectory;\n};\n\nconst getIsIgnoredPredicate = (files, cwd) => {\n\tconst patterns = files.flatMap(file => parseIgnoreFile(file, cwd));\n\tconst ignores = gitIgnore().add(patterns);\n\n\treturn fileOrDirectory => {\n\t\tfileOrDirectory = toPath(fileOrDirectory);\n\t\tfileOrDirectory = toRelativePath(fileOrDirectory, cwd);\n\t\treturn fileOrDirectory ? ignores.ignores(slash(fileOrDirectory)) : false;\n\t};\n};\n\nconst normalizeOptions = (options = {}) => ({\n\tcwd: toPath(options.cwd) || process.cwd(),\n\tsuppressErrors: Boolean(options.suppressErrors),\n});\n\nexport const isIgnoredByIgnoreFiles = async (patterns, options) => {\n\tconst {cwd, suppressErrors} = normalizeOptions(options);\n\n\tconst paths = await fastGlob(patterns, {cwd, suppressErrors, ...ignoreFilesGlobOptions});\n\n\tconst files = await Promise.all(\n\t\tpaths.map(async filePath => ({\n\t\t\tfilePath,\n\t\t\tcontent: await fs.promises.readFile(filePath, 'utf8'),\n\t\t})),\n\t);\n\n\treturn getIsIgnoredPredicate(files, cwd);\n};\n\nexport const isIgnoredByIgnoreFilesSync = (patterns, options) => {\n\tconst {cwd, suppressErrors} = normalizeOptions(options);\n\n\tconst paths = fastGlob.sync(patterns, {cwd, suppressErrors, ...ignoreFilesGlobOptions});\n\n\tconst files = paths.map(filePath => ({\n\t\tfilePath,\n\t\tcontent: fs.readFileSync(filePath, 'utf8'),\n\t}));\n\n\treturn getIsIgnoredPredicate(files, cwd);\n};\n\nexport const isGitIgnored = options => isIgnoredByIgnoreFiles(GITIGNORE_FILES_PATTERN, options);\nexport const isGitIgnoredSync = options => isIgnoredByIgnoreFilesSync(GITIGNORE_FILES_PATTERN, options);\n"],"names":["path"],"mappings":";;;;;;;AAQA,MAAM,yBAAyB;AAAA,EAC9B,QAAQ;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EACD,UAAU;AAAA,EACV,KAAK;AACN;AAEY,MAAC,0BAA0B;AAEvC,MAAM,qBAAqB,CAAC,SAAS,SAAS,kBAAkB,OAAO,IACpE,MAAMA,cAAK,MAAM,KAAK,MAAM,QAAQ,MAAM,CAAC,CAAC,IAC5CA,cAAK,MAAM,KAAK,MAAM,OAAO;AAEhC,MAAM,kBAAkB,CAAC,MAAM,QAAQ;AACtC,QAAM,OAAO,MAAMA,cAAK,SAAS,KAAKA,cAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AAElE,SAAO,KAAK,QACV,MAAM,OAAO,EACb,OAAO,UAAQ,QAAQ,CAAC,KAAK,WAAW,GAAG,CAAC,EAC5C,IAAI,aAAW,mBAAmB,SAAS,IAAI,CAAC;AACnD;AAEA,MAAM,iBAAiB,CAAC,iBAAiB,QAAQ;AAChD,QAAM,MAAM,GAAG;AACf,MAAIA,cAAK,WAAW,eAAe,GAAG;AACrC,QAAI,MAAM,eAAe,EAAE,WAAW,GAAG,GAAG;AAC3C,aAAOA,cAAK,SAAS,KAAK,eAAe;AAAA,IACzC;AAED,UAAM,IAAI,MAAM,QAAQ,iCAAiC,KAAK;AAAA,EAC9D;AAED,SAAO;AACR;AAEA,MAAM,wBAAwB,CAAC,OAAO,QAAQ;AAC7C,QAAM,WAAW,MAAM,QAAQ,UAAQ,gBAAgB,MAAM,GAAG,CAAC;AACjE,QAAM,UAAU,UAAS,EAAG,IAAI,QAAQ;AAExC,SAAO,qBAAmB;AACzB,sBAAkB,OAAO,eAAe;AACxC,sBAAkB,eAAe,iBAAiB,GAAG;AACrD,WAAO,kBAAkB,QAAQ,QAAQ,MAAM,eAAe,CAAC,IAAI;AAAA,EACrE;AACA;AAEA,MAAM,mBAAmB,CAAC,UAAU,QAAQ;AAAA,EAC3C,KAAK,OAAO,QAAQ,GAAG,KAAK,QAAQ,IAAK;AAAA,EACzC,gBAAgB,QAAQ,QAAQ,cAAc;AAC/C;AAEY,MAAC,yBAAyB,OAAO,UAAU,YAAY;AAClE,QAAM,EAAC,KAAK,eAAc,IAAI,iBAAiB,OAAO;AAEtD,QAAM,QAAQ,MAAM,SAAS,UAAU,EAAC,KAAK,gBAAgB,GAAG,uBAAsB,CAAC;AAEvF,QAAM,QAAQ,MAAM,QAAQ;AAAA,IAC3B,MAAM,IAAI,OAAM,cAAa;AAAA,MAC5B;AAAA,MACA,SAAS,MAAM,GAAG,SAAS,SAAS,UAAU,MAAM;AAAA,IACvD,EAAI;AAAA,EACJ;AAEC,SAAO,sBAAsB,OAAO,GAAG;AACxC;","x_google_ignoreList":[0]}
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const fs = require("node:fs");
|
|
4
4
|
const path = require("node:path");
|
|
5
|
-
require(
|
|
6
|
-
const index = require(
|
|
7
|
-
require(
|
|
5
|
+
require("../merge2/index.cjs");
|
|
6
|
+
const index = require("../fast-glob/out/index.cjs");
|
|
7
|
+
const index$1 = require("../dir-glob/index.cjs");
|
|
8
8
|
const ignore = require("./ignore.cjs");
|
|
9
9
|
const utilities = require("./utilities.cjs");
|
|
10
|
-
const index$1 = require("../../../../_virtual/index3.cjs");
|
|
11
10
|
const assertPatternsInput = (patterns) => {
|
|
12
11
|
if (patterns.some((pattern) => typeof pattern !== "string")) {
|
|
13
12
|
throw new TypeError("Patterns must be a string or an array of strings");
|
|
@@ -115,8 +114,8 @@ const generateTasks = async (patterns, options) => {
|
|
|
115
114
|
patterns2,
|
|
116
115
|
options2.ignore
|
|
117
116
|
] = await Promise.all([
|
|
118
|
-
index$1
|
|
119
|
-
index$1
|
|
117
|
+
index$1(patterns2, patternExpandOptions),
|
|
118
|
+
index$1(options2.ignore, ignoreExpandOptions)
|
|
120
119
|
]);
|
|
121
120
|
return { patterns: patterns2, options: options2 };
|
|
122
121
|
})
|