@cdklabs/cdk-ecs-codedeploy 0.0.444 → 0.0.446

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 (267) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/bdd.js +2 -5
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +7 -11
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +196 -216
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +4 -8
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/errors.js +221 -336
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +22 -26
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +30 -34
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.native.js +4 -7
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +20 -24
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/schemas/schemas_0.js +714 -471
  17. package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -8
  18. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
  19. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
  20. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +297 -23
  21. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +327 -52
  22. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +297 -23
  23. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
  24. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
  25. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
  27. package/node_modules/@aws-sdk/core/package.json +8 -8
  28. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
  29. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  30. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
  31. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
  32. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
  33. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
  34. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
  35. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
  36. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
  37. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  38. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
  39. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
  40. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
  41. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  42. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
  43. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  44. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
  45. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  46. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
  47. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  48. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
  49. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
  50. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  51. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
  52. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
  53. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
  54. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  55. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
  56. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
  57. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
  58. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
  59. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
  60. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
  61. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
  62. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
  63. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
  64. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
  65. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  66. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
  67. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
  68. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
  69. package/node_modules/@aws-sdk/nested-clients/package.json +9 -8
  70. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
  71. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  72. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
  73. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  74. package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
  75. package/node_modules/@aws-sdk/types/package.json +4 -4
  76. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
  77. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  78. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
  79. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +3 -6
  80. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +233 -46
  81. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
  82. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
  83. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
  84. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
  85. package/node_modules/@aws-sdk/xml-builder/package.json +7 -7
  86. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +518 -371
  87. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +355 -145
  88. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +456 -142
  89. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +355 -145
  90. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -1
  91. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +15 -4
  92. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
  93. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
  94. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
  95. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
  96. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
  97. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
  98. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +27 -0
  99. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +21 -0
  100. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
  101. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
  102. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
  103. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
  104. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
  105. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
  106. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
  107. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
  108. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
  109. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +14 -3
  110. package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
  111. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  112. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  113. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  114. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
  115. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
  116. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
  117. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
  118. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
  119. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
  120. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
  121. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
  122. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +13 -0
  123. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +13 -0
  124. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
  125. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
  126. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
  127. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
  128. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
  129. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
  130. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
  131. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
  132. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
  133. package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
  134. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  135. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  136. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  137. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
  138. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
  139. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
  140. package/node_modules/@smithy/core/package.json +4 -3
  141. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  142. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
  143. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
  144. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
  145. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  146. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  147. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  148. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  149. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  150. package/node_modules/@smithy/signature-v4/package.json +2 -2
  151. package/package.json +2 -2
  152. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
  153. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -336
  154. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
  155. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
  156. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
  157. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
  158. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
  159. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
  160. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  161. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  162. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  163. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
  164. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  165. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  166. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  167. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  168. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  169. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  170. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
  171. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
  172. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
  173. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
  174. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
  175. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
  176. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
  177. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
  178. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
  179. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  180. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
  181. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
  182. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
  183. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
  184. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
  185. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
  186. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  187. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
  188. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
  189. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
  190. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
  191. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
  192. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
  193. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
  194. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
  195. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  196. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
  197. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
  198. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
  199. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
  200. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
  201. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
  202. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
  203. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
  204. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
  205. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
  206. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
  207. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
  208. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
  209. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
  210. package/node_modules/@nodable/entities/README.md +0 -41
  211. package/node_modules/@nodable/entities/package.json +0 -57
  212. package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
  213. package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
  214. package/node_modules/@nodable/entities/src/entities.js +0 -1159
  215. package/node_modules/@nodable/entities/src/entityTries.js +0 -49
  216. package/node_modules/@nodable/entities/src/index.d.ts +0 -341
  217. package/node_modules/@nodable/entities/src/index.js +0 -29
  218. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
  219. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
  220. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
  221. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
  222. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
  223. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  224. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  225. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  226. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  227. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
  228. package/node_modules/anynum/LICENSE +0 -21
  229. package/node_modules/anynum/README.md +0 -142
  230. package/node_modules/anynum/anynum.js +0 -135
  231. package/node_modules/anynum/digitTable.js +0 -116
  232. package/node_modules/anynum/package.json +0 -42
  233. package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
  234. package/node_modules/fast-xml-builder/LICENSE +0 -21
  235. package/node_modules/fast-xml-builder/README.md +0 -74
  236. package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
  237. package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
  238. package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
  239. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
  240. package/node_modules/fast-xml-builder/package.json +0 -81
  241. package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
  242. package/node_modules/fast-xml-builder/src/fxb.js +0 -599
  243. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
  244. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
  245. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  246. package/node_modules/fast-xml-builder/src/util.js +0 -16
  247. package/node_modules/path-expression-matcher/LICENSE +0 -21
  248. package/node_modules/path-expression-matcher/README.md +0 -872
  249. package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  250. package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -634
  251. package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  252. package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  253. package/node_modules/path-expression-matcher/package.json +0 -78
  254. package/node_modules/path-expression-matcher/src/Expression.js +0 -232
  255. package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -209
  256. package/node_modules/path-expression-matcher/src/Matcher.js +0 -570
  257. package/node_modules/path-expression-matcher/src/index.d.ts +0 -523
  258. package/node_modules/path-expression-matcher/src/index.js +0 -29
  259. package/node_modules/strnum/CHANGELOG.md +0 -51
  260. package/node_modules/strnum/LICENSE +0 -21
  261. package/node_modules/strnum/README.md +0 -113
  262. package/node_modules/strnum/package.json +0 -35
  263. package/node_modules/strnum/strnum.js +0 -171
  264. package/node_modules/xml-naming/README.md +0 -189
  265. package/node_modules/xml-naming/package.json +0 -54
  266. package/node_modules/xml-naming/src/index.d.ts +0 -74
  267. package/node_modules/xml-naming/src/index.js +0 -270
@@ -1,38 +0,0 @@
1
- const defaultOptions = {
2
- maxLength: 200,
3
- // locale: "en-IN"
4
- }
5
- const localeMap = {
6
- "$":"en-US",
7
- "€":"de-DE",
8
- "£":"en-GB",
9
- "¥":"ja-JP",
10
- "₹":"en-IN",
11
- }
12
- const sign = "(?:-|\+)?";
13
- const digitsAndSeparator = "(?:\d+|\d{1,3}(?:,\d{3})+)";
14
- const decimalPart = "(?:\.\d{1,2})?";
15
- const symbol = "(?:\$|€|¥|₹)?";
16
-
17
- const currencyCheckRegex = /^\s*(?:-|\+)?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d{1,2})?\s*(?:\$|€|¥|₹)?\s*$/u;
18
-
19
- export default class CurrencyParser{
20
- constructor(options){
21
- this.options = options || defaultOptions;
22
- }
23
- parse(val){
24
- if (typeof val === 'string' && val.length <= this.options.maxLength) {
25
- if(val.indexOf(",,") !== -1 && val.indexOf(".." !== -1)){
26
- const match = val.match(currencyCheckRegex);
27
- if(match){
28
- const locale = this.options.locale || localeMap[match[2]||match[5]||"₹"];
29
- const formatter = new Intl.NumberFormat(locale)
30
- val = val.replace(/[^0-9,.]/g, '').trim();
31
- val = Number(val.replace(formatter.format(1000)[1], ''));
32
- }
33
- }
34
- }
35
- return val;
36
- }
37
- }
38
- CurrencyParser.defaultOptions = defaultOptions;
@@ -1,13 +0,0 @@
1
- /**
2
- *
3
- * @param {array} val
4
- * @param {string} by
5
- * @returns
6
- */
7
- export default function join(val, by=" "){
8
- if(isArray(val)){
9
- val.join(by)
10
- }
11
- return val;
12
- }
13
-
@@ -1,14 +0,0 @@
1
- import toNumber from "strnum";
2
-
3
-
4
- export default class numParser{
5
- constructor(options){
6
- this.options = options;
7
- }
8
- parse(val){
9
- if (typeof val === 'string') {
10
- val = toNumber(val,this.options);
11
- }
12
- return val;
13
- }
14
- }
@@ -1,6 +0,0 @@
1
- export default class trimmer{
2
- parse(val){
3
- if(typeof val === "string") return val.trim();
4
- else return val;
5
- }
6
- }
@@ -1,425 +0,0 @@
1
- 'use strict';
2
-
3
- import { getAllMatches, isName } from './util.js';
4
-
5
- const defaultOptions = {
6
- allowBooleanAttributes: false, //A tag can have attributes without any value
7
- unpairedTags: []
8
- };
9
-
10
- //const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g");
11
- export function validate(xmlData, options) {
12
- options = Object.assign({}, defaultOptions, options);
13
-
14
- //xmlData = xmlData.replace(/(\r\n|\n|\r)/gm,"");//make it single line
15
- //xmlData = xmlData.replace(/(^\s*<\?xml.*?\?>)/g,"");//Remove XML starting tag
16
- //xmlData = xmlData.replace(/(<!DOCTYPE[\s\w\"\.\/\-\:]+(\[.*\])*\s*>)/g,"");//Remove DOCTYPE
17
- const tags = [];
18
- let tagFound = false;
19
-
20
- //indicates that the root tag has been closed (aka. depth 0 has been reached)
21
- let reachedRoot = false;
22
-
23
- if (xmlData[0] === '\ufeff') {
24
- // check for byte order mark (BOM)
25
- xmlData = xmlData.substr(1);
26
- }
27
-
28
- for (let i = 0; i < xmlData.length; i++) {
29
-
30
- if (xmlData[i] === '<' && xmlData[i + 1] === '?') {
31
- i += 2;
32
- i = readPI(xmlData, i);
33
- if (i.err) return i;
34
- } else if (xmlData[i] === '<') {
35
- //starting of tag
36
- //read until you reach to '>' avoiding any '>' in attribute value
37
- let tagStartPos = i;
38
- i++;
39
-
40
- if (xmlData[i] === '!') {
41
- i = readCommentAndCDATA(xmlData, i);
42
- continue;
43
- } else {
44
- let closingTag = false;
45
- if (xmlData[i] === '/') {
46
- //closing tag
47
- closingTag = true;
48
- i++;
49
- }
50
- //read tagname
51
- let tagName = '';
52
- for (; i < xmlData.length &&
53
- xmlData[i] !== '>' &&
54
- xmlData[i] !== ' ' &&
55
- xmlData[i] !== '\t' &&
56
- xmlData[i] !== '\n' &&
57
- xmlData[i] !== '\r'; i++
58
- ) {
59
- tagName += xmlData[i];
60
- }
61
- tagName = tagName.trim();
62
- //console.log(tagName);
63
-
64
- if (tagName[tagName.length - 1] === '/') {
65
- //self closing tag without attributes
66
- tagName = tagName.substring(0, tagName.length - 1);
67
- //continue;
68
- i--;
69
- }
70
- if (!validateTagName(tagName)) {
71
- let msg;
72
- if (tagName.trim().length === 0) {
73
- msg = "Invalid space after '<'.";
74
- } else {
75
- msg = "Tag '" + tagName + "' is an invalid name.";
76
- }
77
- return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));
78
- }
79
-
80
- const result = readAttributeStr(xmlData, i);
81
- if (result === false) {
82
- return getErrorObject('InvalidAttr', "Attributes for '" + tagName + "' have open quote.", getLineNumberForPosition(xmlData, i));
83
- }
84
- let attrStr = result.value;
85
- i = result.index;
86
-
87
- if (attrStr[attrStr.length - 1] === '/') {
88
- //self closing tag
89
- const attrStrStart = i - attrStr.length;
90
- attrStr = attrStr.substring(0, attrStr.length - 1);
91
- const isValid = validateAttributeString(attrStr, options);
92
- if (isValid === true) {
93
- tagFound = true;
94
- //continue; //text may presents after self closing tag
95
- } else {
96
- //the result from the nested function returns the position of the error within the attribute
97
- //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
98
- //this gives us the absolute index in the entire xml, which we can use to find the line at last
99
- return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));
100
- }
101
- } else if (closingTag) {
102
- if (!result.tagClosed) {
103
- return getErrorObject('InvalidTag', "Closing tag '" + tagName + "' doesn't have proper closing.", getLineNumberForPosition(xmlData, i));
104
- } else if (attrStr.trim().length > 0) {
105
- return getErrorObject('InvalidTag', "Closing tag '" + tagName + "' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos));
106
- } else if (tags.length === 0) {
107
- return getErrorObject('InvalidTag', "Closing tag '" + tagName + "' has not been opened.", getLineNumberForPosition(xmlData, tagStartPos));
108
- } else {
109
- const otg = tags.pop();
110
- if (tagName !== otg.tagName) {
111
- let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);
112
- return getErrorObject('InvalidTag',
113
- "Expected closing tag '" + otg.tagName + "' (opened in line " + openPos.line + ", col " + openPos.col + ") instead of closing tag '" + tagName + "'.",
114
- getLineNumberForPosition(xmlData, tagStartPos));
115
- }
116
-
117
- //when there are no more tags, we reached the root level.
118
- if (tags.length == 0) {
119
- reachedRoot = true;
120
- }
121
- }
122
- } else {
123
- const isValid = validateAttributeString(attrStr, options);
124
- if (isValid !== true) {
125
- //the result from the nested function returns the position of the error within the attribute
126
- //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
127
- //this gives us the absolute index in the entire xml, which we can use to find the line at last
128
- return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));
129
- }
130
-
131
- //if the root level has been reached before ...
132
- if (reachedRoot === true) {
133
- return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));
134
- } else if (options.unpairedTags.indexOf(tagName) !== -1) {
135
- //don't push into stack
136
- } else {
137
- tags.push({ tagName, tagStartPos });
138
- }
139
- tagFound = true;
140
- }
141
-
142
- //skip tag text value
143
- //It may include comments and CDATA value
144
- for (i++; i < xmlData.length; i++) {
145
- if (xmlData[i] === '<') {
146
- if (xmlData[i + 1] === '!') {
147
- //comment or CADATA
148
- i++;
149
- i = readCommentAndCDATA(xmlData, i);
150
- continue;
151
- } else if (xmlData[i + 1] === '?') {
152
- i = readPI(xmlData, ++i);
153
- if (i.err) return i;
154
- } else {
155
- break;
156
- }
157
- } else if (xmlData[i] === '&') {
158
- const afterAmp = validateAmpersand(xmlData, i);
159
- if (afterAmp == -1)
160
- return getErrorObject('InvalidChar', "char '&' is not expected.", getLineNumberForPosition(xmlData, i));
161
- i = afterAmp;
162
- } else {
163
- if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {
164
- return getErrorObject('InvalidXml', "Extra text at the end", getLineNumberForPosition(xmlData, i));
165
- }
166
- }
167
- } //end of reading tag text value
168
- if (xmlData[i] === '<') {
169
- i--;
170
- }
171
- }
172
- } else {
173
- if (isWhiteSpace(xmlData[i])) {
174
- continue;
175
- }
176
- return getErrorObject('InvalidChar', "char '" + xmlData[i] + "' is not expected.", getLineNumberForPosition(xmlData, i));
177
- }
178
- }
179
-
180
- if (!tagFound) {
181
- return getErrorObject('InvalidXml', 'Start tag expected.', 1);
182
- } else if (tags.length == 1) {
183
- return getErrorObject('InvalidTag', "Unclosed tag '" + tags[0].tagName + "'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos));
184
- } else if (tags.length > 0) {
185
- return getErrorObject('InvalidXml', "Invalid '" +
186
- JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\r?\n/g, '') +
187
- "' found.", { line: 1, col: 1 });
188
- }
189
-
190
- return true;
191
- };
192
-
193
- function isWhiteSpace(char) {
194
- return char === ' ' || char === '\t' || char === '\n' || char === '\r';
195
- }
196
- /**
197
- * Read Processing insstructions and skip
198
- * @param {*} xmlData
199
- * @param {*} i
200
- */
201
- function readPI(xmlData, i) {
202
- const start = i;
203
- for (; i < xmlData.length; i++) {
204
- if (xmlData[i] == '?' || xmlData[i] == ' ') {
205
- //tagname
206
- const tagname = xmlData.substr(start, i - start);
207
- if (i > 5 && tagname === 'xml') {
208
- return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));
209
- } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {
210
- //check if valid attribut string
211
- i++;
212
- break;
213
- } else {
214
- continue;
215
- }
216
- }
217
- }
218
- return i;
219
- }
220
-
221
- function readCommentAndCDATA(xmlData, i) {
222
- if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {
223
- //comment
224
- for (i += 3; i < xmlData.length; i++) {
225
- if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {
226
- i += 2;
227
- break;
228
- }
229
- }
230
- } else if (
231
- xmlData.length > i + 8 &&
232
- xmlData[i + 1] === 'D' &&
233
- xmlData[i + 2] === 'O' &&
234
- xmlData[i + 3] === 'C' &&
235
- xmlData[i + 4] === 'T' &&
236
- xmlData[i + 5] === 'Y' &&
237
- xmlData[i + 6] === 'P' &&
238
- xmlData[i + 7] === 'E'
239
- ) {
240
- let angleBracketsCount = 1;
241
- for (i += 8; i < xmlData.length; i++) {
242
- if (xmlData[i] === '<') {
243
- angleBracketsCount++;
244
- } else if (xmlData[i] === '>') {
245
- angleBracketsCount--;
246
- if (angleBracketsCount === 0) {
247
- break;
248
- }
249
- }
250
- }
251
- } else if (
252
- xmlData.length > i + 9 &&
253
- xmlData[i + 1] === '[' &&
254
- xmlData[i + 2] === 'C' &&
255
- xmlData[i + 3] === 'D' &&
256
- xmlData[i + 4] === 'A' &&
257
- xmlData[i + 5] === 'T' &&
258
- xmlData[i + 6] === 'A' &&
259
- xmlData[i + 7] === '['
260
- ) {
261
- for (i += 8; i < xmlData.length; i++) {
262
- if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {
263
- i += 2;
264
- break;
265
- }
266
- }
267
- }
268
-
269
- return i;
270
- }
271
-
272
- const doubleQuote = '"';
273
- const singleQuote = "'";
274
-
275
- /**
276
- * Keep reading xmlData until '<' is found outside the attribute value.
277
- * @param {string} xmlData
278
- * @param {number} i
279
- */
280
- function readAttributeStr(xmlData, i) {
281
- let attrStr = '';
282
- let startChar = '';
283
- let tagClosed = false;
284
- for (; i < xmlData.length; i++) {
285
- if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {
286
- if (startChar === '') {
287
- startChar = xmlData[i];
288
- } else if (startChar !== xmlData[i]) {
289
- //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa
290
- } else {
291
- startChar = '';
292
- }
293
- } else if (xmlData[i] === '>') {
294
- if (startChar === '') {
295
- tagClosed = true;
296
- break;
297
- }
298
- }
299
- attrStr += xmlData[i];
300
- }
301
- if (startChar !== '') {
302
- return false;
303
- }
304
-
305
- return {
306
- value: attrStr,
307
- index: i,
308
- tagClosed: tagClosed
309
- };
310
- }
311
-
312
- /**
313
- * Select all the attributes whether valid or invalid.
314
- */
315
- const validAttrStrRegxp = new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?', 'g');
316
-
317
- //attr, ="sd", a="amit's", a="sd"b="saf", ab cd=""
318
-
319
- function validateAttributeString(attrStr, options) {
320
- //console.log("start:"+attrStr+":end");
321
-
322
- //if(attrStr.trim().length === 0) return true; //empty string
323
-
324
- const matches = getAllMatches(attrStr, validAttrStrRegxp);
325
- const attrNames = {};
326
-
327
- for (let i = 0; i < matches.length; i++) {
328
- if (matches[i][1].length === 0) {
329
- //nospace before attribute name: a="sd"b="saf"
330
- return getErrorObject('InvalidAttr', "Attribute '" + matches[i][2] + "' has no space in starting.", getPositionFromMatch(matches[i]))
331
- } else if (matches[i][3] !== undefined && matches[i][4] === undefined) {
332
- return getErrorObject('InvalidAttr', "Attribute '" + matches[i][2] + "' is without value.", getPositionFromMatch(matches[i]));
333
- } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {
334
- //independent attribute: ab
335
- return getErrorObject('InvalidAttr', "boolean attribute '" + matches[i][2] + "' is not allowed.", getPositionFromMatch(matches[i]));
336
- }
337
- /* else if(matches[i][6] === undefined){//attribute without value: ab=
338
- return { err: { code:"InvalidAttr",msg:"attribute " + matches[i][2] + " has no value assigned."}};
339
- } */
340
- const attrName = matches[i][2];
341
- if (!validateAttrName(attrName)) {
342
- return getErrorObject('InvalidAttr', "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i]));
343
- }
344
- if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) {
345
- //check for duplicate attribute.
346
- attrNames[attrName] = 1;
347
- } else {
348
- return getErrorObject('InvalidAttr', "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i]));
349
- }
350
- }
351
-
352
- return true;
353
- }
354
-
355
- function validateNumberAmpersand(xmlData, i) {
356
- let re = /\d/;
357
- if (xmlData[i] === 'x') {
358
- i++;
359
- re = /[\da-fA-F]/;
360
- }
361
- for (; i < xmlData.length; i++) {
362
- if (xmlData[i] === ';')
363
- return i;
364
- if (!xmlData[i].match(re))
365
- break;
366
- }
367
- return -1;
368
- }
369
-
370
- function validateAmpersand(xmlData, i) {
371
- // https://www.w3.org/TR/xml/#dt-charref
372
- i++;
373
- if (xmlData[i] === ';')
374
- return -1;
375
- if (xmlData[i] === '#') {
376
- i++;
377
- return validateNumberAmpersand(xmlData, i);
378
- }
379
- let count = 0;
380
- for (; i < xmlData.length; i++, count++) {
381
- if (xmlData[i].match(/\w/) && count < 20)
382
- continue;
383
- if (xmlData[i] === ';')
384
- break;
385
- return -1;
386
- }
387
- return i;
388
- }
389
-
390
- function getErrorObject(code, message, lineNumber) {
391
- return {
392
- err: {
393
- code: code,
394
- msg: message,
395
- line: lineNumber.line || lineNumber,
396
- col: lineNumber.col,
397
- },
398
- };
399
- }
400
-
401
- function validateAttrName(attrName) {
402
- return isName(attrName);
403
- }
404
-
405
- // const startsWithXML = /^xml/i;
406
-
407
- function validateTagName(tagname) {
408
- return isName(tagname) /* && !tagname.match(startsWithXML) */;
409
- }
410
-
411
- //this function returns the line number for the character at the given index
412
- function getLineNumberForPosition(xmlData, index) {
413
- const lines = xmlData.substring(0, index).split(/\r?\n/);
414
- return {
415
- line: lines.length,
416
-
417
- // column number is last line's length + 1, because column numbering starts at 1:
418
- col: lines[lines.length - 1].length + 1
419
- };
420
- }
421
-
422
- //this function returns the position of the first character of match within attrStr
423
- function getPositionFromMatch(match) {
424
- return match.startIndex + match[1].length;
425
- }
@@ -1,6 +0,0 @@
1
- // Re-export from fast-xml-builder for backward compatibility
2
- import XMLBuilder from 'fast-xml-builder';
3
- export default XMLBuilder;
4
-
5
- // If there are any named exports you also want to re-export:
6
- export * from 'fast-xml-builder';