@cdk8s/awscdk-resolver 0.0.134 → 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.
- package/.jsii +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +9 -15
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +9 -15
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -15
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +15 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +9 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +17 -17
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +17 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +17 -17
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/package.json +18 -8
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +30 -6
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +29 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +9 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +11 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
- package/node_modules/@smithy/core/package.json +5 -5
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +1 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +9 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +9 -1
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
- package/node_modules/fast-xml-parser/README.md +83 -51
- package/node_modules/fast-xml-parser/package.json +8 -5
- package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
- package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
- package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
- package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
- package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
- package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
- package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
- package/node_modules/fast-xml-parser/src/validator.js +2 -0
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
- package/package.json +9 -9
- package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
- package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
- package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
- 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) [](#sponsors) [](https://snyk.io/test/github/naturalintelligence/fast-xml-parser)
|
3
2
|
[![NPM quality][quality-image]][quality-url]
|
4
3
|
[](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
|
[](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
|
-
|
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
|
-
|
16
|
+
Sponsor this project
|
17
17
|
|
18
|
-
|
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=
|
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="
|
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
|
-
|
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
|
+

|
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
|
-
|
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
|
-
|
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
|
-
*
|
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
|
-
|
146
|
+
Bundle size
|
124
147
|
|
125
148
|
| Bundle Name | Size |
|
126
149
|
| ------------------ | ---- |
|
127
|
-
| fxbuilder.min.js |
|
128
|
-
| fxparser.js
|
129
|
-
|
|
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
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
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
|
-
|
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
|
-

|
155
|
-
* Y-axis: requests per second
|
156
|
-
* X-axis: File size
|
157
194
|
### XML Builder
|
158
195
|
|
159
|
-
|
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
|
-
[](https://github.com/NaturalIntelligence/ads/)
|
165
200
|
|
166
|
-
|
201
|
+
<!-- [](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.
|
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://
|
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"
|