@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.
Files changed (354) hide show
  1. package/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +15 -17
  2. package/app/api-destined-function/layers/nodejs/package.json +3 -3
  3. package/app/api-destined-function/node_modules/.yarn-integrity +296 -53
  4. package/app/api-destined-function/node_modules/@types/uuid/README.md +1 -1
  5. package/app/api-destined-function/node_modules/@types/uuid/index.d.ts +1 -1
  6. package/app/api-destined-function/node_modules/@types/uuid/package.json +3 -3
  7. package/app/api-destined-function/node_modules/brace-expansion/README.md +6 -0
  8. package/app/api-destined-function/node_modules/brace-expansion/index.js +86 -84
  9. package/app/api-destined-function/node_modules/brace-expansion/package.json +3 -4
  10. package/app/api-destined-function/node_modules/glob/LICENSE +1 -7
  11. package/app/api-destined-function/node_modules/glob/README.md +992 -284
  12. package/app/api-destined-function/node_modules/glob/dist/cjs/glob.d.ts +328 -0
  13. package/app/api-destined-function/node_modules/glob/dist/cjs/glob.d.ts.map +1 -0
  14. package/app/api-destined-function/node_modules/glob/dist/cjs/glob.js +228 -0
  15. package/app/api-destined-function/node_modules/glob/dist/cjs/glob.js.map +1 -0
  16. package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.d.ts +14 -0
  17. package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.d.ts.map +1 -0
  18. package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.js +27 -0
  19. package/app/api-destined-function/node_modules/glob/dist/cjs/has-magic.js.map +1 -0
  20. package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.d.ts +20 -0
  21. package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.d.ts.map +1 -0
  22. package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.js +103 -0
  23. package/app/api-destined-function/node_modules/glob/dist/cjs/ignore.js.map +1 -0
  24. package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.d.ts +75 -0
  25. package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.d.ts.map +1 -0
  26. package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.js +7 -0
  27. package/app/api-destined-function/node_modules/glob/dist/cjs/index-cjs.js.map +1 -0
  28. package/app/api-destined-function/node_modules/glob/dist/cjs/index.d.ts +96 -0
  29. package/app/api-destined-function/node_modules/glob/dist/cjs/index.d.ts.map +1 -0
  30. package/app/api-destined-function/node_modules/glob/dist/cjs/index.js +68 -0
  31. package/app/api-destined-function/node_modules/glob/dist/cjs/index.js.map +1 -0
  32. package/app/api-destined-function/node_modules/glob/dist/cjs/package.json +3 -0
  33. package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.d.ts +77 -0
  34. package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.d.ts.map +1 -0
  35. package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.js +219 -0
  36. package/app/api-destined-function/node_modules/glob/dist/cjs/pattern.js.map +1 -0
  37. package/app/api-destined-function/node_modules/glob/dist/cjs/processor.d.ts +59 -0
  38. package/app/api-destined-function/node_modules/glob/dist/cjs/processor.d.ts.map +1 -0
  39. package/app/api-destined-function/node_modules/glob/dist/cjs/processor.js +309 -0
  40. package/app/api-destined-function/node_modules/glob/dist/cjs/processor.js.map +1 -0
  41. package/app/api-destined-function/node_modules/glob/dist/cjs/walker.d.ts +95 -0
  42. package/app/api-destined-function/node_modules/glob/dist/cjs/walker.d.ts.map +1 -0
  43. package/app/api-destined-function/node_modules/glob/dist/cjs/walker.js +360 -0
  44. package/app/api-destined-function/node_modules/glob/dist/cjs/walker.js.map +1 -0
  45. package/app/api-destined-function/node_modules/glob/dist/mjs/glob.d.ts +328 -0
  46. package/app/api-destined-function/node_modules/glob/dist/mjs/glob.d.ts.map +1 -0
  47. package/app/api-destined-function/node_modules/glob/dist/mjs/glob.js +224 -0
  48. package/app/api-destined-function/node_modules/glob/dist/mjs/glob.js.map +1 -0
  49. package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.d.ts +14 -0
  50. package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.d.ts.map +1 -0
  51. package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.js +23 -0
  52. package/app/api-destined-function/node_modules/glob/dist/mjs/has-magic.js.map +1 -0
  53. package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.d.ts +20 -0
  54. package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.d.ts.map +1 -0
  55. package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.js +99 -0
  56. package/app/api-destined-function/node_modules/glob/dist/mjs/ignore.js.map +1 -0
  57. package/app/api-destined-function/node_modules/glob/dist/mjs/index.d.ts +96 -0
  58. package/app/api-destined-function/node_modules/glob/dist/mjs/index.d.ts.map +1 -0
  59. package/app/api-destined-function/node_modules/glob/dist/mjs/index.js +55 -0
  60. package/app/api-destined-function/node_modules/glob/dist/mjs/index.js.map +1 -0
  61. package/app/api-destined-function/node_modules/glob/dist/mjs/package.json +3 -0
  62. package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.d.ts +77 -0
  63. package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.d.ts.map +1 -0
  64. package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.js +215 -0
  65. package/app/api-destined-function/node_modules/glob/dist/mjs/pattern.js.map +1 -0
  66. package/app/api-destined-function/node_modules/glob/dist/mjs/processor.d.ts +59 -0
  67. package/app/api-destined-function/node_modules/glob/dist/mjs/processor.d.ts.map +1 -0
  68. package/app/api-destined-function/node_modules/glob/dist/mjs/processor.js +302 -0
  69. package/app/api-destined-function/node_modules/glob/dist/mjs/processor.js.map +1 -0
  70. package/app/api-destined-function/node_modules/glob/dist/mjs/walker.d.ts +95 -0
  71. package/app/api-destined-function/node_modules/glob/dist/mjs/walker.d.ts.map +1 -0
  72. package/app/api-destined-function/node_modules/glob/dist/mjs/walker.js +351 -0
  73. package/app/api-destined-function/node_modules/glob/dist/mjs/walker.js.map +1 -0
  74. package/app/api-destined-function/node_modules/glob/package.json +76 -30
  75. package/app/api-destined-function/node_modules/{inflight → lru-cache}/LICENSE +1 -1
  76. package/app/api-destined-function/node_modules/lru-cache/README.md +1117 -0
  77. package/app/api-destined-function/node_modules/lru-cache/index.d.ts +869 -0
  78. package/app/api-destined-function/node_modules/lru-cache/index.js +1227 -0
  79. package/app/api-destined-function/node_modules/lru-cache/index.mjs +1227 -0
  80. package/app/api-destined-function/node_modules/lru-cache/package.json +96 -0
  81. package/app/api-destined-function/node_modules/minimatch/LICENSE +1 -1
  82. package/app/api-destined-function/node_modules/minimatch/README.md +305 -55
  83. package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
  84. package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
  85. package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
  86. package/app/api-destined-function/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
  87. package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
  88. package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
  89. package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.js +22 -0
  90. package/app/api-destined-function/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
  91. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.d.ts +42 -0
  92. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.d.ts.map +1 -0
  93. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.js +7 -0
  94. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index-cjs.js.map +1 -0
  95. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.d.ts +92 -0
  96. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
  97. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.js +1304 -0
  98. package/app/api-destined-function/node_modules/minimatch/dist/cjs/index.js.map +1 -0
  99. package/app/api-destined-function/node_modules/minimatch/dist/cjs/package.json +3 -0
  100. package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
  101. package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
  102. package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.js +24 -0
  103. package/app/api-destined-function/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
  104. package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
  105. package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
  106. package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
  107. package/app/api-destined-function/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
  108. package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
  109. package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
  110. package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.js +18 -0
  111. package/app/api-destined-function/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
  112. package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.d.ts +92 -0
  113. package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
  114. package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.js +1289 -0
  115. package/app/api-destined-function/node_modules/minimatch/dist/mjs/index.js.map +1 -0
  116. package/app/api-destined-function/node_modules/minimatch/dist/mjs/package.json +3 -0
  117. package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
  118. package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
  119. package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.js +20 -0
  120. package/app/api-destined-function/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
  121. package/app/api-destined-function/node_modules/minimatch/package.json +67 -11
  122. package/app/api-destined-function/node_modules/{once → minipass}/LICENSE +1 -1
  123. package/app/api-destined-function/node_modules/minipass/README.md +769 -0
  124. package/app/api-destined-function/node_modules/minipass/index.d.ts +150 -0
  125. package/app/api-destined-function/node_modules/minipass/index.js +702 -0
  126. package/app/api-destined-function/node_modules/minipass/index.mjs +702 -0
  127. package/app/api-destined-function/node_modules/minipass/package.json +76 -0
  128. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/package.json +4 -3
  129. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.d.ts +1 -0
  130. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.d.ts.map +1 -0
  131. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.js +7 -0
  132. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/bin.js.map +1 -1
  133. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/find-made.d.ts +1 -0
  134. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/find-made.d.ts.map +1 -0
  135. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index-cjs.d.ts +1 -0
  136. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index-cjs.d.ts.map +1 -0
  137. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index.d.ts +1 -0
  138. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/index.d.ts.map +1 -0
  139. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts +1 -0
  140. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-manual.d.ts.map +1 -0
  141. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts +1 -0
  142. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/mkdirp-native.d.ts.map +1 -0
  143. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts +1 -0
  144. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/opts-arg.d.ts.map +1 -0
  145. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts +1 -0
  146. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/path-arg.d.ts.map +1 -0
  147. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/use-native.d.ts +1 -0
  148. package/app/api-destined-function/node_modules/mkdirp/dist/cjs/src/use-native.d.ts.map +1 -0
  149. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/find-made.d.ts +1 -0
  150. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/find-made.d.ts.map +1 -0
  151. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/index.d.ts +1 -0
  152. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/index.d.ts.map +1 -0
  153. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts +1 -0
  154. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-manual.d.ts.map +1 -0
  155. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts +1 -0
  156. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/mkdirp-native.d.ts.map +1 -0
  157. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/opts-arg.d.ts +1 -0
  158. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/opts-arg.d.ts.map +1 -0
  159. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/path-arg.d.ts +1 -0
  160. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/path-arg.d.ts.map +1 -0
  161. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/use-native.d.ts +1 -0
  162. package/app/api-destined-function/node_modules/mkdirp/dist/mjs/use-native.d.ts.map +1 -0
  163. package/app/api-destined-function/node_modules/mkdirp/package.json +4 -3
  164. package/app/api-destined-function/node_modules/path-scurry/LICENSE.md +55 -0
  165. package/app/api-destined-function/node_modules/path-scurry/README.md +559 -0
  166. package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.d.ts +1055 -0
  167. package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.d.ts.map +1 -0
  168. package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.js +1865 -0
  169. package/app/api-destined-function/node_modules/path-scurry/dist/cjs/index.js.map +1 -0
  170. package/app/api-destined-function/node_modules/path-scurry/dist/cjs/package.json +3 -0
  171. package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.d.ts +1055 -0
  172. package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.d.ts.map +1 -0
  173. package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.js +1827 -0
  174. package/app/api-destined-function/node_modules/path-scurry/dist/mjs/index.js.map +1 -0
  175. package/app/api-destined-function/node_modules/path-scurry/dist/mjs/package.json +3 -0
  176. package/app/api-destined-function/node_modules/path-scurry/package.json +87 -0
  177. package/app/api-destined-function/node_modules/rimraf/LICENSE +1 -1
  178. package/app/api-destined-function/node_modules/rimraf/README.md +185 -72
  179. package/app/api-destined-function/node_modules/rimraf/dist/cjs/package.json +84 -0
  180. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.d.ts +8 -0
  181. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.d.ts.map +1 -0
  182. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.js +260 -0
  183. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/bin.js.map +1 -0
  184. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.d.ts +3 -0
  185. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.d.ts.map +1 -0
  186. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.js +61 -0
  187. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/default-tmp.js.map +1 -0
  188. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.d.ts +3 -0
  189. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.d.ts.map +1 -0
  190. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.js +58 -0
  191. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fix-eperm.js.map +1 -0
  192. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.d.ts +17 -0
  193. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.d.ts.map +1 -0
  194. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.js +46 -0
  195. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/fs.js.map +1 -0
  196. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.d.ts +3 -0
  197. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.d.ts.map +1 -0
  198. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.js +21 -0
  199. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/ignore-enoent.js.map +1 -0
  200. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.d.ts +57 -0
  201. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.d.ts.map +1 -0
  202. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.js +7 -0
  203. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index-cjs.js.map +1 -0
  204. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.d.ts +71 -0
  205. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.d.ts.map +1 -0
  206. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.js +92 -0
  207. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/index.js.map +1 -0
  208. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.d.ts +17 -0
  209. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.d.ts.map +1 -0
  210. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.js +36 -0
  211. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/opt-arg.js.map +1 -0
  212. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.d.ts +4 -0
  213. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.d.ts.map +1 -0
  214. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.js +54 -0
  215. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/path-arg.js.map +1 -0
  216. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.d.ts +3 -0
  217. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.d.ts.map +1 -0
  218. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.js +4 -0
  219. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/platform.js.map +1 -0
  220. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.d.ts +5 -0
  221. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.d.ts.map +1 -0
  222. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.js +19 -0
  223. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/readdir-or-error.js.map +1 -0
  224. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.d.ts +8 -0
  225. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.d.ts.map +1 -0
  226. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.js +68 -0
  227. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/retry-busy.js.map +1 -0
  228. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.d.ts +3 -0
  229. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.d.ts.map +1 -0
  230. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.js +12 -0
  231. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-manual.js.map +1 -0
  232. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.d.ts +4 -0
  233. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.d.ts.map +1 -0
  234. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.js +192 -0
  235. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-move-remove.js.map +1 -0
  236. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.d.ts +4 -0
  237. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.d.ts.map +1 -0
  238. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.js +24 -0
  239. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-native.js.map +1 -0
  240. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.d.ts +4 -0
  241. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.d.ts.map +1 -0
  242. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.js +123 -0
  243. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-posix.js.map +1 -0
  244. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.d.ts +4 -0
  245. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.d.ts.map +1 -0
  246. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.js +182 -0
  247. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/rimraf-windows.js.map +1 -0
  248. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.d.ts +4 -0
  249. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.d.ts.map +1 -0
  250. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.js +19 -0
  251. package/app/api-destined-function/node_modules/rimraf/dist/cjs/src/use-native.js.map +1 -0
  252. package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.d.ts +3 -0
  253. package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.d.ts.map +1 -0
  254. package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.js +55 -0
  255. package/app/api-destined-function/node_modules/rimraf/dist/mjs/default-tmp.js.map +1 -0
  256. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.d.ts +3 -0
  257. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.d.ts.map +1 -0
  258. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.js +53 -0
  259. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fix-eperm.js.map +1 -0
  260. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.d.ts +17 -0
  261. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.d.ts.map +1 -0
  262. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.js +31 -0
  263. package/app/api-destined-function/node_modules/rimraf/dist/mjs/fs.js.map +1 -0
  264. package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.d.ts +3 -0
  265. package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.d.ts.map +1 -0
  266. package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.js +16 -0
  267. package/app/api-destined-function/node_modules/rimraf/dist/mjs/ignore-enoent.js.map +1 -0
  268. package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.d.ts +71 -0
  269. package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.d.ts.map +1 -0
  270. package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.js +84 -0
  271. package/app/api-destined-function/node_modules/rimraf/dist/mjs/index.js.map +1 -0
  272. package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.d.ts +17 -0
  273. package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.d.ts.map +1 -0
  274. package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.js +31 -0
  275. package/app/api-destined-function/node_modules/rimraf/dist/mjs/opt-arg.js.map +1 -0
  276. package/app/api-destined-function/node_modules/rimraf/dist/mjs/package.json +4 -0
  277. package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.d.ts +4 -0
  278. package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.d.ts.map +1 -0
  279. package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.js +49 -0
  280. package/app/api-destined-function/node_modules/rimraf/dist/mjs/path-arg.js.map +1 -0
  281. package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.d.ts +3 -0
  282. package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.d.ts.map +1 -0
  283. package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.js +2 -0
  284. package/app/api-destined-function/node_modules/rimraf/dist/mjs/platform.js.map +1 -0
  285. package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.d.ts +5 -0
  286. package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.d.ts.map +1 -0
  287. package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.js +14 -0
  288. package/app/api-destined-function/node_modules/rimraf/dist/mjs/readdir-or-error.js.map +1 -0
  289. package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.d.ts +8 -0
  290. package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.d.ts.map +1 -0
  291. package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.js +63 -0
  292. package/app/api-destined-function/node_modules/rimraf/dist/mjs/retry-busy.js.map +1 -0
  293. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.d.ts +3 -0
  294. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.d.ts.map +1 -0
  295. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.js +6 -0
  296. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-manual.js.map +1 -0
  297. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.d.ts +4 -0
  298. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.d.ts.map +1 -0
  299. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.js +187 -0
  300. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-move-remove.js.map +1 -0
  301. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.d.ts +4 -0
  302. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.d.ts.map +1 -0
  303. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.js +19 -0
  304. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-native.js.map +1 -0
  305. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.d.ts +4 -0
  306. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.d.ts.map +1 -0
  307. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.js +118 -0
  308. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-posix.js.map +1 -0
  309. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.d.ts +4 -0
  310. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.d.ts.map +1 -0
  311. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.js +177 -0
  312. package/app/api-destined-function/node_modules/rimraf/dist/mjs/rimraf-windows.js.map +1 -0
  313. package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.d.ts +4 -0
  314. package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.d.ts.map +1 -0
  315. package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.js +13 -0
  316. package/app/api-destined-function/node_modules/rimraf/dist/mjs/use-native.js.map +1 -0
  317. package/app/api-destined-function/node_modules/rimraf/package.json +67 -15
  318. package/app/api-destined-function/package.json +3 -3
  319. package/dist/src/lib/common/stack.js +1 -1
  320. package/dist/src/lib/manager/aws/ssm-manager.js +1 -1
  321. package/package.json +12 -12
  322. package/src/lib/common/stack.ts +1 -1
  323. package/src/lib/manager/aws/ssm-manager.ts +1 -1
  324. package/app/api-destined-function/node_modules/concat-map/.travis.yml +0 -4
  325. package/app/api-destined-function/node_modules/concat-map/LICENSE +0 -18
  326. package/app/api-destined-function/node_modules/concat-map/README.markdown +0 -62
  327. package/app/api-destined-function/node_modules/concat-map/example/map.js +0 -6
  328. package/app/api-destined-function/node_modules/concat-map/index.js +0 -13
  329. package/app/api-destined-function/node_modules/concat-map/package.json +0 -43
  330. package/app/api-destined-function/node_modules/glob/common.js +0 -236
  331. package/app/api-destined-function/node_modules/glob/glob.js +0 -787
  332. package/app/api-destined-function/node_modules/glob/sync.js +0 -483
  333. package/app/api-destined-function/node_modules/inflight/README.md +0 -37
  334. package/app/api-destined-function/node_modules/inflight/inflight.js +0 -54
  335. package/app/api-destined-function/node_modules/inflight/package.json +0 -29
  336. package/app/api-destined-function/node_modules/inherits/LICENSE +0 -16
  337. package/app/api-destined-function/node_modules/inherits/README.md +0 -42
  338. package/app/api-destined-function/node_modules/inherits/inherits.js +0 -9
  339. package/app/api-destined-function/node_modules/inherits/inherits_browser.js +0 -27
  340. package/app/api-destined-function/node_modules/inherits/package.json +0 -29
  341. package/app/api-destined-function/node_modules/minimatch/minimatch.js +0 -952
  342. package/app/api-destined-function/node_modules/once/README.md +0 -79
  343. package/app/api-destined-function/node_modules/once/once.js +0 -42
  344. package/app/api-destined-function/node_modules/once/package.json +0 -33
  345. package/app/api-destined-function/node_modules/path-is-absolute/index.js +0 -20
  346. package/app/api-destined-function/node_modules/path-is-absolute/license +0 -21
  347. package/app/api-destined-function/node_modules/path-is-absolute/package.json +0 -43
  348. package/app/api-destined-function/node_modules/path-is-absolute/readme.md +0 -59
  349. package/app/api-destined-function/node_modules/rimraf/bin.js +0 -68
  350. package/app/api-destined-function/node_modules/rimraf/rimraf.js +0 -360
  351. package/app/api-destined-function/node_modules/wrappy/LICENSE +0 -15
  352. package/app/api-destined-function/node_modules/wrappy/README.md +0 -36
  353. package/app/api-destined-function/node_modules/wrappy/package.json +0 -29
  354. package/app/api-destined-function/node_modules/wrappy/wrappy.js +0 -33
@@ -0,0 +1,328 @@
1
+ /// <reference types="node" />
2
+ import { Minimatch } from 'minimatch';
3
+ import Minipass from 'minipass';
4
+ import { FSOption, Path, PathScurry } from 'path-scurry';
5
+ import { IgnoreLike } from './ignore.js';
6
+ import { Pattern } from './pattern.js';
7
+ export type MatchSet = Minimatch['set'];
8
+ export type GlobParts = Exclude<Minimatch['globParts'], undefined>;
9
+ /**
10
+ * A `GlobOptions` object may be provided to any of the exported methods, and
11
+ * must be provided to the `Glob` constructor.
12
+ *
13
+ * All options are optional, boolean, and false by default, unless otherwise
14
+ * noted.
15
+ *
16
+ * All resolved options are added to the Glob object as properties.
17
+ *
18
+ * If you are running many `glob` operations, you can pass a Glob object as the
19
+ * `options` argument to a subsequent operation to share the previously loaded
20
+ * cache.
21
+ */
22
+ export interface GlobOptions {
23
+ /**
24
+ * Set to `true` to always receive absolute paths for
25
+ * matched files. Set to `false` to always return relative paths.
26
+ *
27
+ * When this option is not set, absolute paths are returned for patterns
28
+ * that are absolute, and otherwise paths are returned that are relative
29
+ * to the `cwd` setting.
30
+ *
31
+ * This does _not_ make an extra system call to get
32
+ * the realpath, it only does string path resolution.
33
+ *
34
+ * Conflicts with {@link withFileTypes}
35
+ */
36
+ absolute?: boolean;
37
+ /**
38
+ * Set to false to enable {@link windowsPathsNoEscape}
39
+ *
40
+ * @deprecated
41
+ */
42
+ allowWindowsEscape?: boolean;
43
+ /**
44
+ * The current working directory in which to search. Defaults to
45
+ * `process.cwd()`.
46
+ *
47
+ * May be eiher a string path or a `file://` URL object or string.
48
+ */
49
+ cwd?: string | URL;
50
+ /**
51
+ * Include `.dot` files in normal matches and `globstar`
52
+ * matches. Note that an explicit dot in a portion of the pattern
53
+ * will always match dot files.
54
+ */
55
+ dot?: boolean;
56
+ /**
57
+ * Prepend all relative path strings with `./` (or `.\` on Windows).
58
+ *
59
+ * Without this option, returned relative paths are "bare", so instead of
60
+ * returning `'./foo/bar'`, they are returned as `'foo/bar'`.
61
+ *
62
+ * Relative patterns starting with `'../'` are not prepended with `./`, even
63
+ * if this option is set.
64
+ */
65
+ dotRelative?: boolean;
66
+ /**
67
+ * Follow symlinked directories when expanding `**`
68
+ * patterns. This can result in a lot of duplicate references in
69
+ * the presence of cyclic links, and make performance quite bad.
70
+ *
71
+ * By default, a `**` in a pattern will follow 1 symbolic link if
72
+ * it is not the first item in the pattern, or none if it is the
73
+ * first item in the pattern, following the same behavior as Bash.
74
+ */
75
+ follow?: boolean;
76
+ /**
77
+ * string or string[], or an object with `ignore` and `ignoreChildren`
78
+ * methods.
79
+ *
80
+ * If a string or string[] is provided, then this is treated as a glob
81
+ * pattern or array of glob patterns to exclude from matches. To ignore all
82
+ * children within a directory, as well as the entry itself, append `'/**'`
83
+ * to the ignore pattern.
84
+ *
85
+ * **Note** `ignore` patterns are _always_ in `dot:true` mode, regardless of
86
+ * any other settings.
87
+ *
88
+ * If an object is provided that has `ignored(path)` and/or
89
+ * `childrenIgnored(path)` methods, then these methods will be called to
90
+ * determine whether any Path is a match or if its children should be
91
+ * traversed, respectively.
92
+ */
93
+ ignore?: string | string[] | IgnoreLike;
94
+ /**
95
+ * Treat brace expansion like `{a,b}` as a "magic" pattern. Has no
96
+ * effect if {@link nobrace} is set.
97
+ *
98
+ * Only has effect on the {@link hasMagic} function.
99
+ */
100
+ magicalBraces?: boolean;
101
+ /**
102
+ * Add a `/` character to directory matches. Note that this requires
103
+ * additional stat calls in some cases.
104
+ */
105
+ mark?: boolean;
106
+ /**
107
+ * Perform a basename-only match if the pattern does not contain any slash
108
+ * characters. That is, `*.js` would be treated as equivalent to
109
+ * `**\/*.js`, matching all js files in all directories.
110
+ */
111
+ matchBase?: boolean;
112
+ /**
113
+ * Limit the directory traversal to a given depth below the cwd.
114
+ * Note that this does NOT prevent traversal to sibling folders,
115
+ * root patterns, and so on. It only limits the maximum folder depth
116
+ * that the walk will descend, relative to the cwd.
117
+ */
118
+ maxDepth?: number;
119
+ /**
120
+ * Do not expand `{a,b}` and `{1..3}` brace sets.
121
+ */
122
+ nobrace?: boolean;
123
+ /**
124
+ * Perform a case-insensitive match. This defaults to `true` on macOS and
125
+ * Windows systems, and `false` on all others.
126
+ *
127
+ * **Note** `nocase` should only be explicitly set when it is
128
+ * known that the filesystem's case sensitivity differs from the
129
+ * platform default. If set `true` on case-sensitive file
130
+ * systems, or `false` on case-insensitive file systems, then the
131
+ * walk may return more or less results than expected.
132
+ */
133
+ nocase?: boolean;
134
+ /**
135
+ * Do not match directories, only files. (Note: to match
136
+ * _only_ directories, put a `/` at the end of the pattern.)
137
+ */
138
+ nodir?: boolean;
139
+ /**
140
+ * Do not match "extglob" patterns such as `+(a|b)`.
141
+ */
142
+ noext?: boolean;
143
+ /**
144
+ * Do not match `**` against multiple filenames. (Ie, treat it as a normal
145
+ * `*` instead.)
146
+ *
147
+ * Conflicts with {@link matchBase}
148
+ */
149
+ noglobstar?: boolean;
150
+ /**
151
+ * Defaults to value of `process.platform` if available, or `'linux'` if
152
+ * not. Setting `platform:'win32'` on non-Windows systems may cause strange
153
+ * behavior.
154
+ */
155
+ platform?: NodeJS.Platform;
156
+ /**
157
+ * Set to true to call `fs.realpath` on all of the
158
+ * results. In the case of an entry that cannot be resolved, the
159
+ * entry is omitted. This incurs a slight performance penalty, of
160
+ * course, because of the added system calls.
161
+ */
162
+ realpath?: boolean;
163
+ /**
164
+ *
165
+ * A string path resolved against the `cwd` option, which
166
+ * is used as the starting point for absolute patterns that start
167
+ * with `/`, (but not drive letters or UNC paths on Windows).
168
+ *
169
+ * Note that this _doesn't_ necessarily limit the walk to the
170
+ * `root` directory, and doesn't affect the cwd starting point for
171
+ * non-absolute patterns. A pattern containing `..` will still be
172
+ * able to traverse out of the root directory, if it is not an
173
+ * actual root directory on the filesystem, and any non-absolute
174
+ * patterns will be matched in the `cwd`. For example, the
175
+ * pattern `/../*` with `{root:'/some/path'}` will return all
176
+ * files in `/some`, not all files in `/some/path`. The pattern
177
+ * `*` with `{root:'/some/path'}` will return all the entries in
178
+ * the cwd, not the entries in `/some/path`.
179
+ *
180
+ * To start absolute and non-absolute patterns in the same
181
+ * path, you can use `{root:''}`. However, be aware that on
182
+ * Windows systems, a pattern like `x:/*` or `//host/share/*` will
183
+ * _always_ start in the `x:/` or `//host/share` directory,
184
+ * regardless of the `root` setting.
185
+ */
186
+ root?: string;
187
+ /**
188
+ * A [PathScurry](http://npm.im/path-scurry) object used
189
+ * to traverse the file system. If the `nocase` option is set
190
+ * explicitly, then any provided `scurry` object must match this
191
+ * setting.
192
+ */
193
+ scurry?: PathScurry;
194
+ /**
195
+ * Call `lstat()` on all entries, whether required or not to determine
196
+ * whether it's a valid match. When used with {@link withFileTypes}, this
197
+ * means that matches will include data such as modified time, permissions,
198
+ * and so on. Note that this will incur a performance cost due to the added
199
+ * system calls.
200
+ */
201
+ stat?: boolean;
202
+ /**
203
+ * An AbortSignal which will cancel the Glob walk when
204
+ * triggered.
205
+ */
206
+ signal?: AbortSignal;
207
+ /**
208
+ * Use `\\` as a path separator _only_, and
209
+ * _never_ as an escape character. If set, all `\\` characters are
210
+ * replaced with `/` in the pattern.
211
+ *
212
+ * Note that this makes it **impossible** to match against paths
213
+ * containing literal glob pattern characters, but allows matching
214
+ * with patterns constructed using `path.join()` and
215
+ * `path.resolve()` on Windows platforms, mimicking the (buggy!)
216
+ * behavior of Glob v7 and before on Windows. Please use with
217
+ * caution, and be mindful of [the caveat below about Windows
218
+ * paths](#windows). (For legacy reasons, this is also set if
219
+ * `allowWindowsEscape` is set to the exact value `false`.)
220
+ */
221
+ windowsPathsNoEscape?: boolean;
222
+ /**
223
+ * Return [PathScurry](http://npm.im/path-scurry)
224
+ * `Path` objects instead of strings. These are similar to a
225
+ * NodeJS `Dirent` object, but with additional methods and
226
+ * properties.
227
+ *
228
+ * Conflicts with {@link absolute}
229
+ */
230
+ withFileTypes?: boolean;
231
+ /**
232
+ * An fs implementation to override some or all of the defaults. See
233
+ * http://npm.im/path-scurry for details about what can be overridden.
234
+ */
235
+ fs?: FSOption;
236
+ }
237
+ export type GlobOptionsWithFileTypesTrue = GlobOptions & {
238
+ withFileTypes: true;
239
+ absolute?: undefined;
240
+ };
241
+ export type GlobOptionsWithFileTypesFalse = GlobOptions & {
242
+ withFileTypes?: false;
243
+ };
244
+ export type GlobOptionsWithFileTypesUnset = GlobOptions & {
245
+ withFileTypes?: undefined;
246
+ };
247
+ export type Result<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? Path : Opts extends GlobOptionsWithFileTypesFalse ? string : Opts extends GlobOptionsWithFileTypesUnset ? string : string | Path;
248
+ export type Results<Opts> = Result<Opts>[];
249
+ export type FileTypes<Opts> = Opts extends GlobOptionsWithFileTypesTrue ? true : Opts extends GlobOptionsWithFileTypesFalse ? false : Opts extends GlobOptionsWithFileTypesUnset ? false : boolean;
250
+ /**
251
+ * An object that can perform glob pattern traversals.
252
+ */
253
+ export declare class Glob<Opts extends GlobOptions> implements GlobOptions {
254
+ absolute?: boolean;
255
+ cwd: string;
256
+ root?: string;
257
+ dot: boolean;
258
+ dotRelative: boolean;
259
+ follow: boolean;
260
+ ignore?: string | string[] | IgnoreLike;
261
+ magicalBraces: boolean;
262
+ mark?: boolean;
263
+ matchBase: boolean;
264
+ maxDepth: number;
265
+ nobrace: boolean;
266
+ nocase: boolean;
267
+ nodir: boolean;
268
+ noext: boolean;
269
+ noglobstar: boolean;
270
+ pattern: string[];
271
+ platform: NodeJS.Platform;
272
+ realpath: boolean;
273
+ scurry: PathScurry;
274
+ stat: boolean;
275
+ signal?: AbortSignal;
276
+ windowsPathsNoEscape: boolean;
277
+ withFileTypes: FileTypes<Opts>;
278
+ /**
279
+ * The options provided to the constructor.
280
+ */
281
+ opts: Opts;
282
+ /**
283
+ * An array of parsed immutable {@link Pattern} objects.
284
+ */
285
+ patterns: Pattern[];
286
+ /**
287
+ * All options are stored as properties on the `Glob` object.
288
+ *
289
+ * See {@link GlobOptions} for full options descriptions.
290
+ *
291
+ * Note that a previous `Glob` object can be passed as the
292
+ * `GlobOptions` to another `Glob` instantiation to re-use settings
293
+ * and caches with a new pattern.
294
+ *
295
+ * Traversal functions can be called multiple times to run the walk
296
+ * again.
297
+ */
298
+ constructor(pattern: string | string[], opts: Opts);
299
+ /**
300
+ * Returns a Promise that resolves to the results array.
301
+ */
302
+ walk(): Promise<Results<Opts>>;
303
+ /**
304
+ * synchronous {@link Glob.walk}
305
+ */
306
+ walkSync(): Results<Opts>;
307
+ /**
308
+ * Stream results asynchronously.
309
+ */
310
+ stream(): Minipass<Result<Opts>, Result<Opts>>;
311
+ /**
312
+ * Stream results synchronously.
313
+ */
314
+ streamSync(): Minipass<Result<Opts>, Result<Opts>>;
315
+ /**
316
+ * Default sync iteration function. Returns a Generator that
317
+ * iterates over the results.
318
+ */
319
+ iterateSync(): Generator<Result<Opts>, void, void>;
320
+ [Symbol.iterator](): Generator<Result<Opts>, void, void>;
321
+ /**
322
+ * Default async iteration function. Returns an AsyncGenerator that
323
+ * iterates over the results.
324
+ */
325
+ iterate(): AsyncGenerator<Result<Opts>, void, void>;
326
+ [Symbol.asyncIterator](): AsyncGenerator<Result<Opts>, void, void>;
327
+ }
328
+ //# sourceMappingURL=glob.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"glob.d.ts","sourceRoot":"","sources":["../../src/glob.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAoB,MAAM,WAAW,CAAA;AACvD,OAAO,QAAQ,MAAM,UAAU,CAAA;AAC/B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,UAAU,EAIX,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,MAAM,MAAM,QAAQ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C,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;IAalD;;;OAGG;IACH,WAAW,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;IAGlD,CAAC,MAAM,CAAC,QAAQ,CAAC;IAIjB;;;OAGG;IACH,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC;IAGnD,CAAC,MAAM,CAAC,aAAa,CAAC;CAGvB"}
@@ -0,0 +1,228 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Glob = void 0;
4
+ const minimatch_1 = require("minimatch");
5
+ const path_scurry_1 = require("path-scurry");
6
+ const url_1 = require("url");
7
+ const pattern_js_1 = require("./pattern.js");
8
+ const walker_js_1 = require("./walker.js");
9
+ // if no process global, just call it linux.
10
+ // so we default to case-sensitive, / separators
11
+ const defaultPlatform = typeof process === 'object' &&
12
+ process &&
13
+ typeof process.platform === 'string'
14
+ ? process.platform
15
+ : 'linux';
16
+ /**
17
+ * An object that can perform glob pattern traversals.
18
+ */
19
+ class Glob {
20
+ absolute;
21
+ cwd;
22
+ root;
23
+ dot;
24
+ dotRelative;
25
+ follow;
26
+ ignore;
27
+ magicalBraces;
28
+ mark;
29
+ matchBase;
30
+ maxDepth;
31
+ nobrace;
32
+ nocase;
33
+ nodir;
34
+ noext;
35
+ noglobstar;
36
+ pattern;
37
+ platform;
38
+ realpath;
39
+ scurry;
40
+ stat;
41
+ signal;
42
+ windowsPathsNoEscape;
43
+ withFileTypes;
44
+ /**
45
+ * The options provided to the constructor.
46
+ */
47
+ opts;
48
+ /**
49
+ * An array of parsed immutable {@link Pattern} objects.
50
+ */
51
+ patterns;
52
+ /**
53
+ * All options are stored as properties on the `Glob` object.
54
+ *
55
+ * See {@link GlobOptions} for full options descriptions.
56
+ *
57
+ * Note that a previous `Glob` object can be passed as the
58
+ * `GlobOptions` to another `Glob` instantiation to re-use settings
59
+ * and caches with a new pattern.
60
+ *
61
+ * Traversal functions can be called multiple times to run the walk
62
+ * again.
63
+ */
64
+ constructor(pattern, opts) {
65
+ this.withFileTypes = !!opts.withFileTypes;
66
+ this.signal = opts.signal;
67
+ this.follow = !!opts.follow;
68
+ this.dot = !!opts.dot;
69
+ this.dotRelative = !!opts.dotRelative;
70
+ this.nodir = !!opts.nodir;
71
+ this.mark = !!opts.mark;
72
+ if (!opts.cwd) {
73
+ this.cwd = '';
74
+ }
75
+ else if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) {
76
+ opts.cwd = (0, url_1.fileURLToPath)(opts.cwd);
77
+ }
78
+ this.cwd = opts.cwd || '';
79
+ this.root = opts.root;
80
+ this.magicalBraces = !!opts.magicalBraces;
81
+ this.nobrace = !!opts.nobrace;
82
+ this.noext = !!opts.noext;
83
+ this.realpath = !!opts.realpath;
84
+ this.absolute = opts.absolute;
85
+ this.noglobstar = !!opts.noglobstar;
86
+ this.matchBase = !!opts.matchBase;
87
+ this.maxDepth =
88
+ typeof opts.maxDepth === 'number' ? opts.maxDepth : Infinity;
89
+ this.stat = !!opts.stat;
90
+ this.ignore = opts.ignore;
91
+ if (this.withFileTypes && this.absolute !== undefined) {
92
+ throw new Error('cannot set absolute and withFileTypes:true');
93
+ }
94
+ if (typeof pattern === 'string') {
95
+ pattern = [pattern];
96
+ }
97
+ this.windowsPathsNoEscape =
98
+ !!opts.windowsPathsNoEscape ||
99
+ opts.allowWindowsEscape === false;
100
+ if (this.windowsPathsNoEscape) {
101
+ pattern = pattern.map(p => p.replace(/\\/g, '/'));
102
+ }
103
+ if (this.matchBase) {
104
+ if (opts.noglobstar) {
105
+ throw new TypeError('base matching requires globstar');
106
+ }
107
+ pattern = pattern.map(p => (p.includes('/') ? p : `./**/${p}`));
108
+ }
109
+ this.pattern = pattern;
110
+ this.platform = opts.platform || defaultPlatform;
111
+ this.opts = { ...opts, platform: this.platform };
112
+ if (opts.scurry) {
113
+ this.scurry = opts.scurry;
114
+ if (opts.nocase !== undefined &&
115
+ opts.nocase !== opts.scurry.nocase) {
116
+ throw new Error('nocase option contradicts provided scurry option');
117
+ }
118
+ }
119
+ else {
120
+ const Scurry = opts.platform === 'win32'
121
+ ? path_scurry_1.PathScurryWin32
122
+ : opts.platform === 'darwin'
123
+ ? path_scurry_1.PathScurryDarwin
124
+ : opts.platform
125
+ ? path_scurry_1.PathScurryPosix
126
+ : path_scurry_1.PathScurry;
127
+ this.scurry = new Scurry(this.cwd, {
128
+ nocase: opts.nocase,
129
+ fs: opts.fs,
130
+ });
131
+ }
132
+ this.nocase = this.scurry.nocase;
133
+ const mmo = {
134
+ // default nocase based on platform
135
+ ...opts,
136
+ dot: this.dot,
137
+ matchBase: this.matchBase,
138
+ nobrace: this.nobrace,
139
+ nocase: this.nocase,
140
+ nocaseMagicOnly: true,
141
+ nocomment: true,
142
+ noext: this.noext,
143
+ nonegate: true,
144
+ optimizationLevel: 2,
145
+ platform: this.platform,
146
+ windowsPathsNoEscape: this.windowsPathsNoEscape,
147
+ };
148
+ const mms = this.pattern.map(p => new minimatch_1.Minimatch(p, mmo));
149
+ const [matchSet, globParts] = mms.reduce((set, m) => {
150
+ set[0].push(...m.set);
151
+ set[1].push(...m.globParts);
152
+ return set;
153
+ }, [[], []]);
154
+ this.patterns = matchSet.map((set, i) => {
155
+ return new pattern_js_1.Pattern(set, globParts[i], 0, this.platform);
156
+ });
157
+ }
158
+ async walk() {
159
+ // Walkers always return array of Path objects, so we just have to
160
+ // coerce them into the right shape. It will have already called
161
+ // realpath() if the option was set to do so, so we know that's cached.
162
+ // start out knowing the cwd, at least
163
+ return [
164
+ ...(await new walker_js_1.GlobWalker(this.patterns, this.scurry.cwd, {
165
+ ...this.opts,
166
+ maxDepth: this.maxDepth !== Infinity
167
+ ? this.maxDepth + this.scurry.cwd.depth()
168
+ : Infinity,
169
+ platform: this.platform,
170
+ nocase: this.nocase,
171
+ }).walk()),
172
+ ];
173
+ }
174
+ walkSync() {
175
+ return [
176
+ ...new walker_js_1.GlobWalker(this.patterns, this.scurry.cwd, {
177
+ ...this.opts,
178
+ maxDepth: this.maxDepth !== Infinity
179
+ ? this.maxDepth + this.scurry.cwd.depth()
180
+ : Infinity,
181
+ platform: this.platform,
182
+ nocase: this.nocase,
183
+ }).walkSync(),
184
+ ];
185
+ }
186
+ stream() {
187
+ return new walker_js_1.GlobStream(this.patterns, this.scurry.cwd, {
188
+ ...this.opts,
189
+ maxDepth: this.maxDepth !== Infinity
190
+ ? this.maxDepth + this.scurry.cwd.depth()
191
+ : Infinity,
192
+ platform: this.platform,
193
+ nocase: this.nocase,
194
+ }).stream();
195
+ }
196
+ streamSync() {
197
+ return new walker_js_1.GlobStream(this.patterns, this.scurry.cwd, {
198
+ ...this.opts,
199
+ maxDepth: this.maxDepth !== Infinity
200
+ ? this.maxDepth + this.scurry.cwd.depth()
201
+ : Infinity,
202
+ platform: this.platform,
203
+ nocase: this.nocase,
204
+ }).streamSync();
205
+ }
206
+ /**
207
+ * Default sync iteration function. Returns a Generator that
208
+ * iterates over the results.
209
+ */
210
+ iterateSync() {
211
+ return this.streamSync()[Symbol.iterator]();
212
+ }
213
+ [Symbol.iterator]() {
214
+ return this.iterateSync();
215
+ }
216
+ /**
217
+ * Default async iteration function. Returns an AsyncGenerator that
218
+ * iterates over the results.
219
+ */
220
+ iterate() {
221
+ return this.stream()[Symbol.asyncIterator]();
222
+ }
223
+ [Symbol.asyncIterator]() {
224
+ return this.iterate();
225
+ }
226
+ }
227
+ exports.Glob = Glob;
228
+ //# sourceMappingURL=glob.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"glob.js","sourceRoot":"","sources":["../../src/glob.ts"],"names":[],"mappings":";;;AAAA,yCAAuD;AAEvD,6CAOoB;AACpB,6BAAmC;AAEnC,6CAAsC;AACtC,2CAAoD;AAKpD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,eAAe,GACnB,OAAO,OAAO,KAA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AC9C,CAAC;IACD,CAAC,MAAM,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACvB,CAAC;CACF;AA1PD,oBA0PC"}
@@ -0,0 +1,14 @@
1
+ import { GlobOptions } from './glob.js';
2
+ /**
3
+ * Return true if the patterns provided contain any magic glob characters,
4
+ * given the options provided.
5
+ *
6
+ * Brace expansion is not considered "magic" unless the `magicalBraces` option
7
+ * is set, as brace expansion just turns one string into an array of strings.
8
+ * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and
9
+ * `'xby'` both do not contain any magic glob characters, and it's treated the
10
+ * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`
11
+ * is in the options, brace expansion _is_ treated as a pattern having magic.
12
+ */
13
+ export declare const hasMagic: (pattern: string | string[], options?: GlobOptions) => boolean;
14
+ //# sourceMappingURL=has-magic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"has-magic.d.ts","sourceRoot":"","sources":["../../src/has-magic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,YACV,MAAM,GAAG,MAAM,EAAE,YACjB,WAAW,KACnB,OAQF,CAAA"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hasMagic = void 0;
4
+ const minimatch_1 = require("minimatch");
5
+ /**
6
+ * Return true if the patterns provided contain any magic glob characters,
7
+ * given the options provided.
8
+ *
9
+ * Brace expansion is not considered "magic" unless the `magicalBraces` option
10
+ * is set, as brace expansion just turns one string into an array of strings.
11
+ * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and
12
+ * `'xby'` both do not contain any magic glob characters, and it's treated the
13
+ * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`
14
+ * is in the options, brace expansion _is_ treated as a pattern having magic.
15
+ */
16
+ const hasMagic = (pattern, options = {}) => {
17
+ if (!Array.isArray(pattern)) {
18
+ pattern = [pattern];
19
+ }
20
+ for (const p of pattern) {
21
+ if (new minimatch_1.Minimatch(p, options).hasMagic())
22
+ return true;
23
+ }
24
+ return false;
25
+ };
26
+ exports.hasMagic = hasMagic;
27
+ //# sourceMappingURL=has-magic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"has-magic.js","sourceRoot":"","sources":["../../src/has-magic.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAGrC;;;;;;;;;;GAUG;AACI,MAAM,QAAQ,GAAG,CACtB,OAA0B,EAC1B,UAAuB,EAAE,EAChB,EAAE;IACX,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC3B,OAAO,GAAG,CAAC,OAAO,CAAC,CAAA;KACpB;IACD,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE;QACvB,IAAI,IAAI,qBAAS,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YAAE,OAAO,IAAI,CAAA;KACtD;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAXY,QAAA,QAAQ,YAWpB"}
@@ -0,0 +1,20 @@
1
+ import { Minimatch } from 'minimatch';
2
+ import { Path } from 'path-scurry';
3
+ import { GlobWalkerOpts } from './walker.js';
4
+ export interface IgnoreLike {
5
+ ignored?: (p: Path) => boolean;
6
+ childrenIgnored?: (p: Path) => boolean;
7
+ }
8
+ /**
9
+ * Class used to process ignored patterns
10
+ */
11
+ export declare class Ignore implements IgnoreLike {
12
+ relative: Minimatch[];
13
+ relativeChildren: Minimatch[];
14
+ absolute: Minimatch[];
15
+ absoluteChildren: Minimatch[];
16
+ constructor(ignored: string[], { nobrace, nocase, noext, noglobstar, platform, }: GlobWalkerOpts);
17
+ ignored(p: Path): boolean;
18
+ childrenIgnored(p: Path): boolean;
19
+ }
20
+ //# sourceMappingURL=ignore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ignore.d.ts","sourceRoot":"","sources":["../../src/ignore.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;CACvC;AASD;;GAEG;AACH,qBAAa,MAAO,YAAW,UAAU;IACvC,QAAQ,EAAE,SAAS,EAAE,CAAA;IACrB,gBAAgB,EAAE,SAAS,EAAE,CAAA;IAC7B,QAAQ,EAAE,SAAS,EAAE,CAAA;IACrB,gBAAgB,EAAE,SAAS,EAAE,CAAA;gBAG3B,OAAO,EAAE,MAAM,EAAE,EACjB,EACE,OAAO,EACP,MAAM,EACN,KAAK,EACL,UAAU,EACV,QAA0B,GAC3B,EAAE,cAAc;IAiDnB,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO;IAczB,eAAe,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO;CAWlC"}