@xmldom/xmldom 0.9.8 → 0.9.10
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/CHANGELOG.md +234 -70
- package/index.d.ts +186 -17
- package/lib/dom.js +757 -338
- package/lib/grammar.js +14 -0
- package/package.json +15 -11
- package/readme.md +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,103 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.9.10](https://github.com/xmldom/xmldom/compare/0.9.9...0.9.10)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Security: `XMLSerializer.serializeToString()` (and `Node.toString()`, `NodeList.toString()`) now accept a `requireWellFormed` option. When `{ requireWellFormed: true }` is passed, the serializer throws `InvalidStateError` for injection-prone node content, preventing XML injection via attacker-controlled node data. [`GHSA-j759-j44w-7fr8`](https://github.com/xmldom/xmldom/security/advisories/GHSA-j759-j44w-7fr8) [`GHSA-x6wf-f3px-wcqx`](https://github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx) [`GHSA-f6ww-3ggp-fr8h`](https://github.com/xmldom/xmldom/security/advisories/GHSA-f6ww-3ggp-fr8h)
|
|
12
|
+
- Comment: throws when `data` contains `--` anywhere, ends with `-`, or contains characters outside the XML `Char` production
|
|
13
|
+
- ProcessingInstruction: throws when target contains `:` or matches `xml` (case-insensitive), or `data` contains characters outside the XML `Char` production or contains `?>`
|
|
14
|
+
- DocumentType: throws when `publicId` fails `PubidLiteral`, `systemId` fails `SystemLiteral`, or `internalSubset` contains `]>`
|
|
15
|
+
- Security: DOM traversal operations (`XMLSerializer.serializeToString()`, `Node.prototype.normalize()`, `Node.prototype.cloneNode(true)`, `Document.prototype.importNode(node, true)`, `node.textContent` getter, `getElementsByTagName()` / `getElementsByTagNameNS()` / `getElementsByClassName()` / `getElementById()`, `Node.prototype.isEqualNode()`) are now iterative. Previously, deeply nested DOM trees would exhaust the JavaScript call stack and throw an unrecoverable `RangeError`. [`GHSA-2v35-w6hq-6mfw`](https://github.com/xmldom/xmldom/security/advisories/GHSA-2v35-w6hq-6mfw)
|
|
16
|
+
- `isEqualNode` now correctly returns `false` for CDATASection nodes with different `data`
|
|
17
|
+
|
|
18
|
+
### Deprecated
|
|
19
|
+
|
|
20
|
+
- The `splitCDATASections` serializer option is deprecated and will be removed in the next breaking release. The automatic splitting of `"]]>"` in `CDATASection` data was introduced as a workaround; use `requireWellFormed: true` or ensure `CDATASection` data does not contain `"]]>"` before serialization.
|
|
21
|
+
|
|
22
|
+
### Chore
|
|
23
|
+
|
|
24
|
+
- updated dependencies
|
|
25
|
+
|
|
26
|
+
Thank you,
|
|
27
|
+
[@Jvr2022](https://github.com/Jvr2022),
|
|
28
|
+
[@praveen-kv](https://github.com/praveen-kv),
|
|
29
|
+
[@TharVid](https://github.com/TharVid),
|
|
30
|
+
[@decsecre583](https://github.com/decsecre583),
|
|
31
|
+
[@tlsbollei](https://github.com/tlsbollei),
|
|
32
|
+
[@KarimTantawey](https://github.com/KarimTantawey),
|
|
33
|
+
for your contributions
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [0.8.13](https://github.com/xmldom/xmldom/compare/0.8.12...0.8.13)
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- Security: `XMLSerializer.serializeToString()` (and `Node.toString()`, `NodeList.toString()`) now accept a `requireWellFormed` option (fourth argument, after `isHtml` and `nodeFilter`). When `{ requireWellFormed: true }` is passed, the serializer throws `InvalidStateError` for injection-prone node content, preventing XML injection via attacker-controlled node data. [`GHSA-j759-j44w-7fr8`](https://github.com/xmldom/xmldom/security/advisories/GHSA-j759-j44w-7fr8) [`GHSA-x6wf-f3px-wcqx`](https://github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx) [`GHSA-f6ww-3ggp-fr8h`](https://github.com/xmldom/xmldom/security/advisories/GHSA-f6ww-3ggp-fr8h)
|
|
41
|
+
- Comment: throws when `data` contains `-->`
|
|
42
|
+
- ProcessingInstruction: throws when `data` contains `?>`
|
|
43
|
+
- DocumentType: throws when `publicId` fails `PubidLiteral`, `systemId` fails `SystemLiteral`, or `internalSubset` contains `]>`
|
|
44
|
+
- Security: DOM traversal operations (`XMLSerializer.serializeToString()`, `Node.prototype.normalize()`, `Node.prototype.cloneNode(true)`, `Document.prototype.importNode(node, true)`, `node.textContent` getter, `getElementsByTagName()` / `getElementsByTagNameNS()` / `getElementsByClassName()` / `getElementById()`) are now iterative. Previously, deeply nested DOM trees would exhaust the JavaScript call stack and throw an unrecoverable `RangeError`. [`GHSA-2v35-w6hq-6mfw`](https://github.com/xmldom/xmldom/security/advisories/GHSA-2v35-w6hq-6mfw)
|
|
45
|
+
|
|
46
|
+
Thank you,
|
|
47
|
+
[@Jvr2022](https://github.com/Jvr2022),
|
|
48
|
+
[@praveen-kv](https://github.com/praveen-kv),
|
|
49
|
+
[@TharVid](https://github.com/TharVid),
|
|
50
|
+
[@decsecre583](https://github.com/decsecre583),
|
|
51
|
+
[@tlsbollei](https://github.com/tlsbollei),
|
|
52
|
+
[@KarimTantawey](https://github.com/KarimTantawey),
|
|
53
|
+
for your contributions
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [0.9.9](https://github.com/xmldom/xmldom/compare/0.9.8...0.9.9)
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
|
|
60
|
+
- implement `ParentNode.children` getter [`#960`](https://github.com/xmldom/xmldom/pull/960) / [`#410`](https://github.com/xmldom/xmldom/issues/410)
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- Security: `createCDATASection` now throws `InvalidCharacterError` when `data` contains `"]]>"`, as required by the [WHATWG DOM spec](https://dom.spec.whatwg.org/#dom-document-createcdatasection). [`GHSA-wh4c-j3r5-mjhp`](https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp)
|
|
65
|
+
- Security: `XMLSerializer` now splits CDATASection nodes whose data contains `"]]>"` into adjacent CDATA sections at serialization time, preventing XML injection via mutation methods (`appendData`, `replaceData`, `.data =`, `.textContent =`). [`GHSA-wh4c-j3r5-mjhp`](https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp)
|
|
66
|
+
- correctly traverse ancestor chain in `Node.contains` [`#931`](https://github.com/xmldom/xmldom/pull/931)
|
|
67
|
+
|
|
68
|
+
Code that passes a string containing `"]]>"` to `createCDATASection` and relied on the previously unsafe behavior will now receive `InvalidCharacterError`. Use a mutation method such as `appendData` if you intentionally need `"]]>"` in a CDATASection node's data.
|
|
69
|
+
|
|
70
|
+
### Chore
|
|
71
|
+
|
|
72
|
+
- updated dependencies
|
|
73
|
+
|
|
74
|
+
Thank you,
|
|
75
|
+
[@stevenobiajulu](https://github.com/stevenobiajulu),
|
|
76
|
+
[@yoshi389111](https://github.com/yoshi389111),
|
|
77
|
+
[@thesmartshadow](https://github.com/thesmartshadow),
|
|
78
|
+
for your contributions
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [0.8.12](https://github.com/xmldom/xmldom/compare/0.8.11...0.8.12)
|
|
82
|
+
|
|
83
|
+
### Fixed
|
|
84
|
+
|
|
85
|
+
- preserve trailing whitespace in ProcessingInstruction data [`#962`](https://github.com/xmldom/xmldom/pull/962) / [`#42`](https://github.com/xmldom/xmldom/issues/42)
|
|
86
|
+
- Security: `createCDATASection` now throws `InvalidCharacterError` when `data` contains `"]]>"`, as required by the [WHATWG DOM spec](https://dom.spec.whatwg.org/#dom-document-createcdatasection). [`GHSA-wh4c-j3r5-mjhp`](https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp)
|
|
87
|
+
- Security: `XMLSerializer` now splits CDATASection nodes whose data contains `"]]>"` into adjacent CDATA sections at serialization time, preventing XML injection via mutation methods (`appendData`, `replaceData`, `.data =`, `.textContent =`). [`GHSA-wh4c-j3r5-mjhp`](https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp)
|
|
88
|
+
|
|
89
|
+
Code that passes a string containing `"]]>"` to `createCDATASection` and relied on the previously unsafe behavior will now receive `InvalidCharacterError`. Use a mutation method such as `appendData` if you intentionally need `"]]>"` in a CDATASection node's data.
|
|
90
|
+
|
|
91
|
+
Thank you,
|
|
92
|
+
[@thesmartshadow](https://github.com/thesmartshadow),
|
|
93
|
+
[@stevenobiajulu](https://github.com/stevenobiajulu),
|
|
94
|
+
for your contributions
|
|
95
|
+
|
|
96
|
+
## [0.8.11](https://github.com/xmldom/xmldom/compare/0.8.10...0.8.11)
|
|
97
|
+
|
|
98
|
+
### Fixed
|
|
99
|
+
|
|
100
|
+
- update `ownerDocument` when moving nodes between documents [`#933`](https://github.com/xmldom/xmldom/pull/933) / [`#932`](https://github.com/xmldom/xmldom/issues/932)
|
|
101
|
+
|
|
102
|
+
Thank you, [@shunkica](https://github.com/shunkica), for your contributions
|
|
103
|
+
|
|
7
104
|
## [0.9.8](https://github.com/xmldom/xmldom/compare/0.9.8...0.9.7)
|
|
8
105
|
|
|
9
106
|
### Fixed
|
|
@@ -116,11 +213,6 @@ Thank you,
|
|
|
116
213
|
[@benkroeger](https://github.com/benkroeger),
|
|
117
214
|
for your contributions.
|
|
118
215
|
|
|
119
|
-
# Changelog
|
|
120
|
-
|
|
121
|
-
All notable changes to this project will be documented in this file.
|
|
122
|
-
|
|
123
|
-
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
124
216
|
|
|
125
217
|
## [0.9.2](https://github.com/xmldom/xmldom/compare/0.9.1...0.9.2)
|
|
126
218
|
|
|
@@ -567,27 +659,21 @@ Thank you [@niklasl](https://github.com/niklasl), [@cburatto](https://github.com
|
|
|
567
659
|
|
|
568
660
|
Thank you [@marrus-sh](https://github.com/marrus-sh), [@victorandree](https://github.com/victorandree), [@mdierolf](https://github.com/mdierolf), [@tsabbay](https://github.com/tsabbay), [@fatihpense](https://github.com/fatihpense) for your contributions
|
|
569
661
|
|
|
570
|
-
## 0.7.5
|
|
571
|
-
|
|
572
|
-
[Commits](https://github.com/xmldom/xmldom/compare/0.7.4...0.7.5)
|
|
662
|
+
## [0.7.5](https://github.com/xmldom/xmldom/compare/0.7.4...0.7.5)
|
|
573
663
|
|
|
574
664
|
### Fixes:
|
|
575
665
|
|
|
576
666
|
- Preserve default namespace when serializing [`#319`](https://github.com/xmldom/xmldom/issues/319) / [`#321`](https://github.com/xmldom/xmldom/pull/321)
|
|
577
667
|
Thank you, [@lupestro](https://github.com/lupestro)
|
|
578
668
|
|
|
579
|
-
## 0.7.4
|
|
580
|
-
|
|
581
|
-
[Commits](https://github.com/xmldom/xmldom/compare/0.7.3...0.7.4)
|
|
669
|
+
## [0.7.4](https://github.com/xmldom/xmldom/compare/0.7.3...0.7.4)
|
|
582
670
|
|
|
583
671
|
### Fixes:
|
|
584
672
|
|
|
585
673
|
- Restore ability to parse `__prototype__` attributes [`#315`](https://github.com/xmldom/xmldom/pull/315)
|
|
586
674
|
Thank you, [@dsimpsonOMF](https://github.com/dsimpsonOMF)
|
|
587
675
|
|
|
588
|
-
## 0.7.3
|
|
589
|
-
|
|
590
|
-
[Commits](https://github.com/xmldom/xmldom/compare/0.7.2...0.7.3)
|
|
676
|
+
## [0.7.3](https://github.com/xmldom/xmldom/compare/0.7.2...0.7.3)
|
|
591
677
|
|
|
592
678
|
### Fixes:
|
|
593
679
|
|
|
@@ -611,18 +697,14 @@ Thank you [@marrus-sh](https://github.com/marrus-sh), [@victorandree](https://gi
|
|
|
611
697
|
- Split test and lint scripts [`#297`](https://github.com/xmldom/xmldom/pull/297)
|
|
612
698
|
- Switch to stryker dashboard owned by org [`#292`](https://github.com/xmldom/xmldom/pull/292)
|
|
613
699
|
|
|
614
|
-
## 0.7.2
|
|
615
|
-
|
|
616
|
-
[Commits](https://github.com/xmldom/xmldom/compare/0.7.1...0.7.2)
|
|
700
|
+
## [0.7.2](https://github.com/xmldom/xmldom/compare/0.7.1...0.7.2)
|
|
617
701
|
|
|
618
702
|
### Fixes:
|
|
619
703
|
|
|
620
704
|
- Types: Add index.d.ts to packaged files [`#288`](https://github.com/xmldom/xmldom/pull/288)
|
|
621
705
|
Thank you, [@forty](https://github.com/forty)
|
|
622
706
|
|
|
623
|
-
## 0.7.1
|
|
624
|
-
|
|
625
|
-
[Commits](https://github.com/xmldom/xmldom/compare/0.7.0...0.7.1)
|
|
707
|
+
## [0.7.1](https://github.com/xmldom/xmldom/compare/0.7.0...0.7.1)
|
|
626
708
|
|
|
627
709
|
### Fixes:
|
|
628
710
|
|
|
@@ -632,12 +714,10 @@ Thank you [@marrus-sh](https://github.com/marrus-sh), [@victorandree](https://gi
|
|
|
632
714
|
### Chore:
|
|
633
715
|
- package.json: remove author, maintainers, etc. [`#279`](https://github.com/xmldom/xmldom/pull/279)
|
|
634
716
|
|
|
635
|
-
## 0.7.0
|
|
636
|
-
|
|
637
|
-
[Commits](https://github.com/xmldom/xmldom/compare/0.6.0...0.7.0)
|
|
717
|
+
## [0.7.0](https://github.com/xmldom/xmldom/compare/0.6.0...0.7.0)
|
|
638
718
|
|
|
639
719
|
Due to [`#271`](https://github.com/xmldom/xmldom/issue/271) this version was published as
|
|
640
|
-
- unscoped `xmldom` package to github (git tags [`0.7.0`](https://github.com/xmldom/xmldom/tree/0.7.0) and [`0.7.0+unscoped`](https://github.com/xmldom/xmldom/tree/0.7.0%2Bunscoped))
|
|
720
|
+
- unscoped `xmldom` package to **github** (git tags [`0.7.0`](https://github.com/xmldom/xmldom/tree/0.7.0) and [`0.7.0+unscoped`](https://github.com/xmldom/xmldom/tree/0.7.0%2Bunscoped))
|
|
641
721
|
- scoped `@xmldom/xmldom` package to npm (git tag `0.7.0+scoped`)
|
|
642
722
|
For more details look at [`#278`](https://github.com/xmldom/xmldom/pull/278#issuecomment-902172483)
|
|
643
723
|
|
|
@@ -663,9 +743,9 @@ For more details look at [`#278`](https://github.com/xmldom/xmldom/pull/278#issu
|
|
|
663
743
|
|
|
664
744
|
- Describe relations with and between specs: [`#211`](https://github.com/xmldom/xmldom/pull/211), [`#247`](https://github.com/xmldom/xmldom/pull/247)
|
|
665
745
|
|
|
666
|
-
## 0.6.0
|
|
746
|
+
## [0.6.0](https://github.com/xmldom/xmldom/compare/0.5.0...0.6.0)
|
|
667
747
|
|
|
668
|
-
|
|
748
|
+
Published to npm: 2021-04-17 16:41 UTC by @karfau as `xmldom`
|
|
669
749
|
|
|
670
750
|
### Fixes
|
|
671
751
|
|
|
@@ -674,9 +754,9 @@ For more details look at [`#278`](https://github.com/xmldom/xmldom/pull/278#issu
|
|
|
674
754
|
Thank you, [@pdecat](https://github.com/pdecat) and [@FranckDepoortere](https://github.com/FranckDepoortere)
|
|
675
755
|
- Escape `<` to `<` when serializing attribute values [`#198`](https://github.com/xmldom/xmldom/issues/198) / [`#199`](https://github.com/xmldom/xmldom/pull/199)
|
|
676
756
|
|
|
677
|
-
## 0.5.0
|
|
757
|
+
## [0.5.0](https://github.com/xmldom/xmldom/compare/0.4.0...0.5.0)
|
|
678
758
|
|
|
679
|
-
|
|
759
|
+
Published to npm: 2021-03-09 03:59 UTC by @brodybits as `xmldom`
|
|
680
760
|
|
|
681
761
|
### Fixes
|
|
682
762
|
- Avoid misinterpretation of malicious XML input - [`GHSA-h6q6-9hqw-rwfv`](https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv) (CVE-2021-21366)
|
|
@@ -704,9 +784,9 @@ For more details look at [`#278`](https://github.com/xmldom/xmldom/pull/278#issu
|
|
|
704
784
|
### Docs
|
|
705
785
|
- Update MDN links in `readme.md` [`#188`](https://github.com/xmldom/xmldom/pull/188)
|
|
706
786
|
|
|
707
|
-
## 0.4.0
|
|
787
|
+
## [0.4.0](https://github.com/xmldom/xmldom/compare/0.3.0...0.4.0)
|
|
708
788
|
|
|
709
|
-
|
|
789
|
+
Published to npm: 2020-10-27 00:44 UTC by @brodybits as `xmldom`
|
|
710
790
|
|
|
711
791
|
### Fixes
|
|
712
792
|
- **BREAKING** Restore ` ` behavior from v0.1.27 [`#67`](https://github.com/xmldom/xmldom/pull/67)
|
|
@@ -740,9 +820,9 @@ For more details look at [`#278`](https://github.com/xmldom/xmldom/pull/278#issu
|
|
|
740
820
|
### Other
|
|
741
821
|
- Remove files that are not of any use [`#131`](https://github.com/xmldom/xmldom/pull/131), [`#65`](https://github.com/xmldom/xmldom/pull/65), [`#33`](https://github.com/xmldom/xmldom/pull/33)
|
|
742
822
|
|
|
743
|
-
## 0.3.0
|
|
823
|
+
## [0.3.0](https://github.com/xmldom/xmldom/compare/0.2.1...0.3.0)
|
|
744
824
|
|
|
745
|
-
|
|
825
|
+
Published to npm: 2020-03-04 16:32 UTC by @kethinov as `xmldom`
|
|
746
826
|
|
|
747
827
|
- **BREAKING** Node >=10.x is now required.
|
|
748
828
|
- **BREAKING** Remove `component.json` (deprecated package manager https://github.com/componentjs/guide)
|
|
@@ -754,26 +834,34 @@ For more details look at [`#278`](https://github.com/xmldom/xmldom/pull/278#issu
|
|
|
754
834
|
- Move CHANGELOG to markdown file.
|
|
755
835
|
- Move LICENSE to markdown file.
|
|
756
836
|
|
|
757
|
-
## 0.2.1
|
|
837
|
+
## [0.2.1](https://github.com/xmldom/xmldom/compare/0.2.0...0.2.1)
|
|
758
838
|
|
|
759
|
-
|
|
839
|
+
Published to npm: 2019-12-20 00:40 UTC by @brodybits as `xmldom`
|
|
760
840
|
|
|
761
841
|
- Correct `homepage`, `repository` and `bugs` URLs in `package.json`.
|
|
762
842
|
|
|
763
|
-
## 0.2.0
|
|
843
|
+
## [0.2.0](https://github.com/xmldom/xmldom/compare/v0.1.27...0.2.0)
|
|
764
844
|
|
|
765
|
-
|
|
845
|
+
Published to npm: 2019-12-20 00:19 UTC by @brodybits as `xmldom`
|
|
766
846
|
|
|
767
847
|
- Includes all **BREAKING** changes introduced in [`xmldom-alpha@v0.1.28`](#0128) by the original authors.
|
|
768
848
|
- **POSSIBLY BREAKING** [remove the `Object.create` check from the `_extends` method of `dom.js` that added a `__proto__` property](https://github.com/xmldom/xmldom/commit/0be2ae910a8a22c9ec2cac042e04de4c04317d2a#diff-7d1c5d97786fdf9af5446a241d0b6d56L19-L22) ().
|
|
769
849
|
- **POSSIBLY BREAKING** [remove code that added a `__proto__` property](https://github.com/xmldom/xmldom/commit/366159a76a181ce9a0d83f5dc48205686cfaf9cc)
|
|
770
850
|
- formatting/corrections in `package.json`
|
|
771
851
|
|
|
772
|
-
## 0.1.31
|
|
852
|
+
## [0.1.31](https://github.com/xmldom/xmldom/compare/0.1.30...0.1.31)
|
|
853
|
+
|
|
854
|
+
Published to npm: 2019-12-19 22:34 UTC by @brodybits as `xmldom`
|
|
855
|
+
|
|
856
|
+
## [0.1.30](https://github.com/xmldom/xmldom/compare/0.1.29...0.1.30)
|
|
773
857
|
|
|
774
|
-
|
|
858
|
+
Published to npm: 2019-12-19 22:30 UTC by @brodybits as `xmldom`
|
|
775
859
|
|
|
776
|
-
|
|
860
|
+
## [0.1.29](https://github.com/xmldom/xmldom/compare/0.1.27...0.1.29)
|
|
861
|
+
|
|
862
|
+
Published to npm: 2019-12-19 22:26 UTC by @brodybits as `xmldom`
|
|
863
|
+
|
|
864
|
+
The patch versions (`0.1.29` - `0.1.31`) that have been released on the [v0.1.x branch](https://github.com/xmldom/xmldom/tree/0.1.x), to reflect the changed maintainers, **are branched off from [`0.1.27`](#0127) so they don't include the breaking changes introduced in [`xmldom-alpha@v0.1.28`](#0128)**:
|
|
777
865
|
|
|
778
866
|
## Maintainer changes
|
|
779
867
|
|
|
@@ -788,12 +876,9 @@ It is currently not planned to continue publishing the `xmldom-alpha` package.
|
|
|
788
876
|
The new maintainers did not invest time to understand changes that led to the last `xmldom` version [`0.1.27`](#0127) published by the original maintainer, but consider it the basis for their work.
|
|
789
877
|
A timeline of all the changes that happened from that version until `0.3.0` is available in <https://github.com/xmldom/xmldom/issues/62>. Any related questions should be asked there.
|
|
790
878
|
|
|
791
|
-
## 0.1.28
|
|
879
|
+
## [0.1.28](https://github.com/xmldom/xmldom/compare/v0.1.27...xmldom-alpha@v0.1.28)
|
|
792
880
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
Published by @jindw on the 9th of May 2017 as
|
|
796
|
-
- `xmldom-alpha@0.1.28`
|
|
881
|
+
Published to npm: 2017-05-08 02:51 UTC by @jindw as `xmldom-alpha`
|
|
797
882
|
|
|
798
883
|
- **BREAKING** includes [regression regarding ` ` (issue #57)](https://github.com/xmldom/xmldom/issues/57)
|
|
799
884
|
- [Fix `license` field in `package.json`](https://github.com/jindw/xmldom/pull/178)
|
|
@@ -801,45 +886,48 @@ Published by @jindw on the 9th of May 2017 as
|
|
|
801
886
|
- Fix `dom.js` serialization issue for missing document element ([example that failed on `toString()` before this change](https://github.com/xmldom/xmldom/blob/a58dcf7a265522e80ce520fe3be0cddb1b976f6f/test/parse/unclosedcomment.js#L10-L11))
|
|
802
887
|
- Add new module `entities.js`
|
|
803
888
|
|
|
804
|
-
## 0.1.27
|
|
889
|
+
## [0.1.27](https://github.com/xmldom/xmldom/compare/0.1.26...0.1.27)
|
|
890
|
+
|
|
891
|
+
Published to npm: 2016-11-28 03:56 UTC by @jindw as `xmldom` and `xmldom-alpha`
|
|
805
892
|
|
|
806
|
-
|
|
807
|
-
- `xmldom@0.1.27`
|
|
808
|
-
- `xmldom-alpha@0.1.27`
|
|
893
|
+
Tags `0.1.24`, `0.1.25`, `0.1.26`, and `0.1.27` all point to the same git commit (`b53aa82`). These four versions were published within 24 hours in November 2016 with version bumps applied only to the working directory, not committed to git.
|
|
809
894
|
|
|
810
895
|
- Various bug fixes.
|
|
811
896
|
|
|
812
|
-
## 0.1.26
|
|
897
|
+
## [0.1.26](https://github.com/xmldom/xmldom/compare/0.1.25...0.1.26)
|
|
813
898
|
|
|
814
|
-
Published
|
|
815
|
-
|
|
899
|
+
Published to npm: 2016-11-28 03:47 UTC by @jindw as `xmldom`
|
|
900
|
+
|
|
901
|
+
Tags `0.1.24`, `0.1.25`, `0.1.26`, and `0.1.27` all point to the same git commit (`b53aa82`). These four versions were published within 24 hours in November 2016 with version bumps applied only to the working directory, not committed to git.
|
|
816
902
|
|
|
817
903
|
- Details unknown
|
|
818
904
|
|
|
819
|
-
## 0.1.25
|
|
905
|
+
## [0.1.25](https://github.com/xmldom/xmldom/compare/0.1.24...0.1.25)
|
|
906
|
+
|
|
907
|
+
Published to npm: 2016-11-28 03:35 UTC by @jindw as `xmldom`
|
|
820
908
|
|
|
821
|
-
|
|
822
|
-
- `xmldom@0.1.25`
|
|
909
|
+
Tags `0.1.24`, `0.1.25`, `0.1.26`, and `0.1.27` all point to the same git commit (`b53aa82`). These four versions were published within 24 hours in November 2016 with version bumps applied only to the working directory, not committed to git.
|
|
823
910
|
|
|
824
911
|
- Details unknown
|
|
825
912
|
|
|
826
|
-
## 0.1.24
|
|
913
|
+
## [0.1.24](https://github.com/xmldom/xmldom/compare/0.1.22...0.1.24)
|
|
914
|
+
|
|
915
|
+
Published to npm: 2016-11-27 14:00 UTC by @jindw as `xmldom` and `xmldom-alpha`
|
|
827
916
|
|
|
828
|
-
|
|
829
|
-
- `xmldom@0.1.24`
|
|
830
|
-
- `xmldom-alpha@0.1.24`
|
|
917
|
+
Tags `0.1.24`, `0.1.25`, `0.1.26`, and `0.1.27` all point to the same git commit (`b53aa82`). These four versions were published within 24 hours in November 2016 with version bumps applied only to the working directory, not committed to git.
|
|
831
918
|
|
|
832
919
|
- Added node filter.
|
|
833
920
|
|
|
834
|
-
## 0.1.23
|
|
921
|
+
## [0.1.23](https://github.com/xmldom/xmldom/compare/0.1.22...0.1.23)
|
|
835
922
|
|
|
836
|
-
Published
|
|
837
|
-
- `xmldom-alpha@0.1.23`
|
|
923
|
+
Published to npm: 2016-05-20 04:24 UTC by @jindw as `xmldom-alpha`
|
|
838
924
|
|
|
839
925
|
- Add namespace support for nest node serialize.
|
|
840
926
|
- Various other bug fixes.
|
|
841
927
|
|
|
842
|
-
## 0.1.22
|
|
928
|
+
## [0.1.22](https://github.com/xmldom/xmldom/compare/0.1.21...0.1.22)
|
|
929
|
+
|
|
930
|
+
Published to npm: 2016-01-30 11:50 UTC by @jindw as `xmldom`
|
|
843
931
|
|
|
844
932
|
- Merge XMLNS serialization.
|
|
845
933
|
- Remove \r from source string.
|
|
@@ -847,11 +935,15 @@ Published on the 5th of May 2016 as
|
|
|
847
935
|
- Switch references to nodeType to use named constants.
|
|
848
936
|
- Add nodelist toString support.
|
|
849
937
|
|
|
850
|
-
## 0.1.21
|
|
938
|
+
## [0.1.21](https://github.com/xmldom/xmldom/compare/0.1.20...0.1.21)
|
|
939
|
+
|
|
940
|
+
Published to npm: 2016-01-13 11:41 UTC by @jindw as `xmldom`
|
|
851
941
|
|
|
852
942
|
- Fix serialize bug.
|
|
853
943
|
|
|
854
|
-
## 0.1.20
|
|
944
|
+
## [0.1.20](https://github.com/xmldom/xmldom/compare/0.1.19...0.1.20)
|
|
945
|
+
|
|
946
|
+
Published to npm: 2016-01-10 08:23 UTC by @jindw as `xmldom`
|
|
855
947
|
|
|
856
948
|
- Optimize invalid XML support.
|
|
857
949
|
- Add toString sorter for attributes output.
|
|
@@ -861,31 +953,103 @@ Published on the 5th of May 2016 as
|
|
|
861
953
|
- Add support for HTML entities for HTML docs only.
|
|
862
954
|
- Fix TypeError when Document is created with DocumentType.
|
|
863
955
|
|
|
864
|
-
## 0.1.19
|
|
956
|
+
## [0.1.19](https://github.com/xmldom/xmldom/compare/0.1.18...0.1.19)
|
|
957
|
+
|
|
958
|
+
Published to npm: 2014-01-28 15:15 UTC by @jindw as `xmldom`
|
|
865
959
|
|
|
866
960
|
- Fix [infinite loop on unclosed comment (jindw/xmldom#68)](https://github.com/jindw/xmldom/issues/68)
|
|
867
961
|
- Add error report for unclosed tag.
|
|
868
962
|
- Various other fixes.
|
|
869
963
|
|
|
870
|
-
## 0.1.18
|
|
964
|
+
## [0.1.18](https://github.com/xmldom/xmldom/compare/0.1.17...0.1.18)
|
|
965
|
+
|
|
966
|
+
Published to npm: 2014-01-17 06:59 UTC by @bigeasy as `xmldom`
|
|
871
967
|
|
|
872
968
|
- Add default `ns` support.
|
|
873
969
|
- parseFromString now renders entirely plain text documents as textNode.
|
|
874
970
|
- Enable option to ignore white space on parsing.
|
|
875
971
|
|
|
876
|
-
## 0.1.17
|
|
972
|
+
## [0.1.17](https://github.com/xmldom/xmldom/compare/0.1.16...0.1.17)
|
|
973
|
+
|
|
974
|
+
Published to npm: 2013-12-16 03:07 UTC by @jindw as `xmldom`
|
|
975
|
+
|
|
976
|
+
No version bump commit for 0.1.17 was found in git history. The tag `0.1.17` points to the commit immediately preceding the 0.1.18 version bump (`87f63e6`, parent of `9ddac14`), which is the last committed state before the next version.
|
|
877
977
|
|
|
878
|
-
|
|
978
|
+
## [0.1.16](https://github.com/xmldom/xmldom/compare/0.1.15...0.1.16)
|
|
879
979
|
|
|
880
|
-
|
|
980
|
+
Published to npm: 2013-05-04 15:00 UTC by @bigeasy as `xmldom`
|
|
881
981
|
|
|
882
982
|
- Correctly handle multibyte Unicode greater than two byts. #57. #56.
|
|
883
983
|
- Initial unit testing and test coverage. #53. #46. #19.
|
|
884
984
|
- Create Bower `component.json` #52.
|
|
885
985
|
|
|
886
|
-
## 0.1.
|
|
986
|
+
## [0.1.15](https://github.com/xmldom/xmldom/compare/0.1.14...0.1.15)
|
|
987
|
+
|
|
988
|
+
Published to npm: 2013-04-03 02:41 UTC by @bigeasy as `xmldom`
|
|
989
|
+
|
|
990
|
+
## [0.1.14](https://github.com/xmldom/xmldom/compare/0.1.13...0.1.14)
|
|
991
|
+
|
|
992
|
+
Published to npm: 2013-03-31 15:31 UTC by @bigeasy as `xmldom`
|
|
993
|
+
|
|
994
|
+
## [0.1.13](https://github.com/xmldom/xmldom/compare/0.1.12...0.1.13)
|
|
995
|
+
|
|
996
|
+
Published to npm: 2012-10-02 11:35 UTC by @jindw as `xmldom`
|
|
997
|
+
|
|
998
|
+
## [0.1.12](https://github.com/xmldom/xmldom/compare/0.1.11...0.1.12)
|
|
999
|
+
|
|
1000
|
+
Published to npm: 2012-09-03 15:02 UTC as `xmldom`
|
|
1001
|
+
|
|
1002
|
+
No version bump commit for 0.1.12 was found in git history. The tag `0.1.12` points to the commit immediately preceding the 0.1.13 version bump (`47fa9b8`, parent of `eb17b3a`), which is the last committed state before the next version.
|
|
1003
|
+
|
|
1004
|
+
## [0.1.11](https://github.com/xmldom/xmldom/compare/0.1.10...0.1.11)
|
|
1005
|
+
|
|
1006
|
+
Published to npm: 2012-06-18 10:45 UTC by @jindw as `xmldom`
|
|
1007
|
+
|
|
1008
|
+
## [0.1.10](https://github.com/xmldom/xmldom/compare/0.1.9...0.1.10)
|
|
1009
|
+
|
|
1010
|
+
Published to npm: 2012-06-14 02:54 UTC by @jindw as `xmldom`
|
|
1011
|
+
|
|
1012
|
+
## [0.1.9](https://github.com/xmldom/xmldom/compare/0.1.8...0.1.9)
|
|
1013
|
+
|
|
1014
|
+
Published to npm: 2012-06-08 06:18 UTC by @jindw as `xmldom`
|
|
1015
|
+
|
|
1016
|
+
## [0.1.8](https://github.com/xmldom/xmldom/compare/0.1.7...0.1.8)
|
|
1017
|
+
|
|
1018
|
+
Published to npm: 2012-05-29 13:30 UTC by @jindw as `xmldom`
|
|
887
1019
|
|
|
888
1020
|
- Add: some test case from node-o3-xml(excludes xpath support)
|
|
889
1021
|
- Fix: remove existed attribute before setting (bug introduced in v0.1.5)
|
|
890
1022
|
- Fix: index direct access for childNodes and any NodeList collection(not w3c standard)
|
|
891
1023
|
- Fix: remove last child bug
|
|
1024
|
+
|
|
1025
|
+
## [0.1.7](https://github.com/xmldom/xmldom/compare/0.1.6...0.1.7)
|
|
1026
|
+
|
|
1027
|
+
Published to npm: 2012-05-29 03:05 UTC by @jindw as `xmldom`
|
|
1028
|
+
|
|
1029
|
+
## [0.1.6](https://github.com/xmldom/xmldom/compare/0.1.5...0.1.6)
|
|
1030
|
+
|
|
1031
|
+
Published to npm: 2012-05-28 12:49 UTC by @jindw as `xmldom`
|
|
1032
|
+
|
|
1033
|
+
## [0.1.5](https://github.com/xmldom/xmldom/compare/0.1.4...0.1.5)
|
|
1034
|
+
|
|
1035
|
+
Published to npm: 2012-05-25 17:43 UTC by @jindw as `xmldom`
|
|
1036
|
+
|
|
1037
|
+
## [0.1.4](https://github.com/xmldom/xmldom/compare/0.1.3...0.1.4)
|
|
1038
|
+
|
|
1039
|
+
Published to npm: 2012-05-22 16:41 UTC by @jindw as `xmldom`
|
|
1040
|
+
|
|
1041
|
+
## [0.1.3](https://github.com/xmldom/xmldom/compare/0.1.2...0.1.3)
|
|
1042
|
+
|
|
1043
|
+
Published to npm: 2012-05-22 16:39 UTC by @jindw as `xmldom`
|
|
1044
|
+
|
|
1045
|
+
## [0.1.2](https://github.com/xmldom/xmldom/compare/0.1.1...0.1.2)
|
|
1046
|
+
|
|
1047
|
+
Published to npm: 2012-02-03 10:49 UTC by @jindw as `xmldom`
|
|
1048
|
+
|
|
1049
|
+
## [0.1.1](https://github.com/xmldom/xmldom/compare/0.1.0...0.1.1)
|
|
1050
|
+
|
|
1051
|
+
Published to npm: 2012-01-10 07:18 UTC by @jindw as `xmldom`
|
|
1052
|
+
|
|
1053
|
+
## [0.1.0](https://github.com/xmldom/xmldom/commit/5d770d4)
|
|
1054
|
+
|
|
1055
|
+
Published to npm: 2012-01-06 09:49 UTC by @jindw as `xmldom`
|