@cdk8s/awscdk-resolver 0.0.135 → 0.0.136

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 (170) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +9 -15
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +9 -15
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -4
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -2
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -2
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -8
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  14. package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
  15. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -15
  16. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
  17. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
  18. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
  20. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
  21. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
  22. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
  23. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  24. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  25. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  26. package/node_modules/@aws-sdk/client-sso/package.json +15 -15
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +9 -15
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  38. package/node_modules/@aws-sdk/client-sso-oidc/package.json +17 -17
  39. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
  40. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +17 -4
  41. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
  42. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -4
  43. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
  44. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  45. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
  46. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
  47. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  48. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
  49. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  50. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  51. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  52. package/node_modules/@aws-sdk/client-sts/package.json +17 -17
  53. package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
  54. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
  55. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
  56. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
  57. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
  58. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
  59. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
  60. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
  61. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
  62. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
  63. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
  64. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
  65. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
  66. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
  67. package/node_modules/@aws-sdk/core/package.json +18 -8
  68. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +6 -1
  69. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +3 -0
  70. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
  71. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
  72. package/node_modules/@aws-sdk/credential-provider-env/package.json +1 -1
  73. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  74. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -2
  75. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +4 -2
  76. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
  77. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
  78. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  79. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +30 -6
  80. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +29 -9
  81. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  82. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +9 -3
  83. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
  84. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -1
  85. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
  86. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  87. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
  88. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
  89. package/node_modules/@aws-sdk/credential-provider-process/package.json +1 -1
  90. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +11 -2
  91. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -2
  92. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  93. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  94. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  95. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  96. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  97. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  98. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
  99. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
  100. package/node_modules/@smithy/core/package.json +5 -5
  101. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +2 -1
  102. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
  103. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
  104. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
  105. package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
  106. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
  107. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -1
  108. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  109. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  110. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -0
  111. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
  112. package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
  113. package/node_modules/@smithy/middleware-retry/package.json +4 -4
  114. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  115. package/node_modules/@smithy/protocol-http/package.json +1 -1
  116. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
  117. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
  118. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
  119. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  120. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
  121. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
  122. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  123. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
  124. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
  125. package/node_modules/@smithy/signature-v4/package.json +2 -2
  126. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  127. package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
  128. package/node_modules/@smithy/smithy-client/package.json +4 -4
  129. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  130. package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
  131. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +9 -1
  132. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +9 -1
  133. package/node_modules/@smithy/util-stream/package.json +4 -4
  134. package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
  135. package/node_modules/fast-xml-parser/README.md +83 -51
  136. package/node_modules/fast-xml-parser/package.json +8 -5
  137. package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
  138. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  139. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  140. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  141. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  142. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  143. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  144. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  145. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
  146. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  147. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  148. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  149. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  150. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  151. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  152. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  153. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  154. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  155. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  156. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  157. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  158. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
  159. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  160. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  161. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  162. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  163. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
  164. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
  165. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
  166. package/package.json +8 -8
  167. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
  168. package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
  169. package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
  170. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/cloneRequest.d.ts +0 -6
@@ -1,30 +1,43 @@
1
1
  # [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser)
2
- [![Backers on Open Collective](https://opencollective.com/fast-xml-parser/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/fast-xml-parser/sponsors/badge.svg)](#sponsors) [![Known Vulnerabilities](https://snyk.io/test/github/naturalintelligence/fast-xml-parser/badge.svg)](https://snyk.io/test/github/naturalintelligence/fast-xml-parser)
3
2
  [![NPM quality][quality-image]][quality-url]
4
3
  [![Coverage Status](https://coveralls.io/repos/github/NaturalIntelligence/fast-xml-parser/badge.svg?branch=master)](https://coveralls.io/github/NaturalIntelligence/fast-xml-parser?branch=master)
5
4
  [<img src="https://img.shields.io/badge/Try-me-blue.svg?colorA=FFA500&colorB=0000FF" alt="Try me"/>](https://naturalintelligence.github.io/fast-xml-parser/)
6
5
  [![NPM total downloads](https://img.shields.io/npm/dt/fast-xml-parser.svg)](https://npm.im/fast-xml-parser)
7
6
 
8
- [quality-image]: http://npm.packagequality.com/shield/fast-xml-parser.svg?style=flat-square
9
- [quality-url]: http://packagequality.com/#?package=fast-xml-parser
10
-
11
7
 
12
8
  Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++ based libraries and no callback.
13
9
 
14
- > Looking for maintainers
10
+ ---
11
+
12
+ <a href="https://www.amazon.in/Power-Glasses-world-imagination-Perspective-ebook/dp/B0CW1CJGNK/"><img align="left" src="https://github.com/NaturalIntelligence/fast-xml-parser/assets/7692328/e7a42bcc-5186-45e3-bfee-de8d8b9a69d4" alt="ads-thePowerGlassesBook"/></a>
13
+ I had recently published a book, The Power Glasses. Please have a look. Your feedback would be helpful. You can [mail](githubissues@proton.me) me for a free copy.
14
+ <br>
15
15
 
16
- Support this project by becoming a **Sponsor**.
16
+ Sponsor this project
17
17
 
18
- Click on Sponsor button above or
18
+ <a href="https://github.com/sponsors/NaturalIntelligence">
19
+ <img src="https://raw.githubusercontent.com/NaturalIntelligence/ThankYouBackers/main/github_sponsor.png" width="180" />
20
+ </a>
19
21
  <a href="https://opencollective.com/fast-xml-parser/donate" target="_blank">
20
- <img src="https://opencollective.com/fast-xml-parser/donate/button@2x.png?color=blue" width=200 />
22
+ <img src="https://opencollective.com/fast-xml-parser/donate/button@2x.png?color=blue" width=180 />
21
23
  </a>
22
- <a href="https://paypal.me/naturalintelligence"> <img src="static/img/support_paypal.svg" alt="Stubmatic donate button" width="200"/></a>
24
+ <a href="https://paypal.me/naturalintelligence"> <img src="static/img/support_paypal.svg" alt="Stubmatic donate button" width="180"/></a>
25
+ <br>
26
+ <br>
27
+ <br>
28
+
29
+ <!--
30
+ ### Current Sponsors
23
31
 
32
+ Check the complete list at [ThankYouBackers](https://github.com/NaturalIntelligence/ThankYouBackers) for our sponsors and supporters.
24
33
 
25
- ### Sponsors
34
+ Through Github
35
+
36
+ <a href="https://github.com/skunkteam" target="_blank"><img src="https://avatars.githubusercontent.com/u/46373671?s=60" width="60px"></a>
37
+ <a href="https://github.com/getsentry" target="_blank"><img src="https://avatars.githubusercontent.com/u/1396951?s=60" width="60px"></a>
38
+
39
+ Through OpenCollective
26
40
 
27
- <a href="https://github.com/getsentry" target="_blank"><img src="https://user-images.githubusercontent.com/7692328/204701653-ce369b29-6fdb-48f2-9848-593d04628a2b.png" width="60px"></a>
28
41
  <a href="https://opencollective.com/fast-xml-parser/sponsor/0/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/0/avatar.svg"></a>
29
42
  <a href="https://opencollective.com/fast-xml-parser/sponsor/1/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/1/avatar.svg"></a>
30
43
  <a href="https://opencollective.com/fast-xml-parser/sponsor/2/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/2/avatar.svg"></a>
@@ -35,9 +48,9 @@ Click on Sponsor button above or
35
48
  <a href="https://opencollective.com/fast-xml-parser/sponsor/7/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/7/avatar.svg"></a>
36
49
  <a href="https://opencollective.com/fast-xml-parser/sponsor/8/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/8/avatar.svg"></a>
37
50
  <a href="https://opencollective.com/fast-xml-parser/sponsor/9/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/9/avatar.svg"></a>
51
+ -->
38
52
 
39
-
40
- Check [ThankYouBackers](https://github.com/NaturalIntelligence/ThankYouBackers) for our supporters
53
+ ![fxp_sponsors](https://github.com/NaturalIntelligence/fast-xml-parser/assets/7692328/c9367497-d67e-410a-90a6-66e3808be929)
41
54
 
42
55
  ## Users
43
56
 
@@ -55,10 +68,15 @@ Check [ThankYouBackers](https://github.com/NaturalIntelligence/ThankYouBackers)
55
68
  <a href="https://github.com/SAP" title="SAP" > <img src="https://user-images.githubusercontent.com/7692328/204835214-d9d25b58-e3df-408d-87a3-c7d36b578ee4.png" width="60px" ></a>
56
69
  <a href="https://github.com/postmanlabs" title="postman" > <img src="https://user-images.githubusercontent.com/7692328/204835529-e9e290ad-696a-49ad-9d34-08e955704715.png" width="60px" ></a>
57
70
  <a href="https://github.com/react-native-community" title="React Native Community" > <img src="https://avatars.githubusercontent.com/u/20269980?v=4" width="60px" ></a>
71
+ <a href="https://github.com/googleapis" title="Google APIs" > <img src="https://avatars.githubusercontent.com/u/16785467?v=4" width="60px" ></a>
72
+ <a href="https://github.com/langchain-ai" title="Langchain AI" > <img src="https://avatars.githubusercontent.com/u/126733545?v=4" width="60px" ></a>
73
+ <a href="https://github.com/withastro" title="Astro websie builder" > <img src="https://avatars.githubusercontent.com/u/44914786?v=4" width="60px" ></a>
74
+ <a href="https://github.com/baidu" title="Baidu" > <img src="https://avatars.githubusercontent.com/u/13245940?v=4" width="60px" ></a>
75
+ [more](./USERs.md)
58
76
 
59
- Check the list of all known users [here](./USERs.md);
77
+ <small>The list of users are mostly published by Github or communicated directly. Feel free to contact if you find any information wrong.</small>
60
78
 
61
- <small>The list of users is collected either from the list published by Github, cummunicated directly through mails/chat , or from other resources. If you feel that your name in the above list is incorrectly published or you're not the user of this library anymore then you can inform us to remove it. We'll do the necessary changes ASAP.</small>
79
+ ---
62
80
 
63
81
  ## Main Features
64
82
 
@@ -67,7 +85,7 @@ Check the list of all known users [here](./USERs.md);
67
85
  * Validate XML data syntactically
68
86
  * Parse XML to JS Object
69
87
  * Build XML from JS Object
70
- * Works with node packages, in browser, and in CLI (press try me button above for demo)
88
+ * Compatible to node js packages, in browser, and in CLI (click try me button above for demo)
71
89
  * Faster than any other pure JS implementation.
72
90
  * It can handle big files (tested up to 100mb).
73
91
  * Controlled parsing using various options
@@ -80,6 +98,11 @@ Check the list of all known users [here](./USERs.md);
80
98
  * Supports parsing of PI (Processing Instruction) tags with XML declaration tags
81
99
  * And many more other features.
82
100
 
101
+ ## v5
102
+ I developed v5 in Apr 2023. And I didn't get the chance to complete all the features. I've ensured that new features don't impact performance. With v5, you have more control on parsing output. Check [docs](./docs/v5) for syntax help and basic understanding.
103
+
104
+ Please leave a comment in discussion forum for your suggestions and if you really need v5.
105
+
83
106
  ## How to use
84
107
 
85
108
  To use as package dependency
@@ -120,62 +143,71 @@ In a HTML page
120
143
  </script>
121
144
  ```
122
145
 
123
- Check lib folder for different browser bundles
146
+ Bundle size
124
147
 
125
148
  | Bundle Name | Size |
126
149
  | ------------------ | ---- |
127
- | fxbuilder.min.js | 5.2K |
128
- | fxparser.js | 50K |
129
- | fxparser.min.js | 17K |
130
- | fxp.min.js | 22K |
150
+ | fxbuilder.min.js | 6.5K |
151
+ | fxparser.min.js | 20K |
152
+ | fxp.min.js | 26K |
131
153
  | fxvalidator.min.js | 5.7K |
132
154
 
133
155
  ### Documents
134
- **v3**
135
- * [documents](./docs/v3/docs.md)
136
-
137
- **v4**
138
- 1. [GettingStarted.md](./docs/v4/1.GettingStarted.md)
139
- 2. [XML Parser](./docs/v4/2.XMLparseOptions.md)
140
- 3. [XML Builder](./docs/v4/3.XMLBuilder.md)
141
- 4. [XML Validator](./docs/v4/4.XMLValidator.md)
142
- 5. [Entities](./docs/v4/5.Entities.md)
143
- 6. [HTML Document Parsing](./docs/v4/6.HTMLParsing.md)
144
- 7. [PI Tag processing](./docs/v4/7.PITags.md)
156
+ <table>
157
+ <tr><td>v3</td><td>v4</td><td>v5</td></tr>
158
+ <tr>
159
+ <td>
160
+ <a href="./docs/v3/docs.md">documents</a>
161
+ </td>
162
+ <td><ol>
163
+ <li><a href="./docs/v4/1.GettingStarted.md">Getting Started</a></li>
164
+ <li><a href="./docs/v4/2.XMLparseOptions.md">XML Parser</a></li>
165
+ <li><a href="./docs/v4/3.XMLBuilder.md">XML Builder</a></li>
166
+ <li><a href="./docs/v4/4.XMLValidator.md">XML Validator</a></li>
167
+ <li><a href="./docs/v4/5.Entities.md">Entities</a></li>
168
+ <li><a href="./docs/v4/6.HTMLParsing.md">HTML Document Parsing</a></li>
169
+ <li><a href="./docs/v4/7.PITags.md">PI Tag processing</a></li>
170
+ </ol></td>
171
+ <td><ol>
172
+ <li></li><a href="./docs/v5/1.GettingStarted.md">Getting Started</a></li>
173
+ <li><a href="./docs/v5/2.Features.md">Features</a></li>
174
+ <li><a href="./docs/v5/3.Options.md">Options</a></li>
175
+ <li><a href="./docs/v5/4.OutputBuilders.md">Output Builders</a></li>
176
+ <li><a href="./docs/v5/5.ValueParsers.md">Value Parsers</a></li>
177
+ </ol></td>
178
+ </tr>
179
+ </table>
180
+
181
+ **note**: version 5 is released with version 4 tfor experimental use. Based on it's demand, it'll be developed and the features can be different in final release.
182
+
145
183
  ## Performance
184
+ <small>negative means error</small>
146
185
 
147
186
  ### XML Parser
148
187
 
149
- ![](./docs/imgs/XMLParser_v4.png)
188
+ <img align="left" src="./docs/imgs/XMLParser_v4.png" width="45%" />
189
+ <img src="./docs/imgs/XMLParser_large_v4.png" width="47%" />
190
+
150
191
  * Y-axis: requests per second
151
192
  * X-axis: File size
152
193
 
153
- **Large files**
154
- ![](./docs/imgs/XMLParser_large_v4.png)
155
- * Y-axis: requests per second
156
- * X-axis: File size
157
194
  ### XML Builder
158
195
 
159
- ![](./docs/imgs/XMLBuilder_v4.png)
196
+ <img src="./docs/imgs/XMLBuilder_v4.png" width="50%" />
160
197
  * Y-axis: requests per second
161
198
 
162
- <small>negative means error</small>
163
199
 
164
- [![](static/img/ni_ads_ads.gif)](https://github.com/NaturalIntelligence/ads/)
165
200
 
166
- ## Our other projects and research you must try
201
+ <!-- [![](static/img/ni_ads_ads.gif)](https://github.com/NaturalIntelligence/ads/) -->
167
202
 
168
- * **[BigBit standard](https://github.com/amitguptagwl/bigbit)** :
169
- * Single text encoding to replace UTF-8, UTF-16, UTF-32 and more with less memory.
170
- * Single Numeric datatype alternative of integer, float, double, long, decimal and more without precision loss.
171
- * **[Cytorus](https://github.com/NaturalIntelligence/cytorus)**: Be specific and flexible while running E2E tests.
172
- * Run tests only for a particular User Story
173
- * Run tests for a route or from a route
174
- * Customizable reporting
175
- * Central dashboard for better monitoring
176
- * Options to integrate E2E tests with Jira, Github etc using Central dashboard `Tian`.
177
- * **[Stubmatic](https://github.com/NaturalIntelligence/Stubmatic)** : Create fake webservices, DynamoDB or S3 servers, Manage fake/mock stub data, Or fake any HTTP(s) call.
178
203
 
204
+ ## Usage Trend
205
+
206
+ [Usage Trend of fast-xml-parser](https://npm-compare.com/fast-xml-parser#timeRange=THREE_YEARS)
207
+
208
+ <a href="https://npm-compare.com/fast-xml-parser#timeRange=THREE_YEARS" target="_blank">
209
+ <img src="https://npm-compare.com/img/npm-trend/THREE_YEARS/fast-xml-parser.png" width="50%" alt="NPM Usage Trend of fast-xml-parser" />
210
+ </a>
179
211
 
180
212
  ## Supporters
181
213
  ### Contributors
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "fast-xml-parser",
3
- "version": "4.2.5",
3
+ "version": "4.4.1",
4
4
  "description": "Validate XML, Parse XML, Build XML without C/C++ based libraries",
5
5
  "main": "./src/fxp.js",
6
6
  "scripts": {
7
7
  "test": "nyc --reporter=lcov --reporter=text jasmine spec/*spec.js",
8
+ "test-types": "tsc --noEmit spec/typings/typings-test.ts",
8
9
  "unit": "jasmine",
9
10
  "coverage": "nyc report --reporter html --reporter text -t .nyc_output --report-dir .nyc_output/summary",
10
11
  "perf": "node ./benchmark/perfTest3.js",
@@ -39,13 +40,14 @@
39
40
  "json2xml",
40
41
  "html"
41
42
  ],
42
- "author": "Amit Gupta (https://amitkumargupta.work/)",
43
+ "author": "Amit Gupta (https://solothought.com)",
43
44
  "license": "MIT",
44
45
  "devDependencies": {
45
46
  "@babel/core": "^7.13.10",
46
47
  "@babel/plugin-transform-runtime": "^7.13.10",
47
48
  "@babel/preset-env": "^7.13.10",
48
49
  "@babel/register": "^7.13.8",
50
+ "@types/node": "20",
49
51
  "babel-loader": "^8.2.2",
50
52
  "cytorus": "^0.2.9",
51
53
  "eslint": "^8.3.0",
@@ -54,16 +56,17 @@
54
56
  "nyc": "^15.1.0",
55
57
  "prettier": "^1.19.1",
56
58
  "publish-please": "^5.5.2",
59
+ "typescript": "5",
57
60
  "webpack": "^5.64.4",
58
61
  "webpack-cli": "^4.9.1"
59
62
  },
60
63
  "typings": "src/fxp.d.ts",
61
64
  "funding": [{
62
- "type": "paypal",
63
- "url": "https://paypal.me/naturalintelligence"
64
- },{
65
65
  "type": "github",
66
66
  "url": "https://github.com/sponsors/NaturalIntelligence"
67
+ },{
68
+ "type": "paypal",
69
+ "url": "https://paypal.me/naturalintelligence"
67
70
  }],
68
71
  "dependencies": {
69
72
  "strnum": "^1.0.5"