@gradientedge/cdk-utils 4.4.6 → 4.5.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 (325) hide show
  1. package/app/api-destined-function/node_modules/.yarn-integrity +1 -1
  2. package/app/api-destined-function/node_modules/minimatch/README.md +1 -1
  3. package/app/api-destined-function/node_modules/minimatch/minimatch.js +74 -45
  4. package/app/api-destined-function/node_modules/minimatch/package.json +3 -3
  5. package/app/api-destined-function/node_modules/uuid/dist/bin/uuid +2 -0
  6. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/index.js +9 -0
  7. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  8. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  9. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  10. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  11. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  12. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  13. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  14. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  15. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  16. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  17. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  18. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  19. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  20. package/app/api-destined-function/node_modules/uuid/dist/esm-browser/version.js +11 -0
  21. package/app/api-destined-function/node_modules/uuid/dist/esm-node/index.js +9 -0
  22. package/app/api-destined-function/node_modules/uuid/dist/esm-node/md5.js +13 -0
  23. package/app/api-destined-function/node_modules/uuid/dist/esm-node/nil.js +1 -0
  24. package/app/api-destined-function/node_modules/uuid/dist/esm-node/parse.js +35 -0
  25. package/app/api-destined-function/node_modules/uuid/dist/esm-node/regex.js +1 -0
  26. package/app/api-destined-function/node_modules/uuid/dist/esm-node/rng.js +12 -0
  27. package/app/api-destined-function/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  28. package/app/api-destined-function/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  29. package/app/api-destined-function/node_modules/uuid/dist/esm-node/v1.js +95 -0
  30. package/app/api-destined-function/node_modules/uuid/dist/esm-node/v3.js +4 -0
  31. package/app/api-destined-function/node_modules/uuid/dist/esm-node/v35.js +64 -0
  32. package/app/api-destined-function/node_modules/uuid/dist/esm-node/v4.js +24 -0
  33. package/app/api-destined-function/node_modules/uuid/dist/esm-node/v5.js +4 -0
  34. package/app/api-destined-function/node_modules/uuid/dist/esm-node/validate.js +7 -0
  35. package/app/api-destined-function/node_modules/uuid/dist/esm-node/version.js +11 -0
  36. package/app/api-destined-function/node_modules/uuid/dist/index.js +79 -0
  37. package/app/api-destined-function/node_modules/uuid/dist/md5-browser.js +223 -0
  38. package/app/api-destined-function/node_modules/uuid/dist/md5.js +23 -0
  39. package/app/api-destined-function/node_modules/uuid/dist/nil.js +8 -0
  40. package/app/api-destined-function/node_modules/uuid/dist/parse.js +45 -0
  41. package/app/api-destined-function/node_modules/uuid/dist/regex.js +8 -0
  42. package/app/api-destined-function/node_modules/uuid/dist/rng-browser.js +26 -0
  43. package/app/api-destined-function/node_modules/uuid/dist/rng.js +24 -0
  44. package/app/api-destined-function/node_modules/uuid/dist/sha1-browser.js +104 -0
  45. package/app/api-destined-function/node_modules/uuid/dist/sha1.js +23 -0
  46. package/app/api-destined-function/node_modules/uuid/dist/stringify.js +39 -0
  47. package/app/api-destined-function/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  48. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  49. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  50. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  51. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  52. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  53. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  54. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  55. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  56. package/app/api-destined-function/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  57. package/app/api-destined-function/node_modules/uuid/dist/uuid-bin.js +85 -0
  58. package/app/api-destined-function/node_modules/uuid/dist/v1.js +107 -0
  59. package/app/api-destined-function/node_modules/uuid/dist/v3.js +16 -0
  60. package/app/api-destined-function/node_modules/uuid/dist/v35.js +78 -0
  61. package/app/api-destined-function/node_modules/uuid/dist/v4.js +37 -0
  62. package/app/api-destined-function/node_modules/uuid/dist/v5.js +16 -0
  63. package/app/api-destined-function/node_modules/uuid/dist/validate.js +17 -0
  64. package/app/api-destined-function/node_modules/uuid/dist/version.js +21 -0
  65. package/app/api-destined-function/package.json +2 -1
  66. package/dist/app/api-destined-function/layers/nodejs/node_modules/.bin/uuid +2 -0
  67. package/dist/app/api-destined-function/layers/nodejs/node_modules/.yarn-integrity +109 -0
  68. package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/LICENSE +21 -0
  69. package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/README.md +16 -0
  70. package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.mts +10 -0
  71. package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/index.d.ts +80 -0
  72. package/dist/app/api-destined-function/layers/nodejs/node_modules/@types/uuid/package.json +54 -0
  73. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/LICENSE.md +9 -0
  74. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/README.md +505 -0
  75. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/bin/uuid +2 -0
  76. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/index.js +9 -0
  77. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  78. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  79. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  80. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  81. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  82. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  83. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  84. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  85. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  86. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  87. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  88. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  89. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  90. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-browser/version.js +11 -0
  91. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/index.js +9 -0
  92. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/md5.js +13 -0
  93. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/nil.js +1 -0
  94. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/parse.js +35 -0
  95. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/regex.js +1 -0
  96. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/rng.js +12 -0
  97. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  98. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  99. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v1.js +95 -0
  100. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v3.js +4 -0
  101. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v35.js +64 -0
  102. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v4.js +24 -0
  103. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/v5.js +4 -0
  104. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/validate.js +7 -0
  105. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/esm-node/version.js +11 -0
  106. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/index.js +79 -0
  107. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5-browser.js +223 -0
  108. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/md5.js +23 -0
  109. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/nil.js +8 -0
  110. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/parse.js +45 -0
  111. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/regex.js +8 -0
  112. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng-browser.js +26 -0
  113. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/rng.js +24 -0
  114. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1-browser.js +104 -0
  115. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/sha1.js +23 -0
  116. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/stringify.js +39 -0
  117. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  118. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  119. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  120. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  121. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  122. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  123. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  124. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  125. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  126. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  127. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/uuid-bin.js +85 -0
  128. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v1.js +107 -0
  129. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v3.js +16 -0
  130. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v35.js +78 -0
  131. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v4.js +37 -0
  132. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/v5.js +16 -0
  133. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/validate.js +17 -0
  134. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/dist/version.js +21 -0
  135. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/package.json +135 -0
  136. package/dist/app/api-destined-function/layers/nodejs/node_modules/uuid/wrapper.mjs +10 -0
  137. package/dist/app/api-destined-function/layers/nodejs/package.json +30 -0
  138. package/dist/app/api-destined-function/src/lib/lambda.d.ts +19 -0
  139. package/dist/app/api-destined-function/src/lib/lambda.d.ts.map +1 -0
  140. package/dist/app/api-destined-function/src/lib/lambda.js +34 -0
  141. package/dist/app/api-destined-function/src/lib/lambda.js.map +1 -0
  142. package/dist/index.d.ts +6 -0
  143. package/dist/index.d.ts.map +1 -0
  144. package/dist/index.js.map +1 -0
  145. package/dist/src/lib/common/construct.d.ts +81 -0
  146. package/dist/src/lib/common/construct.d.ts.map +1 -0
  147. package/dist/src/lib/common/construct.js +136 -0
  148. package/dist/src/lib/common/construct.js.map +1 -0
  149. package/dist/src/lib/common/index.d.ts +3 -0
  150. package/dist/src/lib/common/index.d.ts.map +1 -0
  151. package/dist/src/lib/common/index.js +15 -0
  152. package/dist/src/lib/common/index.js.map +1 -0
  153. package/dist/src/lib/common/stack.d.ts +55 -0
  154. package/dist/src/lib/common/stack.d.ts.map +1 -0
  155. package/dist/src/lib/common/stack.js +148 -0
  156. package/dist/src/lib/common/stack.js.map +1 -0
  157. package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts +17 -0
  158. package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.d.ts.map +1 -0
  159. package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js +18 -0
  160. package/dist/src/lib/construct/api-to-eventbridge-target/api-destination-event.js.map +1 -0
  161. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts +20 -0
  162. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.d.ts.map +1 -0
  163. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js +20 -0
  164. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-lambda.js.map +1 -0
  165. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts +36 -0
  166. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.d.ts.map +1 -0
  167. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js +30 -0
  168. package/dist/src/lib/construct/api-to-eventbridge-target/api-destined-rest-api.js.map +1 -0
  169. package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts +5 -0
  170. package/dist/src/lib/construct/api-to-eventbridge-target/index.d.ts.map +1 -0
  171. package/dist/src/lib/construct/api-to-eventbridge-target/index.js +17 -0
  172. package/dist/src/lib/construct/api-to-eventbridge-target/index.js.map +1 -0
  173. package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts +135 -0
  174. package/dist/src/lib/construct/api-to-eventbridge-target/main.d.ts.map +1 -0
  175. package/dist/src/lib/construct/api-to-eventbridge-target/main.js +488 -0
  176. package/dist/src/lib/construct/api-to-eventbridge-target/main.js.map +1 -0
  177. package/dist/src/lib/construct/graphql-api-lambda/index.d.ts +2 -0
  178. package/dist/src/lib/construct/graphql-api-lambda/index.d.ts.map +1 -0
  179. package/dist/src/lib/construct/graphql-api-lambda/index.js +14 -0
  180. package/dist/src/lib/construct/graphql-api-lambda/index.js.map +1 -0
  181. package/dist/src/lib/construct/graphql-api-lambda/main.d.ts +113 -0
  182. package/dist/src/lib/construct/graphql-api-lambda/main.d.ts.map +1 -0
  183. package/dist/src/lib/construct/graphql-api-lambda/main.js +202 -0
  184. package/dist/src/lib/construct/graphql-api-lambda/main.js.map +1 -0
  185. package/dist/src/lib/construct/index.d.ts +5 -0
  186. package/dist/src/lib/construct/index.d.ts.map +1 -0
  187. package/dist/src/lib/construct/index.js +17 -0
  188. package/dist/src/lib/construct/index.js.map +1 -0
  189. package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts +2 -0
  190. package/dist/src/lib/construct/site-with-ecs-backend/index.d.ts.map +1 -0
  191. package/dist/src/lib/construct/site-with-ecs-backend/index.js +14 -0
  192. package/dist/src/lib/construct/site-with-ecs-backend/index.js.map +1 -0
  193. package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts +168 -0
  194. package/dist/src/lib/construct/site-with-ecs-backend/main.d.ts.map +1 -0
  195. package/dist/src/lib/construct/site-with-ecs-backend/main.js +328 -0
  196. package/dist/src/lib/construct/site-with-ecs-backend/main.js.map +1 -0
  197. package/dist/src/lib/construct/static-site/index.d.ts +2 -0
  198. package/dist/src/lib/construct/static-site/index.d.ts.map +1 -0
  199. package/dist/src/lib/construct/static-site/index.js +14 -0
  200. package/dist/src/lib/construct/static-site/index.js.map +1 -0
  201. package/dist/src/lib/construct/static-site/main.d.ts +95 -0
  202. package/dist/src/lib/construct/static-site/main.d.ts.map +1 -0
  203. package/dist/src/lib/construct/static-site/main.js +169 -0
  204. package/dist/src/lib/construct/static-site/main.js.map +1 -0
  205. package/dist/src/lib/manager/aws/acm-manager.d.ts +47 -0
  206. package/dist/src/lib/manager/aws/acm-manager.d.ts.map +1 -0
  207. package/dist/src/lib/manager/aws/acm-manager.js +91 -0
  208. package/dist/src/lib/manager/aws/acm-manager.js.map +1 -0
  209. package/dist/src/lib/manager/aws/api-manager.d.ts +44 -0
  210. package/dist/src/lib/manager/aws/api-manager.d.ts.map +1 -0
  211. package/dist/src/lib/manager/aws/api-manager.js +112 -0
  212. package/dist/src/lib/manager/aws/api-manager.js.map +1 -0
  213. package/dist/src/lib/manager/aws/app-config-manager.d.ts +66 -0
  214. package/dist/src/lib/manager/aws/app-config-manager.d.ts.map +1 -0
  215. package/dist/src/lib/manager/aws/app-config-manager.js +149 -0
  216. package/dist/src/lib/manager/aws/app-config-manager.js.map +1 -0
  217. package/dist/src/lib/manager/aws/cloudfront-manager.d.ts +113 -0
  218. package/dist/src/lib/manager/aws/cloudfront-manager.d.ts.map +1 -0
  219. package/dist/src/lib/manager/aws/cloudfront-manager.js +283 -0
  220. package/dist/src/lib/manager/aws/cloudfront-manager.js.map +1 -0
  221. package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts +49 -0
  222. package/dist/src/lib/manager/aws/cloudtrail-manager.d.ts.map +1 -0
  223. package/dist/src/lib/manager/aws/cloudtrail-manager.js +100 -0
  224. package/dist/src/lib/manager/aws/cloudtrail-manager.js.map +1 -0
  225. package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts +122 -0
  226. package/dist/src/lib/manager/aws/cloudwatch-manager.d.ts.map +1 -0
  227. package/dist/src/lib/manager/aws/cloudwatch-manager.js +353 -0
  228. package/dist/src/lib/manager/aws/cloudwatch-manager.js.map +1 -0
  229. package/dist/src/lib/manager/aws/codebuild-manager.d.ts +41 -0
  230. package/dist/src/lib/manager/aws/codebuild-manager.d.ts.map +1 -0
  231. package/dist/src/lib/manager/aws/codebuild-manager.js +95 -0
  232. package/dist/src/lib/manager/aws/codebuild-manager.js.map +1 -0
  233. package/dist/src/lib/manager/aws/dynamodb-manager.d.ts +33 -0
  234. package/dist/src/lib/manager/aws/dynamodb-manager.d.ts.map +1 -0
  235. package/dist/src/lib/manager/aws/dynamodb-manager.js +80 -0
  236. package/dist/src/lib/manager/aws/dynamodb-manager.js.map +1 -0
  237. package/dist/src/lib/manager/aws/ecr-manager.d.ts +32 -0
  238. package/dist/src/lib/manager/aws/ecr-manager.d.ts.map +1 -0
  239. package/dist/src/lib/manager/aws/ecr-manager.js +61 -0
  240. package/dist/src/lib/manager/aws/ecr-manager.js.map +1 -0
  241. package/dist/src/lib/manager/aws/ecs-manager.d.ts +49 -0
  242. package/dist/src/lib/manager/aws/ecs-manager.d.ts.map +1 -0
  243. package/dist/src/lib/manager/aws/ecs-manager.js +104 -0
  244. package/dist/src/lib/manager/aws/ecs-manager.js.map +1 -0
  245. package/dist/src/lib/manager/aws/eks-manager.d.ts +37 -0
  246. package/dist/src/lib/manager/aws/eks-manager.d.ts.map +1 -0
  247. package/dist/src/lib/manager/aws/eks-manager.js +110 -0
  248. package/dist/src/lib/manager/aws/eks-manager.js.map +1 -0
  249. package/dist/src/lib/manager/aws/elasticache-manager.d.ts +43 -0
  250. package/dist/src/lib/manager/aws/elasticache-manager.d.ts.map +1 -0
  251. package/dist/src/lib/manager/aws/elasticache-manager.js +103 -0
  252. package/dist/src/lib/manager/aws/elasticache-manager.js.map +1 -0
  253. package/dist/src/lib/manager/aws/event-manager.d.ts +68 -0
  254. package/dist/src/lib/manager/aws/event-manager.d.ts.map +1 -0
  255. package/dist/src/lib/manager/aws/event-manager.js +163 -0
  256. package/dist/src/lib/manager/aws/event-manager.js.map +1 -0
  257. package/dist/src/lib/manager/aws/iam-manager.d.ts +155 -0
  258. package/dist/src/lib/manager/aws/iam-manager.d.ts.map +1 -0
  259. package/dist/src/lib/manager/aws/iam-manager.js +381 -0
  260. package/dist/src/lib/manager/aws/iam-manager.js.map +1 -0
  261. package/dist/src/lib/manager/aws/index.d.ts +24 -0
  262. package/dist/src/lib/manager/aws/index.d.ts.map +1 -0
  263. package/dist/src/lib/manager/aws/index.js +36 -0
  264. package/dist/src/lib/manager/aws/index.js.map +1 -0
  265. package/dist/src/lib/manager/aws/lambda-manager.d.ts +95 -0
  266. package/dist/src/lib/manager/aws/lambda-manager.d.ts.map +1 -0
  267. package/dist/src/lib/manager/aws/lambda-manager.js +197 -0
  268. package/dist/src/lib/manager/aws/lambda-manager.js.map +1 -0
  269. package/dist/src/lib/manager/aws/log-manager.d.ts +52 -0
  270. package/dist/src/lib/manager/aws/log-manager.d.ts.map +1 -0
  271. package/dist/src/lib/manager/aws/log-manager.js +109 -0
  272. package/dist/src/lib/manager/aws/log-manager.js.map +1 -0
  273. package/dist/src/lib/manager/aws/route53-manager.d.ts +69 -0
  274. package/dist/src/lib/manager/aws/route53-manager.d.ts.map +1 -0
  275. package/dist/src/lib/manager/aws/route53-manager.js +159 -0
  276. package/dist/src/lib/manager/aws/route53-manager.js.map +1 -0
  277. package/dist/src/lib/manager/aws/s3-manager.d.ts +74 -0
  278. package/dist/src/lib/manager/aws/s3-manager.d.ts.map +1 -0
  279. package/dist/src/lib/manager/aws/s3-manager.js +203 -0
  280. package/dist/src/lib/manager/aws/s3-manager.js.map +1 -0
  281. package/dist/src/lib/manager/aws/secrets-manager.d.ts +58 -0
  282. package/dist/src/lib/manager/aws/secrets-manager.d.ts.map +1 -0
  283. package/dist/src/lib/manager/aws/secrets-manager.js +117 -0
  284. package/dist/src/lib/manager/aws/secrets-manager.js.map +1 -0
  285. package/dist/src/lib/manager/aws/sns-manager.d.ts +43 -0
  286. package/dist/src/lib/manager/aws/sns-manager.d.ts.map +1 -0
  287. package/dist/src/lib/manager/aws/sns-manager.js +91 -0
  288. package/dist/src/lib/manager/aws/sns-manager.js.map +1 -0
  289. package/dist/src/lib/manager/aws/ssm-manager.d.ts +61 -0
  290. package/dist/src/lib/manager/aws/ssm-manager.d.ts.map +1 -0
  291. package/dist/src/lib/manager/aws/ssm-manager.js +125 -0
  292. package/dist/src/lib/manager/aws/ssm-manager.js.map +1 -0
  293. package/dist/src/lib/manager/aws/vpc-manager.d.ts +46 -0
  294. package/dist/src/lib/manager/aws/vpc-manager.d.ts.map +1 -0
  295. package/dist/src/lib/manager/aws/vpc-manager.js +95 -0
  296. package/dist/src/lib/manager/aws/vpc-manager.js.map +1 -0
  297. package/dist/src/lib/manager/aws/waf-manager.d.ts +40 -0
  298. package/dist/src/lib/manager/aws/waf-manager.d.ts.map +1 -0
  299. package/dist/src/lib/manager/aws/waf-manager.js +90 -0
  300. package/dist/src/lib/manager/aws/waf-manager.js.map +1 -0
  301. package/dist/src/lib/manager/index.d.ts +2 -0
  302. package/dist/src/lib/manager/index.d.ts.map +1 -0
  303. package/dist/src/lib/manager/index.js +14 -0
  304. package/dist/src/lib/manager/index.js.map +1 -0
  305. package/dist/src/lib/types/aws/index.d.ts +487 -0
  306. package/dist/src/lib/types/aws/index.d.ts.map +1 -0
  307. package/dist/src/lib/types/aws/index.js +3 -0
  308. package/dist/src/lib/types/aws/index.js.map +1 -0
  309. package/dist/src/lib/types/index.d.ts +2 -0
  310. package/dist/src/lib/types/index.d.ts.map +1 -0
  311. package/dist/src/lib/types/index.js +14 -0
  312. package/dist/src/lib/types/index.js.map +1 -0
  313. package/dist/src/lib/utils/aws/index.d.ts +16 -0
  314. package/dist/src/lib/utils/aws/index.d.ts.map +1 -0
  315. package/dist/src/lib/utils/aws/index.js +50 -0
  316. package/dist/src/lib/utils/aws/index.js.map +1 -0
  317. package/dist/src/lib/utils/index.d.ts +63 -0
  318. package/dist/src/lib/utils/index.d.ts.map +1 -0
  319. package/dist/src/lib/utils/index.js +85 -0
  320. package/dist/src/lib/utils/index.js.map +1 -0
  321. package/package.json +8 -7
  322. package/src/lib/common/construct.ts +2 -0
  323. package/src/lib/manager/aws/elasticache-manager.ts +98 -0
  324. package/src/lib/manager/aws/index.ts +1 -0
  325. package/src/lib/types/aws/index.ts +7 -0
@@ -22,7 +22,7 @@
22
22
  "glob@^7.1.3": "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023",
23
23
  "inflight@^1.0.4": "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9",
24
24
  "inherits@2": "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c",
25
- "minimatch@^3.0.4": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083",
25
+ "minimatch@^3.0.4": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3",
26
26
  "mkdirp@^1.0.4": "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e",
27
27
  "once@^1.3.0": "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1",
28
28
  "path-is-absolute@^1.0.0": "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f",
@@ -2,7 +2,7 @@
2
2
 
3
3
  A minimal matching utility.
4
4
 
5
- [![Build Status](https://secure.travis-ci.org/isaacs/minimatch.svg)](http://travis-ci.org/isaacs/minimatch)
5
+ [![Build Status](https://travis-ci.org/isaacs/minimatch.svg?branch=master)](http://travis-ci.org/isaacs/minimatch)
6
6
 
7
7
 
8
8
  This is the matching library used internally by npm.
@@ -1,15 +1,15 @@
1
1
  module.exports = minimatch
2
2
  minimatch.Minimatch = Minimatch
3
3
 
4
- var path = { sep: '/' }
5
- try {
6
- path = require('path')
7
- } catch (er) {}
4
+ const path = (() => { try { return require('path') } catch (e) {}})() || {
5
+ sep: '/'
6
+ }
7
+ minimatch.sep = path.sep
8
8
 
9
- var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
10
- var expand = require('brace-expansion')
9
+ const GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
10
+ const expand = require('brace-expansion')
11
11
 
12
- var plTypes = {
12
+ const plTypes = {
13
13
  '!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
14
14
  '?': { open: '(?:', close: ')?' },
15
15
  '+': { open: '(?:', close: ')+' },
@@ -19,22 +19,22 @@ var plTypes = {
19
19
 
20
20
  // any single thing other than /
21
21
  // don't need to escape / when using new RegExp()
22
- var qmark = '[^/]'
22
+ const qmark = '[^/]'
23
23
 
24
24
  // * => any number of characters
25
- var star = qmark + '*?'
25
+ const star = qmark + '*?'
26
26
 
27
27
  // ** when dots are allowed. Anything goes, except .. and .
28
28
  // not (^ or / followed by one or two dots followed by $ or /),
29
29
  // followed by anything, any number of times.
30
- var twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
30
+ const twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
31
31
 
32
32
  // not a ^ or / followed by a dot,
33
33
  // followed by anything, any number of times.
34
- var twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
34
+ const twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
35
35
 
36
36
  // characters that need to be escaped in RegExp.
37
- var reSpecials = charSet('().*{}+?[]^$\\!')
37
+ const reSpecials = charSet('().*{}+?[]^$\\!')
38
38
 
39
39
  // "abc" -> { a:true, b:true, c:true }
40
40
  function charSet (s) {
@@ -45,7 +45,7 @@ function charSet (s) {
45
45
  }
46
46
 
47
47
  // normalizes slashes.
48
- var slashSplit = /\/+/
48
+ const slashSplit = /\/+/
49
49
 
50
50
  minimatch.filter = filter
51
51
  function filter (pattern, options) {
@@ -58,41 +58,63 @@ function filter (pattern, options) {
58
58
  function ext (a, b) {
59
59
  a = a || {}
60
60
  b = b || {}
61
- var t = {}
62
- Object.keys(b).forEach(function (k) {
63
- t[k] = b[k]
64
- })
61
+ const t = {}
65
62
  Object.keys(a).forEach(function (k) {
66
63
  t[k] = a[k]
67
64
  })
65
+ Object.keys(b).forEach(function (k) {
66
+ t[k] = b[k]
67
+ })
68
68
  return t
69
69
  }
70
70
 
71
71
  minimatch.defaults = function (def) {
72
- if (!def || !Object.keys(def).length) return minimatch
72
+ if (!def || typeof def !== 'object' || !Object.keys(def).length) {
73
+ return minimatch
74
+ }
73
75
 
74
- var orig = minimatch
76
+ const orig = minimatch
75
77
 
76
- var m = function minimatch (p, pattern, options) {
77
- return orig.minimatch(p, pattern, ext(def, options))
78
+ const m = function minimatch (p, pattern, options) {
79
+ return orig(p, pattern, ext(def, options))
78
80
  }
79
81
 
80
82
  m.Minimatch = function Minimatch (pattern, options) {
81
83
  return new orig.Minimatch(pattern, ext(def, options))
82
84
  }
85
+ m.Minimatch.defaults = options => {
86
+ return orig.defaults(ext(def, options)).Minimatch
87
+ }
88
+
89
+ m.filter = function filter (pattern, options) {
90
+ return orig.filter(pattern, ext(def, options))
91
+ }
92
+
93
+ m.defaults = function defaults (options) {
94
+ return orig.defaults(ext(def, options))
95
+ }
96
+
97
+ m.makeRe = function makeRe (pattern, options) {
98
+ return orig.makeRe(pattern, ext(def, options))
99
+ }
100
+
101
+ m.braceExpand = function braceExpand (pattern, options) {
102
+ return orig.braceExpand(pattern, ext(def, options))
103
+ }
104
+
105
+ m.match = function (list, pattern, options) {
106
+ return orig.match(list, pattern, ext(def, options))
107
+ }
83
108
 
84
109
  return m
85
110
  }
86
111
 
87
112
  Minimatch.defaults = function (def) {
88
- if (!def || !Object.keys(def).length) return Minimatch
89
113
  return minimatch.defaults(def).Minimatch
90
114
  }
91
115
 
92
116
  function minimatch (p, pattern, options) {
93
- if (typeof pattern !== 'string') {
94
- throw new TypeError('glob pattern string required')
95
- }
117
+ assertValidPattern(pattern)
96
118
 
97
119
  if (!options) options = {}
98
120
 
@@ -112,9 +134,7 @@ function Minimatch (pattern, options) {
112
134
  return new Minimatch(pattern, options)
113
135
  }
114
136
 
115
- if (typeof pattern !== 'string') {
116
- throw new TypeError('glob pattern string required')
117
- }
137
+ assertValidPattern(pattern)
118
138
 
119
139
  if (!options) options = {}
120
140
  pattern = pattern.trim()
@@ -242,12 +262,9 @@ function braceExpand (pattern, options) {
242
262
  pattern = typeof pattern === 'undefined'
243
263
  ? this.pattern : pattern
244
264
 
245
- if (typeof pattern === 'undefined') {
246
- throw new TypeError('undefined pattern')
247
- }
265
+ assertValidPattern(pattern)
248
266
 
249
- if (options.nobrace ||
250
- !pattern.match(/\{.*\}/)) {
267
+ if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
251
268
  // shortcut. no need to expand.
252
269
  return [pattern]
253
270
  }
@@ -255,6 +272,17 @@ function braceExpand (pattern, options) {
255
272
  return expand(pattern)
256
273
  }
257
274
 
275
+ const MAX_PATTERN_LENGTH = 1024 * 64
276
+ const assertValidPattern = pattern => {
277
+ if (typeof pattern !== 'string') {
278
+ throw new TypeError('invalid pattern')
279
+ }
280
+
281
+ if (pattern.length > MAX_PATTERN_LENGTH) {
282
+ throw new TypeError('pattern is too long')
283
+ }
284
+ }
285
+
258
286
  // parse a component of the expanded set.
259
287
  // At this point, no pattern may contain "/" in it
260
288
  // so we're going to return a 2d array, where each entry is the full
@@ -267,11 +295,9 @@ function braceExpand (pattern, options) {
267
295
  // of * is equivalent to a single *. Globstar behavior is enabled by
268
296
  // default, and can be disabled by setting options.noglobstar.
269
297
  Minimatch.prototype.parse = parse
270
- var SUBPARSE = {}
298
+ const SUBPARSE = {}
271
299
  function parse (pattern, isSub) {
272
- if (pattern.length > 1024 * 64) {
273
- throw new TypeError('pattern is too long')
274
- }
300
+ assertValidPattern(pattern)
275
301
 
276
302
  var options = this.options
277
303
 
@@ -280,7 +306,7 @@ function parse (pattern, isSub) {
280
306
  if (pattern === '') return ''
281
307
 
282
308
  var re = ''
283
- var hasMagic = !!options.nocase
309
+ var hasMagic = false
284
310
  var escaping = false
285
311
  // ? => one single character
286
312
  var patternListStack = []
@@ -332,10 +358,11 @@ function parse (pattern, isSub) {
332
358
  }
333
359
 
334
360
  switch (c) {
335
- case '/':
361
+ case '/': /* istanbul ignore next */ {
336
362
  // completely not allowed, even escaped.
337
363
  // Should already be path-split by now.
338
364
  return false
365
+ }
339
366
 
340
367
  case '\\':
341
368
  clearStateChar()
@@ -620,7 +647,7 @@ function parse (pattern, isSub) {
620
647
  var flags = options.nocase ? 'i' : ''
621
648
  try {
622
649
  var regExp = new RegExp('^' + re + '$', flags)
623
- } catch (er) {
650
+ } catch (er) /* istanbul ignore next - should be impossible */ {
624
651
  // If it was an invalid regular expression, then it can't match
625
652
  // anything. This trick looks for a character after the end of
626
653
  // the string, which is of course impossible, except in multi-line
@@ -678,7 +705,7 @@ function makeRe () {
678
705
 
679
706
  try {
680
707
  this.regexp = new RegExp(re, flags)
681
- } catch (ex) {
708
+ } catch (ex) /* istanbul ignore next - should be impossible */ {
682
709
  this.regexp = false
683
710
  }
684
711
  return this.regexp
@@ -686,7 +713,7 @@ function makeRe () {
686
713
 
687
714
  minimatch.match = function (list, pattern, options) {
688
715
  options = options || {}
689
- var mm = new Minimatch(pattern, options)
716
+ const mm = new Minimatch(pattern, options)
690
717
  list = list.filter(function (f) {
691
718
  return mm.match(f)
692
719
  })
@@ -779,6 +806,7 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
779
806
 
780
807
  // should be impossible.
781
808
  // some invalid regexp stuff in the set.
809
+ /* istanbul ignore if */
782
810
  if (p === false) return false
783
811
 
784
812
  if (p === GLOBSTAR) {
@@ -852,6 +880,7 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
852
880
  // no match was found.
853
881
  // However, in partial mode, we can't say this is necessarily over.
854
882
  // If there's more *pattern* left, then
883
+ /* istanbul ignore if */
855
884
  if (partial) {
856
885
  // ran out of file
857
886
  this.debug('\n>>> no match, partial?', file, fr, pattern, pr)
@@ -900,16 +929,16 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
900
929
  // this is ok if we're doing the match as part of
901
930
  // a glob fs traversal.
902
931
  return partial
903
- } else if (pi === pl) {
932
+ } else /* istanbul ignore else */ if (pi === pl) {
904
933
  // ran out of pattern, still have file left.
905
934
  // this is only acceptable if we're on the very last
906
935
  // empty segment of a file with a trailing slash.
907
936
  // a/* should match a/b/
908
- var emptyFileEnd = (fi === fl - 1) && (file[fi] === '')
909
- return emptyFileEnd
937
+ return (fi === fl - 1) && (file[fi] === '')
910
938
  }
911
939
 
912
940
  // should be unreachable.
941
+ /* istanbul ignore next */
913
942
  throw new Error('wtf?')
914
943
  }
915
944
 
@@ -2,14 +2,14 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
3
  "name": "minimatch",
4
4
  "description": "a glob matcher in javascript",
5
- "version": "3.0.4",
5
+ "version": "3.0.5",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git://github.com/isaacs/minimatch.git"
9
9
  },
10
10
  "main": "minimatch.js",
11
11
  "scripts": {
12
- "test": "tap test/*.js --cov",
12
+ "test": "tap",
13
13
  "preversion": "npm test",
14
14
  "postversion": "npm publish",
15
15
  "postpublish": "git push origin --all; git push origin --tags"
@@ -21,7 +21,7 @@
21
21
  "brace-expansion": "^1.1.7"
22
22
  },
23
23
  "devDependencies": {
24
- "tap": "^10.3.2"
24
+ "tap": "^15.1.6"
25
25
  },
26
26
  "license": "ISC",
27
27
  "files": [
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ require('../uuid-bin');
@@ -0,0 +1,9 @@
1
+ export { default as v1 } from './v1.js';
2
+ export { default as v3 } from './v3.js';
3
+ export { default as v4 } from './v4.js';
4
+ export { default as v5 } from './v5.js';
5
+ export { default as NIL } from './nil.js';
6
+ export { default as version } from './version.js';
7
+ export { default as validate } from './validate.js';
8
+ export { default as stringify } from './stringify.js';
9
+ export { default as parse } from './parse.js';
@@ -0,0 +1,215 @@
1
+ /*
2
+ * Browser-compatible JavaScript MD5
3
+ *
4
+ * Modification of JavaScript MD5
5
+ * https://github.com/blueimp/JavaScript-MD5
6
+ *
7
+ * Copyright 2011, Sebastian Tschan
8
+ * https://blueimp.net
9
+ *
10
+ * Licensed under the MIT license:
11
+ * https://opensource.org/licenses/MIT
12
+ *
13
+ * Based on
14
+ * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
15
+ * Digest Algorithm, as defined in RFC 1321.
16
+ * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
17
+ * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
18
+ * Distributed under the BSD License
19
+ * See http://pajhome.org.uk/crypt/md5 for more info.
20
+ */
21
+ function md5(bytes) {
22
+ if (typeof bytes === 'string') {
23
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
24
+
25
+ bytes = new Uint8Array(msg.length);
26
+
27
+ for (var i = 0; i < msg.length; ++i) {
28
+ bytes[i] = msg.charCodeAt(i);
29
+ }
30
+ }
31
+
32
+ return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes), bytes.length * 8));
33
+ }
34
+ /*
35
+ * Convert an array of little-endian words to an array of bytes
36
+ */
37
+
38
+
39
+ function md5ToHexEncodedArray(input) {
40
+ var output = [];
41
+ var length32 = input.length * 32;
42
+ var hexTab = '0123456789abcdef';
43
+
44
+ for (var i = 0; i < length32; i += 8) {
45
+ var x = input[i >> 5] >>> i % 32 & 0xff;
46
+ var hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
47
+ output.push(hex);
48
+ }
49
+
50
+ return output;
51
+ }
52
+ /**
53
+ * Calculate output length with padding and bit length
54
+ */
55
+
56
+
57
+ function getOutputLength(inputLength8) {
58
+ return (inputLength8 + 64 >>> 9 << 4) + 14 + 1;
59
+ }
60
+ /*
61
+ * Calculate the MD5 of an array of little-endian words, and a bit length.
62
+ */
63
+
64
+
65
+ function wordsToMd5(x, len) {
66
+ /* append padding */
67
+ x[len >> 5] |= 0x80 << len % 32;
68
+ x[getOutputLength(len) - 1] = len;
69
+ var a = 1732584193;
70
+ var b = -271733879;
71
+ var c = -1732584194;
72
+ var d = 271733878;
73
+
74
+ for (var i = 0; i < x.length; i += 16) {
75
+ var olda = a;
76
+ var oldb = b;
77
+ var oldc = c;
78
+ var oldd = d;
79
+ a = md5ff(a, b, c, d, x[i], 7, -680876936);
80
+ d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
81
+ c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
82
+ b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);
83
+ a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);
84
+ d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);
85
+ c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);
86
+ b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);
87
+ a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);
88
+ d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);
89
+ c = md5ff(c, d, a, b, x[i + 10], 17, -42063);
90
+ b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);
91
+ a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);
92
+ d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);
93
+ c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);
94
+ b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);
95
+ a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);
96
+ d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);
97
+ c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);
98
+ b = md5gg(b, c, d, a, x[i], 20, -373897302);
99
+ a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);
100
+ d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);
101
+ c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);
102
+ b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);
103
+ a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);
104
+ d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);
105
+ c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);
106
+ b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);
107
+ a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);
108
+ d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);
109
+ c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);
110
+ b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);
111
+ a = md5hh(a, b, c, d, x[i + 5], 4, -378558);
112
+ d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);
113
+ c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);
114
+ b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);
115
+ a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);
116
+ d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);
117
+ c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);
118
+ b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);
119
+ a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);
120
+ d = md5hh(d, a, b, c, x[i], 11, -358537222);
121
+ c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);
122
+ b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);
123
+ a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);
124
+ d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);
125
+ c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);
126
+ b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);
127
+ a = md5ii(a, b, c, d, x[i], 6, -198630844);
128
+ d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);
129
+ c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);
130
+ b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);
131
+ a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);
132
+ d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);
133
+ c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);
134
+ b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);
135
+ a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);
136
+ d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);
137
+ c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);
138
+ b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);
139
+ a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);
140
+ d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);
141
+ c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);
142
+ b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);
143
+ a = safeAdd(a, olda);
144
+ b = safeAdd(b, oldb);
145
+ c = safeAdd(c, oldc);
146
+ d = safeAdd(d, oldd);
147
+ }
148
+
149
+ return [a, b, c, d];
150
+ }
151
+ /*
152
+ * Convert an array bytes to an array of little-endian words
153
+ * Characters >255 have their high-byte silently ignored.
154
+ */
155
+
156
+
157
+ function bytesToWords(input) {
158
+ if (input.length === 0) {
159
+ return [];
160
+ }
161
+
162
+ var length8 = input.length * 8;
163
+ var output = new Uint32Array(getOutputLength(length8));
164
+
165
+ for (var i = 0; i < length8; i += 8) {
166
+ output[i >> 5] |= (input[i / 8] & 0xff) << i % 32;
167
+ }
168
+
169
+ return output;
170
+ }
171
+ /*
172
+ * Add integers, wrapping at 2^32. This uses 16-bit operations internally
173
+ * to work around bugs in some JS interpreters.
174
+ */
175
+
176
+
177
+ function safeAdd(x, y) {
178
+ var lsw = (x & 0xffff) + (y & 0xffff);
179
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
180
+ return msw << 16 | lsw & 0xffff;
181
+ }
182
+ /*
183
+ * Bitwise rotate a 32-bit number to the left.
184
+ */
185
+
186
+
187
+ function bitRotateLeft(num, cnt) {
188
+ return num << cnt | num >>> 32 - cnt;
189
+ }
190
+ /*
191
+ * These functions implement the four basic operations the algorithm uses.
192
+ */
193
+
194
+
195
+ function md5cmn(q, a, b, x, s, t) {
196
+ return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);
197
+ }
198
+
199
+ function md5ff(a, b, c, d, x, s, t) {
200
+ return md5cmn(b & c | ~b & d, a, b, x, s, t);
201
+ }
202
+
203
+ function md5gg(a, b, c, d, x, s, t) {
204
+ return md5cmn(b & d | c & ~d, a, b, x, s, t);
205
+ }
206
+
207
+ function md5hh(a, b, c, d, x, s, t) {
208
+ return md5cmn(b ^ c ^ d, a, b, x, s, t);
209
+ }
210
+
211
+ function md5ii(a, b, c, d, x, s, t) {
212
+ return md5cmn(c ^ (b | ~d), a, b, x, s, t);
213
+ }
214
+
215
+ export default md5;
@@ -0,0 +1 @@
1
+ export default '00000000-0000-0000-0000-000000000000';
@@ -0,0 +1,35 @@
1
+ import validate from './validate.js';
2
+
3
+ function parse(uuid) {
4
+ if (!validate(uuid)) {
5
+ throw TypeError('Invalid UUID');
6
+ }
7
+
8
+ var v;
9
+ var arr = new Uint8Array(16); // Parse ########-....-....-....-............
10
+
11
+ arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
12
+ arr[1] = v >>> 16 & 0xff;
13
+ arr[2] = v >>> 8 & 0xff;
14
+ arr[3] = v & 0xff; // Parse ........-####-....-....-............
15
+
16
+ arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
17
+ arr[5] = v & 0xff; // Parse ........-....-####-....-............
18
+
19
+ arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
20
+ arr[7] = v & 0xff; // Parse ........-....-....-####-............
21
+
22
+ arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
23
+ arr[9] = v & 0xff; // Parse ........-....-....-....-############
24
+ // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
25
+
26
+ arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
27
+ arr[11] = v / 0x100000000 & 0xff;
28
+ arr[12] = v >>> 24 & 0xff;
29
+ arr[13] = v >>> 16 & 0xff;
30
+ arr[14] = v >>> 8 & 0xff;
31
+ arr[15] = v & 0xff;
32
+ return arr;
33
+ }
34
+
35
+ export default parse;
@@ -0,0 +1 @@
1
+ export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
@@ -0,0 +1,19 @@
1
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
2
+ // require the crypto API and do not support built-in fallback to lower quality random number
3
+ // generators (like Math.random()).
4
+ var getRandomValues;
5
+ var rnds8 = new Uint8Array(16);
6
+ export default function rng() {
7
+ // lazy load so that environments that need to polyfill have a chance to do so
8
+ if (!getRandomValues) {
9
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
10
+ // find the complete implementation of crypto (msCrypto) on IE11.
11
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
12
+
13
+ if (!getRandomValues) {
14
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
15
+ }
16
+ }
17
+
18
+ return getRandomValues(rnds8);
19
+ }