@gradientedge/cdk-utils 8.32.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/package.json +10 -10
- package/src/lib/common/stack.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 @@
|
|
|
1
|
+
{"version":3,"file":"rimraf-windows.js","sourceRoot":"","sources":["../../src/rimraf-windows.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,wEAAwE;AACxE,gCAAgC;AAChC,0EAA0E;AAC1E,sBAAsB;AACtB,EAAE;AACF,yEAAyE;AAGzE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAChF,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAA;AAEzC,MAAM,i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native.d.ts","sourceRoot":"","sources":["../../src/use-native.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAI9D,eAAO,MAAM,SAAS,EAAE,CAAC,GAAG,CAAC,EAAE,kBAAkB,KAAK,OAGb,CAAA;AACzC,eAAO,MAAM,aAAa,EAAE,CAAC,GAAG,CAAC,EAAE,aAAa,KAAK,OAGZ,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version;
|
|
2
|
+
const versArr = version.replace(/^v/, '').split('.');
|
|
3
|
+
const hasNative = +versArr[0] > 14 || (+versArr[0] === 14 && +versArr[1] >= 14);
|
|
4
|
+
// we do NOT use native by default on Windows, because Node's native
|
|
5
|
+
// rm implementation is less advanced. Change this code if that changes.
|
|
6
|
+
import platform from './platform.js';
|
|
7
|
+
export const useNative = !hasNative || platform === 'win32'
|
|
8
|
+
? () => false
|
|
9
|
+
: opt => !opt?.signal && !opt?.filter;
|
|
10
|
+
export const useNativeSync = !hasNative || platform === 'win32'
|
|
11
|
+
? () => false
|
|
12
|
+
: opt => !opt?.signal && !opt?.filter;
|
|
13
|
+
//# sourceMappingURL=use-native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-native.js","sourceRoot":"","sources":["../../src/use-native.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,+BAA+B,IAAI,OAAO,CAAC,OAAO,CAAA;AAC9E,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;AACpD,MAAM,SAAS,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAE/E,oEAAoE;AACpE,yEAAyE;AACzE,OAAO,QAAQ,MAAM,eAAe,CAAA;AACpC,MAAM,CAAC,MAAM,SAAS,GACpB,CAAC,SAAS,IAAI,QAAQ,KAAK,OAAO;IAChC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK;IACb,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,CAAA;AACzC,MAAM,CAAC,MAAM,aAAa,GACxB,CAAC,SAAS,IAAI,QAAQ,KAAK,OAAO;IAChC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK;IACb,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,CAAA"}
|
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rimraf",
|
|
3
|
-
"version": "
|
|
4
|
-
"main": "
|
|
3
|
+
"version": "4.4.0",
|
|
4
|
+
"main": "./dist/cjs/src/index-cjs.js",
|
|
5
|
+
"module": "./dist/mjs/index.js",
|
|
6
|
+
"types": "./dist/mjs/index.d.ts",
|
|
7
|
+
"bin": "./dist/cjs/src/bin.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/mjs/index.d.ts",
|
|
12
|
+
"default": "./dist/mjs/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/cjs/src/index.d.ts",
|
|
16
|
+
"default": "./dist/cjs/src/index-cjs.js"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
5
23
|
"description": "A deep deletion module for node (like `rm -rf`)",
|
|
6
24
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
7
25
|
"license": "ISC",
|
|
@@ -9,24 +27,58 @@
|
|
|
9
27
|
"scripts": {
|
|
10
28
|
"preversion": "npm test",
|
|
11
29
|
"postversion": "npm publish",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
30
|
+
"prepublishOnly": "git push origin --follow-tags",
|
|
31
|
+
"preprepare": "rm -rf dist",
|
|
32
|
+
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
|
|
33
|
+
"postprepare": "bash fixup.sh",
|
|
34
|
+
"pretest": "npm run prepare",
|
|
35
|
+
"presnap": "npm run prepare",
|
|
36
|
+
"test": "c8 tap",
|
|
37
|
+
"snap": "c8 tap",
|
|
38
|
+
"format": "prettier --write . --loglevel warn",
|
|
39
|
+
"benchmark": "node benchmark/index.js",
|
|
40
|
+
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
|
|
14
41
|
},
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"
|
|
42
|
+
"prettier": {
|
|
43
|
+
"semi": false,
|
|
44
|
+
"printWidth": 80,
|
|
45
|
+
"tabWidth": 2,
|
|
46
|
+
"useTabs": false,
|
|
47
|
+
"singleQuote": true,
|
|
48
|
+
"jsxSingleQuote": false,
|
|
49
|
+
"bracketSameLine": true,
|
|
50
|
+
"arrowParens": "avoid",
|
|
51
|
+
"endOfLine": "lf"
|
|
18
52
|
},
|
|
19
|
-
"files": [
|
|
20
|
-
"LICENSE",
|
|
21
|
-
"README.md",
|
|
22
|
-
"bin.js",
|
|
23
|
-
"rimraf.js"
|
|
24
|
-
],
|
|
25
53
|
"devDependencies": {
|
|
26
|
-
"
|
|
27
|
-
"tap": "^
|
|
54
|
+
"@types/node": "^18.11.9",
|
|
55
|
+
"@types/tap": "^15.0.7",
|
|
56
|
+
"c8": "^7.12.0",
|
|
57
|
+
"eslint-config-prettier": "^8.6.0",
|
|
58
|
+
"mkdirp": "1",
|
|
59
|
+
"prettier": "^2.8.2",
|
|
60
|
+
"tap": "^16.3.4",
|
|
61
|
+
"ts-node": "^10.9.1",
|
|
62
|
+
"typedoc": "^0.23.21",
|
|
63
|
+
"typescript": "^4.9.3"
|
|
64
|
+
},
|
|
65
|
+
"tap": {
|
|
66
|
+
"coverage": false,
|
|
67
|
+
"libtap-settings": "libtap-settings.js",
|
|
68
|
+
"node-arg": [
|
|
69
|
+
"--no-warnings",
|
|
70
|
+
"--loader",
|
|
71
|
+
"ts-node/esm"
|
|
72
|
+
],
|
|
73
|
+
"ts": false
|
|
28
74
|
},
|
|
29
75
|
"funding": {
|
|
30
76
|
"url": "https://github.com/sponsors/isaacs"
|
|
77
|
+
},
|
|
78
|
+
"engines": {
|
|
79
|
+
"node": ">=14"
|
|
80
|
+
},
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"glob": "^9.2.0"
|
|
31
83
|
}
|
|
32
84
|
}
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"test": "npx jest --ci --runInBand --passWithNoTests"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@types/uuid": "^9.0.
|
|
22
|
+
"@types/uuid": "^9.0.1",
|
|
23
23
|
"uuid": "^9.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"mkdirp": "^2.1.
|
|
27
|
-
"rimraf": "^
|
|
26
|
+
"mkdirp": "^2.1.5",
|
|
27
|
+
"rimraf": "^4.4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradientedge/cdk-utils",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.33.0",
|
|
4
4
|
"description": "Utilities for AWS CDK provisioning",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"prettier": "npx prettier --cache --check \"**/*.{ts,json,md}\"",
|
|
39
39
|
"prettify": "npx prettier --cache --write \"**/*.{ts,json,md}\"",
|
|
40
40
|
"test": "rimraf coverage && npx jest --ci --maxWorkers=100%",
|
|
41
|
-
"update:deps": "ncu -u
|
|
41
|
+
"update:deps": "ncu -u --deep",
|
|
42
42
|
"validate": "yarn prettier && yarn test"
|
|
43
43
|
},
|
|
44
44
|
"husky": {
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@types/lodash": "^4.14.191",
|
|
51
|
-
"@types/node": "^18.15.
|
|
51
|
+
"@types/node": "^18.15.5",
|
|
52
52
|
"app-root-path": "^3.1.0",
|
|
53
53
|
"aws-cdk-lib": "^2.69.0",
|
|
54
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
55
|
-
"constructs": "^10.1.
|
|
54
|
+
"@aws-sdk/client-secrets-manager": "^3.295.0",
|
|
55
|
+
"constructs": "^10.1.284",
|
|
56
56
|
"lodash": "^4.17.21",
|
|
57
57
|
"moment": "^2.29.4",
|
|
58
58
|
"nconf": "^0.12.0",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
64
64
|
"@types/jest": "^29.5.0",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
66
|
-
"@typescript-eslint/parser": "^5.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
66
|
+
"@typescript-eslint/parser": "^5.56.0",
|
|
67
67
|
"aws-cdk": "*",
|
|
68
68
|
"babel-eslint": "^10.1.0",
|
|
69
69
|
"better-docs": "^2.7.2",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"commitizen": "^4.3.0",
|
|
72
72
|
"dotenv": "^16.0.3",
|
|
73
73
|
"eslint": "^8.36.0",
|
|
74
|
-
"eslint-config-prettier": "^8.
|
|
74
|
+
"eslint-config-prettier": "^8.8.0",
|
|
75
75
|
"eslint-plugin-import": "^2.27.5",
|
|
76
76
|
"husky": "^8.0.3",
|
|
77
77
|
"jest": "^29.5.0",
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
"jsdoc-babel": "^0.5.0",
|
|
82
82
|
"jsdoc-mermaid": "^1.0.0",
|
|
83
83
|
"lerna": "^6.5.1",
|
|
84
|
-
"prettier": "^2.8.
|
|
84
|
+
"prettier": "^2.8.6",
|
|
85
85
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
86
86
|
"rimraf": "^4.4.0",
|
|
87
|
-
"semantic-release": "^
|
|
87
|
+
"semantic-release": "^20.1.3",
|
|
88
88
|
"taffydb": "^2.7.3",
|
|
89
89
|
"ts-jest": "^29.0.5",
|
|
90
90
|
"ts-node": "^10.9.1",
|
package/src/lib/common/stack.ts
CHANGED
|
@@ -24,7 +24,7 @@ const fs = require('fs')
|
|
|
24
24
|
* }
|
|
25
25
|
*/
|
|
26
26
|
export class CommonStack extends cdk.Stack {
|
|
27
|
-
public static NODEJS_RUNTIME = lambda.Runtime.
|
|
27
|
+
public static NODEJS_RUNTIME = lambda.Runtime.NODEJS_18_X
|
|
28
28
|
|
|
29
29
|
construct: CommonConstruct
|
|
30
30
|
props: CommonStackProps
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
This software is released under the MIT license:
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
-
the Software without restriction, including without limitation the rights to
|
|
6
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
7
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
8
|
-
subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
15
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
16
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
17
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
18
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
concat-map
|
|
2
|
-
==========
|
|
3
|
-
|
|
4
|
-
Concatenative mapdashery.
|
|
5
|
-
|
|
6
|
-
[](http://ci.testling.com/substack/node-concat-map)
|
|
7
|
-
|
|
8
|
-
[](http://travis-ci.org/substack/node-concat-map)
|
|
9
|
-
|
|
10
|
-
example
|
|
11
|
-
=======
|
|
12
|
-
|
|
13
|
-
``` js
|
|
14
|
-
var concatMap = require('concat-map');
|
|
15
|
-
var xs = [ 1, 2, 3, 4, 5, 6 ];
|
|
16
|
-
var ys = concatMap(xs, function (x) {
|
|
17
|
-
return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
|
|
18
|
-
});
|
|
19
|
-
console.dir(ys);
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
***
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
[ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
methods
|
|
29
|
-
=======
|
|
30
|
-
|
|
31
|
-
``` js
|
|
32
|
-
var concatMap = require('concat-map')
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
concatMap(xs, fn)
|
|
36
|
-
-----------------
|
|
37
|
-
|
|
38
|
-
Return an array of concatenated elements by calling `fn(x, i)` for each element
|
|
39
|
-
`x` and each index `i` in the array `xs`.
|
|
40
|
-
|
|
41
|
-
When `fn(x, i)` returns an array, its result will be concatenated with the
|
|
42
|
-
result array. If `fn(x, i)` returns anything else, that value will be pushed
|
|
43
|
-
onto the end of the result array.
|
|
44
|
-
|
|
45
|
-
install
|
|
46
|
-
=======
|
|
47
|
-
|
|
48
|
-
With [npm](http://npmjs.org) do:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
npm install concat-map
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
license
|
|
55
|
-
=======
|
|
56
|
-
|
|
57
|
-
MIT
|
|
58
|
-
|
|
59
|
-
notes
|
|
60
|
-
=====
|
|
61
|
-
|
|
62
|
-
This module was written while sitting high above the ground in a tree.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module.exports = function (xs, fn) {
|
|
2
|
-
var res = [];
|
|
3
|
-
for (var i = 0; i < xs.length; i++) {
|
|
4
|
-
var x = fn(xs[i], i);
|
|
5
|
-
if (isArray(x)) res.push.apply(res, x);
|
|
6
|
-
else res.push(x);
|
|
7
|
-
}
|
|
8
|
-
return res;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
var isArray = Array.isArray || function (xs) {
|
|
12
|
-
return Object.prototype.toString.call(xs) === '[object Array]';
|
|
13
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name" : "concat-map",
|
|
3
|
-
"description" : "concatenative mapdashery",
|
|
4
|
-
"version" : "0.0.1",
|
|
5
|
-
"repository" : {
|
|
6
|
-
"type" : "git",
|
|
7
|
-
"url" : "git://github.com/substack/node-concat-map.git"
|
|
8
|
-
},
|
|
9
|
-
"main" : "index.js",
|
|
10
|
-
"keywords" : [
|
|
11
|
-
"concat",
|
|
12
|
-
"concatMap",
|
|
13
|
-
"map",
|
|
14
|
-
"functional",
|
|
15
|
-
"higher-order"
|
|
16
|
-
],
|
|
17
|
-
"directories" : {
|
|
18
|
-
"example" : "example",
|
|
19
|
-
"test" : "test"
|
|
20
|
-
},
|
|
21
|
-
"scripts" : {
|
|
22
|
-
"test" : "tape test/*.js"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies" : {
|
|
25
|
-
"tape" : "~2.4.0"
|
|
26
|
-
},
|
|
27
|
-
"license" : "MIT",
|
|
28
|
-
"author" : {
|
|
29
|
-
"name" : "James Halliday",
|
|
30
|
-
"email" : "mail@substack.net",
|
|
31
|
-
"url" : "http://substack.net"
|
|
32
|
-
},
|
|
33
|
-
"testling" : {
|
|
34
|
-
"files" : "test/*.js",
|
|
35
|
-
"browsers" : {
|
|
36
|
-
"ie" : [ 6, 7, 8, 9 ],
|
|
37
|
-
"ff" : [ 3.5, 10, 15.0 ],
|
|
38
|
-
"chrome" : [ 10, 22 ],
|
|
39
|
-
"safari" : [ 5.1 ],
|
|
40
|
-
"opera" : [ 12 ]
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
exports.setopts = setopts
|
|
2
|
-
exports.ownProp = ownProp
|
|
3
|
-
exports.makeAbs = makeAbs
|
|
4
|
-
exports.finish = finish
|
|
5
|
-
exports.mark = mark
|
|
6
|
-
exports.isIgnored = isIgnored
|
|
7
|
-
exports.childrenIgnored = childrenIgnored
|
|
8
|
-
|
|
9
|
-
function ownProp (obj, field) {
|
|
10
|
-
return Object.prototype.hasOwnProperty.call(obj, field)
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
var fs = require("fs")
|
|
14
|
-
var path = require("path")
|
|
15
|
-
var minimatch = require("minimatch")
|
|
16
|
-
var isAbsolute = require("path-is-absolute")
|
|
17
|
-
var Minimatch = minimatch.Minimatch
|
|
18
|
-
|
|
19
|
-
function alphasort (a, b) {
|
|
20
|
-
return a.localeCompare(b, 'en')
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function setupIgnores (self, options) {
|
|
24
|
-
self.ignore = options.ignore || []
|
|
25
|
-
|
|
26
|
-
if (!Array.isArray(self.ignore))
|
|
27
|
-
self.ignore = [self.ignore]
|
|
28
|
-
|
|
29
|
-
if (self.ignore.length) {
|
|
30
|
-
self.ignore = self.ignore.map(ignoreMap)
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// ignore patterns are always in dot:true mode.
|
|
35
|
-
function ignoreMap (pattern) {
|
|
36
|
-
var gmatcher = null
|
|
37
|
-
if (pattern.slice(-3) === '/**') {
|
|
38
|
-
var gpattern = pattern.replace(/(\/\*\*)+$/, '')
|
|
39
|
-
gmatcher = new Minimatch(gpattern, { dot: true })
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return {
|
|
43
|
-
matcher: new Minimatch(pattern, { dot: true }),
|
|
44
|
-
gmatcher: gmatcher
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function setopts (self, pattern, options) {
|
|
49
|
-
if (!options)
|
|
50
|
-
options = {}
|
|
51
|
-
|
|
52
|
-
// base-matching: just use globstar for that.
|
|
53
|
-
if (options.matchBase && -1 === pattern.indexOf("/")) {
|
|
54
|
-
if (options.noglobstar) {
|
|
55
|
-
throw new Error("base matching requires globstar")
|
|
56
|
-
}
|
|
57
|
-
pattern = "**/" + pattern
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
self.silent = !!options.silent
|
|
61
|
-
self.pattern = pattern
|
|
62
|
-
self.strict = options.strict !== false
|
|
63
|
-
self.realpath = !!options.realpath
|
|
64
|
-
self.realpathCache = options.realpathCache || Object.create(null)
|
|
65
|
-
self.follow = !!options.follow
|
|
66
|
-
self.dot = !!options.dot
|
|
67
|
-
self.mark = !!options.mark
|
|
68
|
-
self.nodir = !!options.nodir
|
|
69
|
-
if (self.nodir)
|
|
70
|
-
self.mark = true
|
|
71
|
-
self.sync = !!options.sync
|
|
72
|
-
self.nounique = !!options.nounique
|
|
73
|
-
self.nonull = !!options.nonull
|
|
74
|
-
self.nosort = !!options.nosort
|
|
75
|
-
self.nocase = !!options.nocase
|
|
76
|
-
self.stat = !!options.stat
|
|
77
|
-
self.noprocess = !!options.noprocess
|
|
78
|
-
self.absolute = !!options.absolute
|
|
79
|
-
self.fs = options.fs || fs
|
|
80
|
-
|
|
81
|
-
self.maxLength = options.maxLength || Infinity
|
|
82
|
-
self.cache = options.cache || Object.create(null)
|
|
83
|
-
self.statCache = options.statCache || Object.create(null)
|
|
84
|
-
self.symlinks = options.symlinks || Object.create(null)
|
|
85
|
-
|
|
86
|
-
setupIgnores(self, options)
|
|
87
|
-
|
|
88
|
-
self.changedCwd = false
|
|
89
|
-
var cwd = process.cwd()
|
|
90
|
-
if (!ownProp(options, "cwd"))
|
|
91
|
-
self.cwd = cwd
|
|
92
|
-
else {
|
|
93
|
-
self.cwd = path.resolve(options.cwd)
|
|
94
|
-
self.changedCwd = self.cwd !== cwd
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
self.root = options.root || path.resolve(self.cwd, "/")
|
|
98
|
-
self.root = path.resolve(self.root)
|
|
99
|
-
if (process.platform === "win32")
|
|
100
|
-
self.root = self.root.replace(/\\/g, "/")
|
|
101
|
-
|
|
102
|
-
// TODO: is an absolute `cwd` supposed to be resolved against `root`?
|
|
103
|
-
// e.g. { cwd: '/test', root: __dirname } === path.join(__dirname, '/test')
|
|
104
|
-
self.cwdAbs = isAbsolute(self.cwd) ? self.cwd : makeAbs(self, self.cwd)
|
|
105
|
-
if (process.platform === "win32")
|
|
106
|
-
self.cwdAbs = self.cwdAbs.replace(/\\/g, "/")
|
|
107
|
-
self.nomount = !!options.nomount
|
|
108
|
-
|
|
109
|
-
// disable comments and negation in Minimatch.
|
|
110
|
-
// Note that they are not supported in Glob itself anyway.
|
|
111
|
-
options.nonegate = true
|
|
112
|
-
options.nocomment = true
|
|
113
|
-
|
|
114
|
-
self.minimatch = new Minimatch(pattern, options)
|
|
115
|
-
self.options = self.minimatch.options
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function finish (self) {
|
|
119
|
-
var nou = self.nounique
|
|
120
|
-
var all = nou ? [] : Object.create(null)
|
|
121
|
-
|
|
122
|
-
for (var i = 0, l = self.matches.length; i < l; i ++) {
|
|
123
|
-
var matches = self.matches[i]
|
|
124
|
-
if (!matches || Object.keys(matches).length === 0) {
|
|
125
|
-
if (self.nonull) {
|
|
126
|
-
// do like the shell, and spit out the literal glob
|
|
127
|
-
var literal = self.minimatch.globSet[i]
|
|
128
|
-
if (nou)
|
|
129
|
-
all.push(literal)
|
|
130
|
-
else
|
|
131
|
-
all[literal] = true
|
|
132
|
-
}
|
|
133
|
-
} else {
|
|
134
|
-
// had matches
|
|
135
|
-
var m = Object.keys(matches)
|
|
136
|
-
if (nou)
|
|
137
|
-
all.push.apply(all, m)
|
|
138
|
-
else
|
|
139
|
-
m.forEach(function (m) {
|
|
140
|
-
all[m] = true
|
|
141
|
-
})
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
if (!nou)
|
|
146
|
-
all = Object.keys(all)
|
|
147
|
-
|
|
148
|
-
if (!self.nosort)
|
|
149
|
-
all = all.sort(alphasort)
|
|
150
|
-
|
|
151
|
-
// at *some* point we statted all of these
|
|
152
|
-
if (self.mark) {
|
|
153
|
-
for (var i = 0; i < all.length; i++) {
|
|
154
|
-
all[i] = self._mark(all[i])
|
|
155
|
-
}
|
|
156
|
-
if (self.nodir) {
|
|
157
|
-
all = all.filter(function (e) {
|
|
158
|
-
var notDir = !(/\/$/.test(e))
|
|
159
|
-
var c = self.cache[e] || self.cache[makeAbs(self, e)]
|
|
160
|
-
if (notDir && c)
|
|
161
|
-
notDir = c !== 'DIR' && !Array.isArray(c)
|
|
162
|
-
return notDir
|
|
163
|
-
})
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
if (self.ignore.length)
|
|
168
|
-
all = all.filter(function(m) {
|
|
169
|
-
return !isIgnored(self, m)
|
|
170
|
-
})
|
|
171
|
-
|
|
172
|
-
self.found = all
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
function mark (self, p) {
|
|
176
|
-
var abs = makeAbs(self, p)
|
|
177
|
-
var c = self.cache[abs]
|
|
178
|
-
var m = p
|
|
179
|
-
if (c) {
|
|
180
|
-
var isDir = c === 'DIR' || Array.isArray(c)
|
|
181
|
-
var slash = p.slice(-1) === '/'
|
|
182
|
-
|
|
183
|
-
if (isDir && !slash)
|
|
184
|
-
m += '/'
|
|
185
|
-
else if (!isDir && slash)
|
|
186
|
-
m = m.slice(0, -1)
|
|
187
|
-
|
|
188
|
-
if (m !== p) {
|
|
189
|
-
var mabs = makeAbs(self, m)
|
|
190
|
-
self.statCache[mabs] = self.statCache[abs]
|
|
191
|
-
self.cache[mabs] = self.cache[abs]
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
return m
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
// lotta situps...
|
|
199
|
-
function makeAbs (self, f) {
|
|
200
|
-
var abs = f
|
|
201
|
-
if (f.charAt(0) === '/') {
|
|
202
|
-
abs = path.join(self.root, f)
|
|
203
|
-
} else if (isAbsolute(f) || f === '') {
|
|
204
|
-
abs = f
|
|
205
|
-
} else if (self.changedCwd) {
|
|
206
|
-
abs = path.resolve(self.cwd, f)
|
|
207
|
-
} else {
|
|
208
|
-
abs = path.resolve(f)
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
if (process.platform === 'win32')
|
|
212
|
-
abs = abs.replace(/\\/g, '/')
|
|
213
|
-
|
|
214
|
-
return abs
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
// Return true, if pattern ends with globstar '**', for the accompanying parent directory.
|
|
219
|
-
// Ex:- If node_modules/** is the pattern, add 'node_modules' to ignore list along with it's contents
|
|
220
|
-
function isIgnored (self, path) {
|
|
221
|
-
if (!self.ignore.length)
|
|
222
|
-
return false
|
|
223
|
-
|
|
224
|
-
return self.ignore.some(function(item) {
|
|
225
|
-
return item.matcher.match(path) || !!(item.gmatcher && item.gmatcher.match(path))
|
|
226
|
-
})
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
function childrenIgnored (self, path) {
|
|
230
|
-
if (!self.ignore.length)
|
|
231
|
-
return false
|
|
232
|
-
|
|
233
|
-
return self.ignore.some(function(item) {
|
|
234
|
-
return !!(item.gmatcher && item.gmatcher.match(path))
|
|
235
|
-
})
|
|
236
|
-
}
|