Skip to content

Commit 8a287bf

Browse files
committed
release info
1 parent 50b01dc commit 8a287bf

3 files changed

Lines changed: 27 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Note: Due to some last quick changes on v4, detail of v4.5.3 & v4.5.4 are not updated here. v4.5.4x is the last tag of v4 in github repository. I'm extremely sorry for the confusion
44

5+
**5.8.0*
6+
- integrate xml-naming to validate DOCTYPE entity name and notation name (using qname becaue of backward compatibility)
7+
- This will consider xml-version as well. '1.0' is default
8+
- update strnum to 2.3.0
9+
- You can set octal and binary parsing which is bydeault off
10+
- update fast-xml-builder to 1.2.0
11+
- can sanitize tag names if found invalid
12+
- fix format output
13+
514
**5.7.3 / 2006-05-05**
615
- fix: alwaysCreateTextNode should create text node when attributes are present for self closing node
716
- fix stop node expression when ns prefix is removed (found by [iruizsalinas](https://github.com/iruizsalinas))

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++
1313

1414
It can handle big files (tested up to 100mb). XML Entities, HTML entities, and DOCTYPE entites are supported. Unpaired tags (Eg `<br>` in HTML), stop nodes (Eg `<script>` in HTML) are supported. It can also preserve Order of tags in JS object
1515

16+
> [Flexible-XML-Parser](https://github.com/nodable/flexible-xml-parser) is 2 times faster than this library and allows to deal with incomplete XML/HTML. Output is highly customizable. Build whatever you want. So if you're fine with some extra configuration then try it out.
17+
1618
---
1719
# Your Support, Our Motivation
1820

yarn.lock

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,11 @@
955955
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz"
956956
integrity sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==
957957

958+
"@byspec/xml@^0.1.0":
959+
version "0.1.0"
960+
resolved "https://registry.npmjs.org/@byspec/xml/-/xml-0.1.0.tgz"
961+
integrity sha512-t/G99Pqg2Z3BEgNnKNVd0URO+QAjOT2HyjEymHU2yQEcc4kGSXc3SZ+lg/f9u6tNnHyLSKlxe4rDs50F7cGV2Q==
962+
958963
"@discoveryjs/json-ext@^0.5.0":
959964
version "0.5.7"
960965
resolved "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz"
@@ -2123,12 +2128,13 @@ fast-uri@^3.0.1:
21232128
resolved "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz"
21242129
integrity sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==
21252130

2126-
fast-xml-builder@^1.1.7:
2127-
version "1.1.7"
2128-
resolved "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.7.tgz"
2129-
integrity sha512-Yh7/7rQuMXICNr0oMYDR2yHP6oUvmQsTToFeOWj/kIDhAwQ+c4Ol/lbcwOmEM5OHYQmh6S6EQSQ1sljCKP36bQ==
2131+
fast-xml-builder@^1.2.0:
2132+
version "1.2.0"
2133+
resolved "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.2.0.tgz"
2134+
integrity sha512-00aAWieqff+ZJhsXA4g1g7M8k+7AYoMUUHF+/zFb5U6Uv/P0Vl4QZo84/IcufzYalLuEj9928bXN9PbbFzMF0Q==
21302135
dependencies:
2131-
path-expression-matcher "^1.1.3"
2136+
path-expression-matcher "^1.5.0"
2137+
xml-naming "^0.1.0"
21322138

21332139
fastest-levenshtein@^1.0.12:
21342140
version "1.0.16"
@@ -3149,7 +3155,7 @@ path-exists@^4.0.0:
31493155
resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz"
31503156
integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
31513157

3152-
path-expression-matcher@^1.1.3, path-expression-matcher@^1.5.0:
3158+
path-expression-matcher@^1.5.0:
31533159
version "1.5.0"
31543160
resolved "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz"
31553161
integrity sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ==
@@ -3702,10 +3708,10 @@ strip-json-comments@^3.1.1:
37023708
resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz"
37033709
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
37043710

3705-
strnum@^2.2.3:
3706-
version "2.2.3"
3707-
resolved "https://registry.npmjs.org/strnum/-/strnum-2.2.3.tgz"
3708-
integrity sha512-oKx6RUCuHfT3oyVjtnrmn19H1SiCqgJSg+54XqURKp5aCMbrXrhLjRN9TjuwMjiYstZ0MzDrHqkGZ5dFTKd+zg==
3711+
strnum@^2.3.0:
3712+
version "2.3.0"
3713+
resolved "https://registry.npmjs.org/strnum/-/strnum-2.3.0.tgz"
3714+
integrity sha512-ums3KNd42PGyx5xaoVTO1mjU1bH3NpY4vsrVlnv9PNGqQj8wd7rJ6nEypLrJ7z5vxK5RP0yMLo6J/Gsm62DI5Q==
37093715

37103716
supports-color@^2.0.0:
37113717
version "2.0.0"

0 commit comments

Comments
 (0)