@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,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// give it a pattern, and it'll be able to tell you if
|
|
3
|
+
// a given path should be ignored.
|
|
4
|
+
// Ignoring a path ignores its children if the pattern ends in /**
|
|
5
|
+
// Ignores are always parsed in dot:true mode
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.Ignore = void 0;
|
|
8
|
+
const minimatch_1 = require("minimatch");
|
|
9
|
+
const pattern_js_1 = require("./pattern.js");
|
|
10
|
+
const defaultPlatform = typeof process === 'object' &&
|
|
11
|
+
process &&
|
|
12
|
+
typeof process.platform === 'string'
|
|
13
|
+
? process.platform
|
|
14
|
+
: 'linux';
|
|
15
|
+
/**
|
|
16
|
+
* Class used to process ignored patterns
|
|
17
|
+
*/
|
|
18
|
+
class Ignore {
|
|
19
|
+
relative;
|
|
20
|
+
relativeChildren;
|
|
21
|
+
absolute;
|
|
22
|
+
absoluteChildren;
|
|
23
|
+
constructor(ignored, { nobrace, nocase, noext, noglobstar, platform = defaultPlatform, }) {
|
|
24
|
+
this.relative = [];
|
|
25
|
+
this.absolute = [];
|
|
26
|
+
this.relativeChildren = [];
|
|
27
|
+
this.absoluteChildren = [];
|
|
28
|
+
const mmopts = {
|
|
29
|
+
dot: true,
|
|
30
|
+
nobrace,
|
|
31
|
+
nocase,
|
|
32
|
+
noext,
|
|
33
|
+
noglobstar,
|
|
34
|
+
optimizationLevel: 2,
|
|
35
|
+
platform,
|
|
36
|
+
nocomment: true,
|
|
37
|
+
nonegate: true,
|
|
38
|
+
};
|
|
39
|
+
// this is a little weird, but it gives us a clean set of optimized
|
|
40
|
+
// minimatch matchers, without getting tripped up if one of them
|
|
41
|
+
// ends in /** inside a brace section, and it's only inefficient at
|
|
42
|
+
// the start of the walk, not along it.
|
|
43
|
+
// It'd be nice if the Pattern class just had a .test() method, but
|
|
44
|
+
// handling globstars is a bit of a pita, and that code already lives
|
|
45
|
+
// in minimatch anyway.
|
|
46
|
+
// Another way would be if maybe Minimatch could take its set/globParts
|
|
47
|
+
// as an option, and then we could at least just use Pattern to test
|
|
48
|
+
// for absolute-ness.
|
|
49
|
+
// Yet another way, Minimatch could take an array of glob strings, and
|
|
50
|
+
// a cwd option, and do the right thing.
|
|
51
|
+
for (const ign of ignored) {
|
|
52
|
+
const mm = new minimatch_1.Minimatch(ign, mmopts);
|
|
53
|
+
for (let i = 0; i < mm.set.length; i++) {
|
|
54
|
+
const parsed = mm.set[i];
|
|
55
|
+
const globParts = mm.globParts[i];
|
|
56
|
+
const p = new pattern_js_1.Pattern(parsed, globParts, 0, platform);
|
|
57
|
+
const m = new minimatch_1.Minimatch(p.globString(), mmopts);
|
|
58
|
+
const children = globParts[globParts.length - 1] === '**';
|
|
59
|
+
const absolute = p.isAbsolute();
|
|
60
|
+
if (absolute)
|
|
61
|
+
this.absolute.push(m);
|
|
62
|
+
else
|
|
63
|
+
this.relative.push(m);
|
|
64
|
+
if (children) {
|
|
65
|
+
if (absolute)
|
|
66
|
+
this.absoluteChildren.push(m);
|
|
67
|
+
else
|
|
68
|
+
this.relativeChildren.push(m);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
ignored(p) {
|
|
74
|
+
const fullpath = p.fullpath();
|
|
75
|
+
const fullpaths = `${fullpath}/`;
|
|
76
|
+
const relative = p.relative() || '.';
|
|
77
|
+
const relatives = `${relative}/`;
|
|
78
|
+
for (const m of this.relative) {
|
|
79
|
+
if (m.match(relative) || m.match(relatives))
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
for (const m of this.absolute) {
|
|
83
|
+
if (m.match(fullpath) || m.match(fullpaths))
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
childrenIgnored(p) {
|
|
89
|
+
const fullpath = p.fullpath() + '/';
|
|
90
|
+
const relative = (p.relative() || '.') + '/';
|
|
91
|
+
for (const m of this.relativeChildren) {
|
|
92
|
+
if (m.match(relative))
|
|
93
|
+
return true;
|
|
94
|
+
}
|
|
95
|
+
for (const m of this.absoluteChildren) {
|
|
96
|
+
if (m.match(fullpath))
|
|
97
|
+
true;
|
|
98
|
+
}
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.Ignore = Ignore;
|
|
103
|
+
//# sourceMappingURL=ignore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ignore.js","sourceRoot":"","sources":["../../src/ignore.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,kCAAkC;AAClC,kEAAkE;AAClE,6CAA6C;;;AAE7C,yCAAqC;AAErC,6CAAsC;AAQtC,MAAM,eAAe,GACnB,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO;IACP,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ;IAClC,CAAC,CAAC,OAAO,CAAC,QAAQ;IAClB,CAAC,CAAC,OAAO,CAAA;AAEb;;GAEG;AACH,MAAa,MAAM;IACjB,QAAQ,CAAa;IACrB,gBAAgB,CAAa;IAC7B,QAAQ,CAAa;IACr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AC,CAAC,CAAC,QAAQ,EAAE,IAAI,GAAG,CAAC,GAAG,GAAG,CAAA;QAC5C,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACrC,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;gBAAE,OAAO,IAAI,CAAA;SACnC;QACD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACrC,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;gBAAE,IAAI,CAAA;SAC5B;QACD,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AAxFD,wBAwFC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const _default: typeof import("./index.js").glob & {
|
|
2
|
+
glob: typeof import("./index.js").glob;
|
|
3
|
+
globSync: typeof import("./index.js").globSync;
|
|
4
|
+
sync: typeof import("./index.js").globSync & {
|
|
5
|
+
stream: typeof import("./index.js").globStreamSync;
|
|
6
|
+
iterate: typeof import("./index.js").globIterateSync;
|
|
7
|
+
};
|
|
8
|
+
globStream: typeof import("./index.js").globStream;
|
|
9
|
+
stream: typeof import("./index.js").globStream & {
|
|
10
|
+
sync: typeof import("./index.js").globStreamSync;
|
|
11
|
+
};
|
|
12
|
+
globStreamSync: typeof import("./index.js").globStreamSync;
|
|
13
|
+
streamSync: typeof import("./index.js").globStreamSync;
|
|
14
|
+
globIterate: typeof import("./index.js").globIterate;
|
|
15
|
+
iterate: typeof import("./index.js").globIterate & {
|
|
16
|
+
sync: typeof import("./index.js").globIterateSync;
|
|
17
|
+
};
|
|
18
|
+
globIterateSync: typeof import("./index.js").globIterateSync;
|
|
19
|
+
iterateSync: typeof import("./index.js").globIterateSync;
|
|
20
|
+
Glob: typeof import("./glob.js").Glob;
|
|
21
|
+
hasMagic: (pattern: string | string[], options?: import("./glob.js").GlobOptions) => boolean;
|
|
22
|
+
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
23
|
+
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
24
|
+
} & {
|
|
25
|
+
default: typeof import("./index.js").glob & {
|
|
26
|
+
glob: typeof import("./index.js").glob;
|
|
27
|
+
globSync: typeof import("./index.js").globSync;
|
|
28
|
+
sync: typeof import("./index.js").globSync & {
|
|
29
|
+
stream: typeof import("./index.js").globStreamSync;
|
|
30
|
+
iterate: typeof import("./index.js").globIterateSync;
|
|
31
|
+
};
|
|
32
|
+
globStream: typeof import("./index.js").globStream;
|
|
33
|
+
stream: typeof import("./index.js").globStream & {
|
|
34
|
+
sync: typeof import("./index.js").globStreamSync;
|
|
35
|
+
};
|
|
36
|
+
globStreamSync: typeof import("./index.js").globStreamSync;
|
|
37
|
+
streamSync: typeof import("./index.js").globStreamSync;
|
|
38
|
+
globIterate: typeof import("./index.js").globIterate;
|
|
39
|
+
iterate: typeof import("./index.js").globIterate & {
|
|
40
|
+
sync: typeof import("./index.js").globIterateSync;
|
|
41
|
+
};
|
|
42
|
+
globIterateSync: typeof import("./index.js").globIterateSync;
|
|
43
|
+
iterateSync: typeof import("./index.js").globIterateSync;
|
|
44
|
+
Glob: typeof import("./glob.js").Glob;
|
|
45
|
+
hasMagic: (pattern: string | string[], options?: import("./glob.js").GlobOptions) => boolean;
|
|
46
|
+
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
47
|
+
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
48
|
+
};
|
|
49
|
+
glob: typeof import("./index.js").glob & {
|
|
50
|
+
glob: typeof import("./index.js").glob;
|
|
51
|
+
globSync: typeof import("./index.js").globSync;
|
|
52
|
+
sync: typeof import("./index.js").globSync & {
|
|
53
|
+
stream: typeof import("./index.js").globStreamSync;
|
|
54
|
+
iterate: typeof import("./index.js").globIterateSync;
|
|
55
|
+
};
|
|
56
|
+
globStream: typeof import("./index.js").globStream;
|
|
57
|
+
stream: typeof import("./index.js").globStream & {
|
|
58
|
+
sync: typeof import("./index.js").globStreamSync;
|
|
59
|
+
};
|
|
60
|
+
globStreamSync: typeof import("./index.js").globStreamSync;
|
|
61
|
+
streamSync: typeof import("./index.js").globStreamSync;
|
|
62
|
+
globIterate: typeof import("./index.js").globIterate;
|
|
63
|
+
iterate: typeof import("./index.js").globIterate & {
|
|
64
|
+
sync: typeof import("./index.js").globIterateSync;
|
|
65
|
+
};
|
|
66
|
+
globIterateSync: typeof import("./index.js").globIterateSync;
|
|
67
|
+
iterateSync: typeof import("./index.js").globIterateSync;
|
|
68
|
+
Glob: typeof import("./glob.js").Glob;
|
|
69
|
+
hasMagic: (pattern: string | string[], options?: import("./glob.js").GlobOptions) => boolean;
|
|
70
|
+
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
71
|
+
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
export = _default;
|
|
75
|
+
//# sourceMappingURL=index-cjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-cjs.d.ts","sourceRoot":"","sources":["../../src/index-cjs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,kBAAqD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
const index_js_1 = __importDefault(require("./index.js"));
|
|
6
|
+
module.exports = Object.assign(index_js_1.default, { default: index_js_1.default, glob: index_js_1.default });
|
|
7
|
+
//# sourceMappingURL=index-cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-cjs.js","sourceRoot":"","sources":["../../src/index-cjs.ts"],"names":[],"mappings":";;;;AAAA,0DAA6B;AAE7B,iBAAS,MAAM,CAAC,MAAM,CAAC,kBAAI,EAAE,EAAE,OAAO,EAAE,kBAAI,EAAE,IAAI,EAAJ,kBAAI,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import Minipass from 'minipass';
|
|
2
|
+
import { Path } from 'path-scurry';
|
|
3
|
+
import type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset } from './glob.js';
|
|
4
|
+
import { Glob } from './glob.js';
|
|
5
|
+
/**
|
|
6
|
+
* Syncronous form of {@link globStream}. Will read all the matches as fast as
|
|
7
|
+
* you consume them, even all in a single tick if you consume them immediately,
|
|
8
|
+
* but will still respond to backpressure if they're not consumed immediately.
|
|
9
|
+
*/
|
|
10
|
+
export declare function globStreamSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
|
|
11
|
+
export declare function globStreamSync(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Minipass<string, string>;
|
|
12
|
+
export declare function globStreamSync(pattern: string | string[], options: GlobOptionsWithFileTypesUnset): Minipass<string, string>;
|
|
13
|
+
export declare function globStreamSync(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<string, string>;
|
|
14
|
+
/**
|
|
15
|
+
* Return a stream that emits all the strings or `Path` objects and
|
|
16
|
+
* then emits `end` when completed.
|
|
17
|
+
*/
|
|
18
|
+
export declare function globStream(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Minipass<string, string>;
|
|
19
|
+
export declare function globStream(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
|
|
20
|
+
export declare function globStream(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): Minipass<string, string>;
|
|
21
|
+
export declare function globStream(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* Synchronous form of {@link glob}
|
|
24
|
+
*/
|
|
25
|
+
export declare function globSync(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): string[];
|
|
26
|
+
export declare function globSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Path[];
|
|
27
|
+
export declare function globSync(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): string[];
|
|
28
|
+
export declare function globSync(pattern: string | string[], options: GlobOptions): Path[] | string[];
|
|
29
|
+
/**
|
|
30
|
+
* Perform an asynchronous glob search for the pattern(s) specified. Returns
|
|
31
|
+
* [Path](https://isaacs.github.io/path-scurry/classes/PathBase) objects if the
|
|
32
|
+
* {@link withFileTypes} option is set to `true`. See {@link GlobOptions} for
|
|
33
|
+
* full option descriptions.
|
|
34
|
+
*/
|
|
35
|
+
export declare function glob(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): Promise<string[]>;
|
|
36
|
+
export declare function glob(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Promise<Path[]>;
|
|
37
|
+
export declare function glob(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Promise<string[]>;
|
|
38
|
+
export declare function glob(pattern: string | string[], options: GlobOptions): Promise<Path[] | string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Return a sync iterator for walking glob pattern matches.
|
|
41
|
+
*/
|
|
42
|
+
export declare function globIterateSync(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): Generator<string, void, void>;
|
|
43
|
+
export declare function globIterateSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Generator<Path, void, void>;
|
|
44
|
+
export declare function globIterateSync(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): Generator<string, void, void>;
|
|
45
|
+
export declare function globIterateSync(pattern: string | string[], options: GlobOptions): Generator<Path, void, void> | Generator<string, void, void>;
|
|
46
|
+
/**
|
|
47
|
+
* Return an async iterator for walking glob pattern matches.
|
|
48
|
+
*/
|
|
49
|
+
export declare function globIterate(pattern: string | string[], options?: GlobOptionsWithFileTypesUnset | undefined): AsyncGenerator<string, void, void>;
|
|
50
|
+
export declare function globIterate(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): AsyncGenerator<Path, void, void>;
|
|
51
|
+
export declare function globIterate(pattern: string | string[], options: GlobOptionsWithFileTypesFalse): AsyncGenerator<string, void, void>;
|
|
52
|
+
export declare function globIterate(pattern: string | string[], options: GlobOptions): AsyncGenerator<Path, void, void> | AsyncGenerator<string, void, void>;
|
|
53
|
+
export declare const streamSync: typeof globStreamSync;
|
|
54
|
+
export declare const stream: typeof globStream & {
|
|
55
|
+
sync: typeof globStreamSync;
|
|
56
|
+
};
|
|
57
|
+
export declare const iterateSync: typeof globIterateSync;
|
|
58
|
+
export declare const iterate: typeof globIterate & {
|
|
59
|
+
sync: typeof globIterateSync;
|
|
60
|
+
};
|
|
61
|
+
export declare const sync: typeof globSync & {
|
|
62
|
+
stream: typeof globStreamSync;
|
|
63
|
+
iterate: typeof globIterateSync;
|
|
64
|
+
};
|
|
65
|
+
export { escape, unescape } from 'minimatch';
|
|
66
|
+
export { Glob } from './glob.js';
|
|
67
|
+
export type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset, } from './glob.js';
|
|
68
|
+
export { hasMagic } from './has-magic.js';
|
|
69
|
+
export type { IgnoreLike } from './ignore.js';
|
|
70
|
+
export type { MatchStream } from './walker.js';
|
|
71
|
+
declare const _default: typeof glob & {
|
|
72
|
+
glob: typeof glob;
|
|
73
|
+
globSync: typeof globSync;
|
|
74
|
+
sync: typeof globSync & {
|
|
75
|
+
stream: typeof globStreamSync;
|
|
76
|
+
iterate: typeof globIterateSync;
|
|
77
|
+
};
|
|
78
|
+
globStream: typeof globStream;
|
|
79
|
+
stream: typeof globStream & {
|
|
80
|
+
sync: typeof globStreamSync;
|
|
81
|
+
};
|
|
82
|
+
globStreamSync: typeof globStreamSync;
|
|
83
|
+
streamSync: typeof globStreamSync;
|
|
84
|
+
globIterate: typeof globIterate;
|
|
85
|
+
iterate: typeof globIterate & {
|
|
86
|
+
sync: typeof globIterateSync;
|
|
87
|
+
};
|
|
88
|
+
globIterateSync: typeof globIterateSync;
|
|
89
|
+
iterateSync: typeof globIterateSync;
|
|
90
|
+
Glob: typeof Glob;
|
|
91
|
+
hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean;
|
|
92
|
+
escape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
93
|
+
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<import("minimatch").MinimatchOptions, "windowsPathsNoEscape"> | undefined) => string;
|
|
94
|
+
};
|
|
95
|
+
export default _default;
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAA;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,KAAK,EACV,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAGhC;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,4BAA4B,GACpC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;AACvB,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MA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AA;AAGF,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,YAAY,EACV,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAG9C,wBAgBE"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hasMagic = exports.Glob = exports.unescape = exports.escape = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.globIterate = exports.globIterateSync = exports.glob = exports.globSync = exports.globStream = exports.globStreamSync = void 0;
|
|
4
|
+
const minimatch_1 = require("minimatch");
|
|
5
|
+
const glob_js_1 = require("./glob.js");
|
|
6
|
+
const has_magic_js_1 = require("./has-magic.js");
|
|
7
|
+
function globStreamSync(pattern, options = {}) {
|
|
8
|
+
return new glob_js_1.Glob(pattern, options).streamSync();
|
|
9
|
+
}
|
|
10
|
+
exports.globStreamSync = globStreamSync;
|
|
11
|
+
function globStream(pattern, options = {}) {
|
|
12
|
+
return new glob_js_1.Glob(pattern, options).stream();
|
|
13
|
+
}
|
|
14
|
+
exports.globStream = globStream;
|
|
15
|
+
function globSync(pattern, options = {}) {
|
|
16
|
+
return new glob_js_1.Glob(pattern, options).walkSync();
|
|
17
|
+
}
|
|
18
|
+
exports.globSync = globSync;
|
|
19
|
+
async function glob(pattern, options = {}) {
|
|
20
|
+
return new glob_js_1.Glob(pattern, options).walk();
|
|
21
|
+
}
|
|
22
|
+
exports.glob = glob;
|
|
23
|
+
function globIterateSync(pattern, options = {}) {
|
|
24
|
+
return new glob_js_1.Glob(pattern, options).iterateSync();
|
|
25
|
+
}
|
|
26
|
+
exports.globIterateSync = globIterateSync;
|
|
27
|
+
function globIterate(pattern, options = {}) {
|
|
28
|
+
return new glob_js_1.Glob(pattern, options).iterate();
|
|
29
|
+
}
|
|
30
|
+
exports.globIterate = globIterate;
|
|
31
|
+
// aliases: glob.sync.stream() glob.stream.sync() glob.sync() etc
|
|
32
|
+
exports.streamSync = globStreamSync;
|
|
33
|
+
exports.stream = Object.assign(globStream, { sync: globStreamSync });
|
|
34
|
+
exports.iterateSync = globIterateSync;
|
|
35
|
+
exports.iterate = Object.assign(globIterate, {
|
|
36
|
+
sync: globIterateSync,
|
|
37
|
+
});
|
|
38
|
+
exports.sync = Object.assign(globSync, {
|
|
39
|
+
stream: globStreamSync,
|
|
40
|
+
iterate: globIterateSync,
|
|
41
|
+
});
|
|
42
|
+
/* c8 ignore start */
|
|
43
|
+
var minimatch_2 = require("minimatch");
|
|
44
|
+
Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return minimatch_2.escape; } });
|
|
45
|
+
Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return minimatch_2.unescape; } });
|
|
46
|
+
var glob_js_2 = require("./glob.js");
|
|
47
|
+
Object.defineProperty(exports, "Glob", { enumerable: true, get: function () { return glob_js_2.Glob; } });
|
|
48
|
+
var has_magic_js_2 = require("./has-magic.js");
|
|
49
|
+
Object.defineProperty(exports, "hasMagic", { enumerable: true, get: function () { return has_magic_js_2.hasMagic; } });
|
|
50
|
+
/* c8 ignore stop */
|
|
51
|
+
exports.default = Object.assign(glob, {
|
|
52
|
+
glob,
|
|
53
|
+
globSync,
|
|
54
|
+
sync: exports.sync,
|
|
55
|
+
globStream,
|
|
56
|
+
stream: exports.stream,
|
|
57
|
+
globStreamSync,
|
|
58
|
+
streamSync: exports.streamSync,
|
|
59
|
+
globIterate,
|
|
60
|
+
iterate: exports.iterate,
|
|
61
|
+
globIterateSync,
|
|
62
|
+
iterateSync: exports.iterateSync,
|
|
63
|
+
Glob: glob_js_1.Glob,
|
|
64
|
+
hasMagic: has_magic_js_1.hasMagic,
|
|
65
|
+
escape: minimatch_1.escape,
|
|
66
|
+
unescape: minimatch_1.unescape,
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAS5C,uCAAgC;AAChC,iDAAyC;AAuBzC,SAAgB,cAAc,CAC5B,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,UAAU,EAAE,CAAA;AAChD,CAAC;AALD,wCAKC;AAsBD,SAAgB,UAAU,CACxB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;AAC5C,CAAC;AALD,gCAKC;AAqBD,SAAgB,QAAQ,CACtB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAA;AAC9C,CAAC;AALD,4BAKC;AAwBM,KAAK,UAAU,IAAI,CACxB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAA;AAC1C,CAAC;AALD,oBAKC;AAqBD,SAAgB,eAAe,CAC7B,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,CAAA;AACjD,CAAC;AALD,0CAKC;AAqBD,SAAgB,WAAW,CACzB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;AAC7C,CAAC;AALD,kCAKC;AAED,iEAAiE;AACpD,QAAA,UAAU,GAAG,cAAc,CAAA;AAC3B,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAA;AAC5D,QAAA,WAAW,GAAG,eAAe,CAAA;AAC7B,QAAA,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE;IAChD,IAAI,EAAE,eAAe;CACtB,CAAC,CAAA;AACW,QAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,cAAc;IACtB,OAAO,EAAE,eAAe;CACzB,CAAC,CAAA;AAEF,qBAAqB;AACrB,uCAA4C;AAAnC,mGAAA,MAAM,OAAA;AAAE,qGAAA,QAAQ,OAAA;AACzB,qCAAgC;AAAvB,+FAAA,IAAI,OAAA;AAOb,+CAAyC;AAAhC,wGAAA,QAAQ,OAAA;AAGjB,oBAAoB;AAEpB,kBAAe,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IACjC,IAAI;IACJ,QAAQ;IACR,IAAI,EAAJ,YAAI;IACJ,UAAU;IACV,MAAM,EAAN,cAAM;IACN,cAAc;IACd,UAAU,EAAV,kBAAU;IACV,WAAW;IACX,OAAO,EAAP,eAAO;IACP,eAAe;IACf,WAAW,EAAX,mBAAW;IACX,IAAI,EAAJ,cAAI;IACJ,QAAQ,EAAR,uBAAQ;IACR,MAAM,EAAN,kBAAM;IACN,QAAQ,EAAR,oBAAQ;CACT,CAAC,CAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { GLOBSTAR } from 'minimatch';
|
|
3
|
+
export type MMPattern = string | RegExp | typeof GLOBSTAR;
|
|
4
|
+
export type PatternList = [p: MMPattern, ...rest: MMPattern[]];
|
|
5
|
+
export type UNCPatternList = [
|
|
6
|
+
p0: '',
|
|
7
|
+
p1: '',
|
|
8
|
+
p2: string,
|
|
9
|
+
p3: string,
|
|
10
|
+
...rest: MMPattern[]
|
|
11
|
+
];
|
|
12
|
+
export type DrivePatternList = [p0: string, ...rest: MMPattern[]];
|
|
13
|
+
export type AbsolutePatternList = [p0: '', ...rest: MMPattern[]];
|
|
14
|
+
export type GlobList = [p: string, ...rest: string[]];
|
|
15
|
+
/**
|
|
16
|
+
* An immutable-ish view on an array of glob parts and their parsed
|
|
17
|
+
* results
|
|
18
|
+
*/
|
|
19
|
+
export declare class Pattern {
|
|
20
|
+
#private;
|
|
21
|
+
readonly length: number;
|
|
22
|
+
constructor(patternList: MMPattern[], globList: string[], index: number, platform: NodeJS.Platform);
|
|
23
|
+
/**
|
|
24
|
+
* The first entry in the parsed list of patterns
|
|
25
|
+
*/
|
|
26
|
+
pattern(): MMPattern;
|
|
27
|
+
/**
|
|
28
|
+
* true of if pattern() returns a string
|
|
29
|
+
*/
|
|
30
|
+
isString(): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* true of if pattern() returns GLOBSTAR
|
|
33
|
+
*/
|
|
34
|
+
isGlobstar(): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* true if pattern() returns a regexp
|
|
37
|
+
*/
|
|
38
|
+
isRegExp(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The /-joined set of glob parts that make up this pattern
|
|
41
|
+
*/
|
|
42
|
+
globString(): string;
|
|
43
|
+
/**
|
|
44
|
+
* true if there are more pattern parts after this one
|
|
45
|
+
*/
|
|
46
|
+
hasMore(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The rest of the pattern after this part, or null if this is the end
|
|
49
|
+
*/
|
|
50
|
+
rest(): Pattern | null;
|
|
51
|
+
/**
|
|
52
|
+
* true if the pattern represents a //unc/path/ on windows
|
|
53
|
+
*/
|
|
54
|
+
isUNC(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* True if the pattern starts with a drive letter on Windows
|
|
57
|
+
*/
|
|
58
|
+
isDrive(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* True if the pattern is rooted on an absolute path
|
|
61
|
+
*/
|
|
62
|
+
isAbsolute(): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* consume the root of the pattern, and return it
|
|
65
|
+
*/
|
|
66
|
+
root(): string;
|
|
67
|
+
/**
|
|
68
|
+
* Check to see if the current globstar pattern is allowed to follow
|
|
69
|
+
* a symbolic link.
|
|
70
|
+
*/
|
|
71
|
+
checkFollowGlobstar(): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Mark that the current globstar pattern is following a symbolic link
|
|
74
|
+
*/
|
|
75
|
+
markFollowGlobstar(): boolean;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=pattern.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pattern.d.ts","sourceRoot":"","sources":["../../src/pattern.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,QAAQ,CAAA;AAGzD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;AAC9D,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;IACV,GAAG,IAAI,EAAE,SAAS,EAAE;CACrB,CAAA;AACD,MAAM,MAAM,gBAAgB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;AACjE,MAAM,MAAM,mBAAmB,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;AAChE,MAAM,MAAM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