@gradientedge/cdk-utils 8.31.0 → 8.33.0
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/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +15 -17
- package/app/api-destined-function/layers/nodejs/package.json +3 -3
- package/app/api-destined-function/node_modules/.yarn-integrity +296 -53
- package/app/api-destined-function/node_modules/@types/uuid/README.md +1 -1
- package/app/api-destined-function/node_modules/@types/uuid/index.d.ts +1 -1
- package/app/api-destined-function/node_modules/@types/uuid/package.json +3 -3
- package/app/api-destined-function/node_modules/brace-expansion/README.md +6 -0
- package/app/api-destined-function/node_modules/brace-expansion/index.js +86 -84
- package/app/api-destined-function/node_modules/brace-expansion/package.json +3 -4
- package/app/api-destined-function/node_modules/glob/LICENSE +1 -7
- package/app/api-destined-function/node_modules/glob/README.md +992 -284
- package/app/api-destined-function/node_modules/glob/dist/cjs/glob.d.ts +328 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/glob.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/glob.js +228 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/glob.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.d.ts +14 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.js +27 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.d.ts +20 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.js +103 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.d.ts +75 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.js +7 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index.d.ts +96 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index.js +68 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/package.json +3 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.d.ts +77 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.js +219 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/processor.d.ts +59 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/processor.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/processor.js +309 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/processor.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/walker.d.ts +95 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/walker.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/walker.js +360 -0
- package/app/api-destined-function/node_modules/glob/dist/cjs/walker.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/glob.d.ts +328 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/glob.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/glob.js +224 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/glob.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.d.ts +14 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.js +23 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.d.ts +20 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.js +99 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/index.d.ts +96 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/index.js +55 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/package.json +3 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.d.ts +77 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.js +215 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/processor.d.ts +59 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/processor.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/processor.js +302 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/processor.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/walker.d.ts +95 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/walker.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/walker.js +351 -0
- package/app/api-destined-function/node_modules/glob/dist/mjs/walker.js.map +1 -0
- package/app/api-destined-function/node_modules/glob/package.json +76 -30
- package/app/api-destined-function/node_modules/{inflight → lru-cache}/LICENSE +1 -1
- package/app/api-destined-function/node_modules/lru-cache/README.md +1117 -0
- package/app/api-destined-function/node_modules/lru-cache/index.d.ts +869 -0
- package/app/api-destined-function/node_modules/lru-cache/index.js +1227 -0
- package/app/api-destined-function/node_modules/lru-cache/index.mjs +1227 -0
- package/app/api-destined-function/node_modules/lru-cache/package.json +96 -0
- package/app/api-destined-function/node_modules/minimatch/LICENSE +1 -1
- package/app/api-destined-function/node_modules/minimatch/README.md +305 -55
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.js +22 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.d.ts +42 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.js +7 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.d.ts +92 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.js +1304 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/package.json +3 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.js +24 -0
- package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.js +18 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.d.ts +92 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.js +1289 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/package.json +3 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.js +20 -0
- package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
- package/app/api-destined-function/node_modules/minimatch/package.json +67 -11
- package/app/api-destined-function/node_modules/{once → minipass}/LICENSE +1 -1
- package/app/api-destined-function/node_modules/minipass/README.md +769 -0
- package/app/api-destined-function/node_modules/minipass/index.d.ts +150 -0
- package/app/api-destined-function/node_modules/minipass/index.js +702 -0
- package/app/api-destined-function/node_modules/minipass/index.mjs +702 -0
- package/app/api-destined-function/node_modules/minipass/package.json +76 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/package.json +4 -3
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.js +7 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.js.map +1 -1
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/find-made.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/find-made.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index-cjs.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index-cjs.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/use-native.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/use-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/find-made.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/find-made.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/index.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/opts-arg.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/opts-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/path-arg.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/path-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/use-native.d.ts +1 -0
- package/app/api-destined-function/node_modules/mkdirp/dist/mjs/use-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/mkdirp/package.json +4 -3
- package/app/api-destined-function/node_modules/path-scurry/LICENSE.md +55 -0
- package/app/api-destined-function/node_modules/path-scurry/README.md +559 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.d.ts +1055 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.js +1865 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/cjs/package.json +3 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.d.ts +1055 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.js +1827 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/path-scurry/dist/mjs/package.json +3 -0
- package/app/api-destined-function/node_modules/path-scurry/package.json +87 -0
- package/app/api-destined-function/node_modules/rimraf/LICENSE +1 -1
- package/app/api-destined-function/node_modules/rimraf/README.md +185 -72
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/package.json +84 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.d.ts +8 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.js +260 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.js +61 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.js +58 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.d.ts +17 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.js +46 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.js +21 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.d.ts +57 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.js +7 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.d.ts +71 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.js +92 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.d.ts +17 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.js +36 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.js +54 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.js +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.d.ts +5 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.js +19 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.d.ts +8 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.js +68 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.js +12 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.js +192 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.js +24 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.js +123 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.js +182 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.js +19 -0
- package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.js +55 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.js +53 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.d.ts +17 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.js +31 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.js +16 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.d.ts +71 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.js +84 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.d.ts +17 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.js +31 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/package.json +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.js +49 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.js +2 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.d.ts +5 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.js +14 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.d.ts +8 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.js +63 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.d.ts +3 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.js +6 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.js +187 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.js +19 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.js +118 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.js +177 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.d.ts +4 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.d.ts.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.js +13 -0
- package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.js.map +1 -0
- package/app/api-destined-function/node_modules/rimraf/package.json +67 -15
- package/app/api-destined-function/package.json +3 -3
- package/dist/src/lib/common/stack.js +1 -1
- package/dist/src/lib/manager/aws/ssm-manager.js +1 -1
- package/package.json +12 -12
- package/src/lib/common/stack.ts +1 -1
- package/src/lib/manager/aws/ssm-manager.ts +1 -1
- package/app/api-destined-function/node_modules/concat-map/.travis.yml +0 -4
- package/app/api-destined-function/node_modules/concat-map/LICENSE +0 -18
- package/app/api-destined-function/node_modules/concat-map/README.markdown +0 -62
- package/app/api-destined-function/node_modules/concat-map/example/map.js +0 -6
- package/app/api-destined-function/node_modules/concat-map/index.js +0 -13
- package/app/api-destined-function/node_modules/concat-map/package.json +0 -43
- package/app/api-destined-function/node_modules/glob/common.js +0 -236
- package/app/api-destined-function/node_modules/glob/glob.js +0 -787
- package/app/api-destined-function/node_modules/glob/sync.js +0 -483
- package/app/api-destined-function/node_modules/inflight/README.md +0 -37
- package/app/api-destined-function/node_modules/inflight/inflight.js +0 -54
- package/app/api-destined-function/node_modules/inflight/package.json +0 -29
- package/app/api-destined-function/node_modules/inherits/LICENSE +0 -16
- package/app/api-destined-function/node_modules/inherits/README.md +0 -42
- package/app/api-destined-function/node_modules/inherits/inherits.js +0 -9
- package/app/api-destined-function/node_modules/inherits/inherits_browser.js +0 -27
- package/app/api-destined-function/node_modules/inherits/package.json +0 -29
- package/app/api-destined-function/node_modules/minimatch/minimatch.js +0 -952
- package/app/api-destined-function/node_modules/once/README.md +0 -79
- package/app/api-destined-function/node_modules/once/once.js +0 -42
- package/app/api-destined-function/node_modules/once/package.json +0 -33
- package/app/api-destined-function/node_modules/path-is-absolute/index.js +0 -20
- package/app/api-destined-function/node_modules/path-is-absolute/license +0 -21
- package/app/api-destined-function/node_modules/path-is-absolute/package.json +0 -43
- package/app/api-destined-function/node_modules/path-is-absolute/readme.md +0 -59
- package/app/api-destined-function/node_modules/rimraf/bin.js +0 -68
- package/app/api-destined-function/node_modules/rimraf/rimraf.js +0 -360
- package/app/api-destined-function/node_modules/wrappy/LICENSE +0 -15
- package/app/api-destined-function/node_modules/wrappy/README.md +0 -36
- package/app/api-destined-function/node_modules/wrappy/package.json +0 -29
- package/app/api-destined-function/node_modules/wrappy/wrappy.js +0 -33
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single-use utility classes to provide functionality to the {@link Glob}
|
|
3
|
+
* methods.
|
|
4
|
+
*
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import Minipass from 'minipass';
|
|
8
|
+
import { Ignore } from './ignore.js';
|
|
9
|
+
import { Processor } from './processor.js';
|
|
10
|
+
const makeIgnore = (ignore, opts) => typeof ignore === 'string'
|
|
11
|
+
? new Ignore([ignore], opts)
|
|
12
|
+
: Array.isArray(ignore)
|
|
13
|
+
? new Ignore(ignore, opts)
|
|
14
|
+
: ignore;
|
|
15
|
+
/**
|
|
16
|
+
* basic walking utilities that all the glob walker types use
|
|
17
|
+
*/
|
|
18
|
+
export class GlobUtil {
|
|
19
|
+
path;
|
|
20
|
+
patterns;
|
|
21
|
+
opts;
|
|
22
|
+
seen = new Set();
|
|
23
|
+
paused = false;
|
|
24
|
+
aborted = false;
|
|
25
|
+
#onResume = [];
|
|
26
|
+
#ignore;
|
|
27
|
+
#sep;
|
|
28
|
+
signal;
|
|
29
|
+
maxDepth;
|
|
30
|
+
constructor(patterns, path, opts) {
|
|
31
|
+
this.patterns = patterns;
|
|
32
|
+
this.path = path;
|
|
33
|
+
this.opts = opts;
|
|
34
|
+
this.#sep = opts.platform === 'win32' ? '\\' : '/';
|
|
35
|
+
if (opts.ignore) {
|
|
36
|
+
this.#ignore = makeIgnore(opts.ignore, opts);
|
|
37
|
+
}
|
|
38
|
+
// ignore, always set with maxDepth, but it's optional on the
|
|
39
|
+
// GlobOptions type
|
|
40
|
+
/* c8 ignore start */
|
|
41
|
+
this.maxDepth = opts.maxDepth || Infinity;
|
|
42
|
+
/* c8 ignore stop */
|
|
43
|
+
if (opts.signal) {
|
|
44
|
+
this.signal = opts.signal;
|
|
45
|
+
this.signal.addEventListener('abort', () => {
|
|
46
|
+
this.#onResume.length = 0;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
#ignored(path) {
|
|
51
|
+
return this.seen.has(path) || !!this.#ignore?.ignored?.(path);
|
|
52
|
+
}
|
|
53
|
+
#childrenIgnored(path) {
|
|
54
|
+
return !!this.#ignore?.childrenIgnored?.(path);
|
|
55
|
+
}
|
|
56
|
+
// backpressure mechanism
|
|
57
|
+
pause() {
|
|
58
|
+
this.paused = true;
|
|
59
|
+
}
|
|
60
|
+
resume() {
|
|
61
|
+
/* c8 ignore start */
|
|
62
|
+
if (this.signal?.aborted)
|
|
63
|
+
return;
|
|
64
|
+
/* c8 ignore stop */
|
|
65
|
+
this.paused = false;
|
|
66
|
+
let fn = undefined;
|
|
67
|
+
while (!this.paused && (fn = this.#onResume.shift())) {
|
|
68
|
+
fn();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
onResume(fn) {
|
|
72
|
+
if (this.signal?.aborted)
|
|
73
|
+
return;
|
|
74
|
+
/* c8 ignore start */
|
|
75
|
+
if (!this.paused) {
|
|
76
|
+
fn();
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
/* c8 ignore stop */
|
|
80
|
+
this.#onResume.push(fn);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// do the requisite realpath/stat checking, and return the path
|
|
84
|
+
// to add or undefined to filter it out.
|
|
85
|
+
async matchCheck(e, ifDir) {
|
|
86
|
+
if (ifDir && this.opts.nodir)
|
|
87
|
+
return undefined;
|
|
88
|
+
let rpc;
|
|
89
|
+
if (this.opts.realpath) {
|
|
90
|
+
rpc = e.realpathCached() || (await e.realpath());
|
|
91
|
+
if (!rpc)
|
|
92
|
+
return undefined;
|
|
93
|
+
e = rpc;
|
|
94
|
+
}
|
|
95
|
+
const needStat = e.isUnknown() || this.opts.stat;
|
|
96
|
+
return this.matchCheckTest(needStat ? await e.lstat() : e, ifDir);
|
|
97
|
+
}
|
|
98
|
+
matchCheckTest(e, ifDir) {
|
|
99
|
+
return e &&
|
|
100
|
+
(this.maxDepth === Infinity || e.depth() <= this.maxDepth) &&
|
|
101
|
+
(!ifDir || e.canReaddir()) &&
|
|
102
|
+
(!this.opts.nodir || !e.isDirectory()) &&
|
|
103
|
+
!this.#ignored(e)
|
|
104
|
+
? e
|
|
105
|
+
: undefined;
|
|
106
|
+
}
|
|
107
|
+
matchCheckSync(e, ifDir) {
|
|
108
|
+
if (ifDir && this.opts.nodir)
|
|
109
|
+
return undefined;
|
|
110
|
+
let rpc;
|
|
111
|
+
if (this.opts.realpath) {
|
|
112
|
+
rpc = e.realpathCached() || e.realpathSync();
|
|
113
|
+
if (!rpc)
|
|
114
|
+
return undefined;
|
|
115
|
+
e = rpc;
|
|
116
|
+
}
|
|
117
|
+
const needStat = e.isUnknown() || this.opts.stat;
|
|
118
|
+
return this.matchCheckTest(needStat ? e.lstatSync() : e, ifDir);
|
|
119
|
+
}
|
|
120
|
+
matchFinish(e, absolute) {
|
|
121
|
+
if (this.#ignored(e))
|
|
122
|
+
return;
|
|
123
|
+
const abs = this.opts.absolute === undefined ? absolute : this.opts.absolute;
|
|
124
|
+
this.seen.add(e);
|
|
125
|
+
const mark = this.opts.mark && e.isDirectory() ? this.#sep : '';
|
|
126
|
+
// ok, we have what we need!
|
|
127
|
+
if (this.opts.withFileTypes) {
|
|
128
|
+
this.matchEmit(e);
|
|
129
|
+
}
|
|
130
|
+
else if (abs) {
|
|
131
|
+
this.matchEmit(e.fullpath() + mark);
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
const rel = e.relative();
|
|
135
|
+
const pre = this.opts.dotRelative && !rel.startsWith('..' + this.#sep)
|
|
136
|
+
? '.' + this.#sep
|
|
137
|
+
: '';
|
|
138
|
+
this.matchEmit(!rel && mark ? '.' + mark : pre + rel + mark);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
async match(e, absolute, ifDir) {
|
|
142
|
+
const p = await this.matchCheck(e, ifDir);
|
|
143
|
+
if (p)
|
|
144
|
+
this.matchFinish(p, absolute);
|
|
145
|
+
}
|
|
146
|
+
matchSync(e, absolute, ifDir) {
|
|
147
|
+
const p = this.matchCheckSync(e, ifDir);
|
|
148
|
+
if (p)
|
|
149
|
+
this.matchFinish(p, absolute);
|
|
150
|
+
}
|
|
151
|
+
walkCB(target, patterns, cb) {
|
|
152
|
+
/* c8 ignore start */
|
|
153
|
+
if (this.signal?.aborted)
|
|
154
|
+
cb();
|
|
155
|
+
/* c8 ignore stop */
|
|
156
|
+
this.walkCB2(target, patterns, new Processor(this.opts), cb);
|
|
157
|
+
}
|
|
158
|
+
walkCB2(target, patterns, processor, cb) {
|
|
159
|
+
if (this.#childrenIgnored(target))
|
|
160
|
+
return cb();
|
|
161
|
+
if (this.signal?.aborted)
|
|
162
|
+
cb();
|
|
163
|
+
if (this.paused) {
|
|
164
|
+
this.onResume(() => this.walkCB2(target, patterns, processor, cb));
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
processor.processPatterns(target, patterns);
|
|
168
|
+
// done processing. all of the above is sync, can be abstracted out.
|
|
169
|
+
// subwalks is a map of paths to the entry filters they need
|
|
170
|
+
// matches is a map of paths to [absolute, ifDir] tuples.
|
|
171
|
+
let tasks = 1;
|
|
172
|
+
const next = () => {
|
|
173
|
+
if (--tasks === 0)
|
|
174
|
+
cb();
|
|
175
|
+
};
|
|
176
|
+
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
177
|
+
if (this.#ignored(m))
|
|
178
|
+
continue;
|
|
179
|
+
tasks++;
|
|
180
|
+
this.match(m, absolute, ifDir).then(() => next());
|
|
181
|
+
}
|
|
182
|
+
for (const t of processor.subwalkTargets()) {
|
|
183
|
+
if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
tasks++;
|
|
187
|
+
const childrenCached = t.readdirCached();
|
|
188
|
+
if (t.calledReaddir())
|
|
189
|
+
this.walkCB3(t, childrenCached, processor, next);
|
|
190
|
+
else {
|
|
191
|
+
t.readdirCB((_, entries) => this.walkCB3(t, entries, processor, next), true);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
next();
|
|
195
|
+
}
|
|
196
|
+
walkCB3(target, entries, processor, cb) {
|
|
197
|
+
processor = processor.filterEntries(target, entries);
|
|
198
|
+
let tasks = 1;
|
|
199
|
+
const next = () => {
|
|
200
|
+
if (--tasks === 0)
|
|
201
|
+
cb();
|
|
202
|
+
};
|
|
203
|
+
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
204
|
+
if (this.#ignored(m))
|
|
205
|
+
continue;
|
|
206
|
+
tasks++;
|
|
207
|
+
this.match(m, absolute, ifDir).then(() => next());
|
|
208
|
+
}
|
|
209
|
+
for (const [target, patterns] of processor.subwalks.entries()) {
|
|
210
|
+
tasks++;
|
|
211
|
+
this.walkCB2(target, patterns, processor.child(), next);
|
|
212
|
+
}
|
|
213
|
+
next();
|
|
214
|
+
}
|
|
215
|
+
walkCBSync(target, patterns, cb) {
|
|
216
|
+
/* c8 ignore start */
|
|
217
|
+
if (this.signal?.aborted)
|
|
218
|
+
cb();
|
|
219
|
+
/* c8 ignore stop */
|
|
220
|
+
this.walkCB2Sync(target, patterns, new Processor(this.opts), cb);
|
|
221
|
+
}
|
|
222
|
+
walkCB2Sync(target, patterns, processor, cb) {
|
|
223
|
+
if (this.#childrenIgnored(target))
|
|
224
|
+
return cb();
|
|
225
|
+
if (this.signal?.aborted)
|
|
226
|
+
cb();
|
|
227
|
+
if (this.paused) {
|
|
228
|
+
this.onResume(() => this.walkCB2Sync(target, patterns, processor, cb));
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
processor.processPatterns(target, patterns);
|
|
232
|
+
// done processing. all of the above is sync, can be abstracted out.
|
|
233
|
+
// subwalks is a map of paths to the entry filters they need
|
|
234
|
+
// matches is a map of paths to [absolute, ifDir] tuples.
|
|
235
|
+
let tasks = 1;
|
|
236
|
+
const next = () => {
|
|
237
|
+
if (--tasks === 0)
|
|
238
|
+
cb();
|
|
239
|
+
};
|
|
240
|
+
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
241
|
+
if (this.#ignored(m))
|
|
242
|
+
continue;
|
|
243
|
+
this.matchSync(m, absolute, ifDir);
|
|
244
|
+
}
|
|
245
|
+
for (const t of processor.subwalkTargets()) {
|
|
246
|
+
if (this.maxDepth !== Infinity && t.depth() >= this.maxDepth) {
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
249
|
+
tasks++;
|
|
250
|
+
const children = t.readdirSync();
|
|
251
|
+
this.walkCB3Sync(t, children, processor, next);
|
|
252
|
+
}
|
|
253
|
+
next();
|
|
254
|
+
}
|
|
255
|
+
walkCB3Sync(target, entries, processor, cb) {
|
|
256
|
+
processor = processor.filterEntries(target, entries);
|
|
257
|
+
let tasks = 1;
|
|
258
|
+
const next = () => {
|
|
259
|
+
if (--tasks === 0)
|
|
260
|
+
cb();
|
|
261
|
+
};
|
|
262
|
+
for (const [m, absolute, ifDir] of processor.matches.entries()) {
|
|
263
|
+
if (this.#ignored(m))
|
|
264
|
+
continue;
|
|
265
|
+
this.matchSync(m, absolute, ifDir);
|
|
266
|
+
}
|
|
267
|
+
for (const [target, patterns] of processor.subwalks.entries()) {
|
|
268
|
+
tasks++;
|
|
269
|
+
this.walkCB2Sync(target, patterns, processor.child(), next);
|
|
270
|
+
}
|
|
271
|
+
next();
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
export class GlobWalker extends GlobUtil {
|
|
275
|
+
matches;
|
|
276
|
+
constructor(patterns, path, opts) {
|
|
277
|
+
super(patterns, path, opts);
|
|
278
|
+
this.matches = new Set();
|
|
279
|
+
}
|
|
280
|
+
matchEmit(e) {
|
|
281
|
+
this.matches.add(e);
|
|
282
|
+
}
|
|
283
|
+
async walk() {
|
|
284
|
+
if (this.signal?.aborted)
|
|
285
|
+
throw this.signal.reason;
|
|
286
|
+
if (this.path.isUnknown()) {
|
|
287
|
+
await this.path.lstat();
|
|
288
|
+
}
|
|
289
|
+
await new Promise((res, rej) => {
|
|
290
|
+
this.walkCB(this.path, this.patterns, () => {
|
|
291
|
+
if (this.signal?.aborted) {
|
|
292
|
+
rej(this.signal.reason);
|
|
293
|
+
}
|
|
294
|
+
else {
|
|
295
|
+
res(this.matches);
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
return this.matches;
|
|
300
|
+
}
|
|
301
|
+
walkSync() {
|
|
302
|
+
if (this.signal?.aborted)
|
|
303
|
+
throw this.signal.reason;
|
|
304
|
+
if (this.path.isUnknown()) {
|
|
305
|
+
this.path.lstatSync();
|
|
306
|
+
}
|
|
307
|
+
// nothing for the callback to do, because this never pauses
|
|
308
|
+
this.walkCBSync(this.path, this.patterns, () => {
|
|
309
|
+
if (this.signal?.aborted)
|
|
310
|
+
throw this.signal.reason;
|
|
311
|
+
});
|
|
312
|
+
return this.matches;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
export class GlobStream extends GlobUtil {
|
|
316
|
+
results;
|
|
317
|
+
constructor(patterns, path, opts) {
|
|
318
|
+
super(patterns, path, opts);
|
|
319
|
+
this.results = new Minipass({
|
|
320
|
+
signal: this.signal,
|
|
321
|
+
objectMode: true,
|
|
322
|
+
});
|
|
323
|
+
this.results.on('drain', () => this.resume());
|
|
324
|
+
this.results.on('resume', () => this.resume());
|
|
325
|
+
}
|
|
326
|
+
matchEmit(e) {
|
|
327
|
+
this.results.write(e);
|
|
328
|
+
if (!this.results.flowing)
|
|
329
|
+
this.pause();
|
|
330
|
+
}
|
|
331
|
+
stream() {
|
|
332
|
+
const target = this.path;
|
|
333
|
+
if (target.isUnknown()) {
|
|
334
|
+
target.lstat().then(() => {
|
|
335
|
+
this.walkCB(target, this.patterns, () => this.results.end());
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
this.walkCB(target, this.patterns, () => this.results.end());
|
|
340
|
+
}
|
|
341
|
+
return this.results;
|
|
342
|
+
}
|
|
343
|
+
streamSync() {
|
|
344
|
+
if (this.path.isUnknown()) {
|
|
345
|
+
this.path.lstatSync();
|
|
346
|
+
}
|
|
347
|
+
this.walkCBSync(this.path, this.patterns, () => this.results.end());
|
|
348
|
+
return this.results;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
//# sourceMappingURL=walker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"walker.js","sourceRoot":"","sources":["../../src/walker.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,QAAQ,MAAM,UAAU,CAAA;AAE/B,OAAO,EAAE,MAAM,EAAc,MAAM,aAAa,CAAA;AAQhD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAgE1C,MAAM,UAAU,GAAG,CACjB,MAAsC,EACtC,IAAoB,EACR,EAAE,CACd,OAAO,MAAM,KAAK,QAAQ;IACxB,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC;IAC5B,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;QACvB,CAAC,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC;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.me/)",
|
|
3
3
|
"name": "glob",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "
|
|
4
|
+
"description": "the most correct and second fastest glob implementation in JavaScript",
|
|
5
|
+
"version": "9.3.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git://github.com/isaacs/node-glob.git"
|
|
9
9
|
},
|
|
10
|
-
"main": "
|
|
10
|
+
"main": "./dist/cjs/index-cjs.js",
|
|
11
|
+
"module": "./dist/mjs/index.js",
|
|
12
|
+
"types": "./dist/mjs/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": {
|
|
16
|
+
"types": "./dist/mjs/index.d.ts",
|
|
17
|
+
"default": "./dist/mjs/index.js"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"types": "./dist/cjs/index.d.ts",
|
|
21
|
+
"default": "./dist/cjs/index-cjs.js"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
11
25
|
"files": [
|
|
12
|
-
"
|
|
13
|
-
"sync.js",
|
|
14
|
-
"common.js"
|
|
26
|
+
"dist"
|
|
15
27
|
],
|
|
16
|
-
"
|
|
17
|
-
"
|
|
28
|
+
"scripts": {
|
|
29
|
+
"preversion": "npm test",
|
|
30
|
+
"postversion": "npm publish",
|
|
31
|
+
"prepublishOnly": "git push origin --follow-tags",
|
|
32
|
+
"preprepare": "rm -rf dist",
|
|
33
|
+
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
|
|
34
|
+
"postprepare": "bash fixup.sh",
|
|
35
|
+
"pretest": "npm run prepare",
|
|
36
|
+
"presnap": "npm run prepare",
|
|
37
|
+
"test": "c8 tap",
|
|
38
|
+
"snap": "c8 tap",
|
|
39
|
+
"format": "prettier --write . --loglevel warn",
|
|
40
|
+
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts",
|
|
41
|
+
"prepublish": "npm run benchclean",
|
|
42
|
+
"profclean": "rm -f v8.log profile.txt",
|
|
43
|
+
"test-regen": "npm run profclean && TEST_REGEN=1 node --no-warnings --loader ts-node/esm test/00-setup.ts",
|
|
44
|
+
"prebench": "npm run prepare",
|
|
45
|
+
"bench": "bash benchmark.sh",
|
|
46
|
+
"preprof": "npm run prepare",
|
|
47
|
+
"prof": "bash prof.sh",
|
|
48
|
+
"benchclean": "node benchclean.js"
|
|
49
|
+
},
|
|
50
|
+
"prettier": {
|
|
51
|
+
"semi": false,
|
|
52
|
+
"printWidth": 75,
|
|
53
|
+
"tabWidth": 2,
|
|
54
|
+
"useTabs": false,
|
|
55
|
+
"singleQuote": true,
|
|
56
|
+
"jsxSingleQuote": false,
|
|
57
|
+
"bracketSameLine": true,
|
|
58
|
+
"arrowParens": "avoid",
|
|
59
|
+
"endOfLine": "lf"
|
|
18
60
|
},
|
|
19
61
|
"dependencies": {
|
|
20
62
|
"fs.realpath": "^1.0.0",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"once": "^1.3.0",
|
|
25
|
-
"path-is-absolute": "^1.0.0"
|
|
63
|
+
"minimatch": "^7.4.1",
|
|
64
|
+
"minipass": "^4.2.4",
|
|
65
|
+
"path-scurry": "^1.6.1"
|
|
26
66
|
},
|
|
27
67
|
"devDependencies": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
68
|
+
"@types/node": "^18.11.18",
|
|
69
|
+
"@types/tap": "^15.0.7",
|
|
70
|
+
"c8": "^7.12.0",
|
|
71
|
+
"eslint-config-prettier": "^8.6.0",
|
|
72
|
+
"memfs": "^3.4.13",
|
|
73
|
+
"mkdirp": "^2.1.4",
|
|
74
|
+
"prettier": "^2.8.3",
|
|
75
|
+
"rimraf": "^4.1.3",
|
|
76
|
+
"tap": "^16.3.4",
|
|
77
|
+
"ts-node": "^10.9.1",
|
|
78
|
+
"typedoc": "^0.23.24",
|
|
79
|
+
"typescript": "^4.9.4"
|
|
33
80
|
},
|
|
34
81
|
"tap": {
|
|
35
|
-
"before": "test/00-setup.
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js",
|
|
44
|
-
"bench": "bash benchmark.sh",
|
|
45
|
-
"prof": "bash prof.sh && cat profile.txt",
|
|
46
|
-
"benchclean": "node benchclean.js"
|
|
82
|
+
"before": "test/00-setup.ts",
|
|
83
|
+
"coverage": false,
|
|
84
|
+
"node-arg": [
|
|
85
|
+
"--no-warnings",
|
|
86
|
+
"--loader",
|
|
87
|
+
"ts-node/esm"
|
|
88
|
+
],
|
|
89
|
+
"ts": false
|
|
47
90
|
},
|
|
48
91
|
"license": "ISC",
|
|
49
92
|
"funding": {
|
|
50
93
|
"url": "https://github.com/sponsors/isaacs"
|
|
94
|
+
},
|
|
95
|
+
"engines": {
|
|
96
|
+
"node": ">=16 || 14 >=14.17"
|
|
51
97
|
}
|
|
52
98
|
}
|