Update dependency @xmldom/xmldom to v0.9.10#261
Conversation
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #261 +/- ##
=======================================
Coverage 68.80% 68.80%
=======================================
Files 19 19
Lines 638 638
Branches 117 117
=======================================
Hits 439 439
Misses 195 195
Partials 4 4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
940f213 to
551c054
Compare
551c054 to
ddc9274
Compare
This PR contains the following updates:
0.8.13→0.9.10Release Notes
xmldom/xmldom (@xmldom/xmldom)
v0.9.10Compare Source
Fixed
XMLSerializer.serializeToString()(andNode.toString(),NodeList.toString()) now accept arequireWellFormedoption. When{ requireWellFormed: true }is passed, the serializer throwsInvalidStateErrorfor injection-prone node content, preventing XML injection via attacker-controlled node data.GHSA-j759-j44w-7fr8GHSA-x6wf-f3px-wcqxGHSA-f6ww-3ggp-fr8hdatacontains--anywhere, ends with-, or contains characters outside the XMLCharproduction:or matchesxml(case-insensitive), ordatacontains characters outside the XMLCharproduction or contains?>publicIdfailsPubidLiteral,systemIdfailsSystemLiteral, orinternalSubsetcontains]>XMLSerializer.serializeToString(),Node.prototype.normalize(),Node.prototype.cloneNode(true),Document.prototype.importNode(node, true),node.textContentgetter,getElementsByTagName()/getElementsByTagNameNS()/getElementsByClassName()/getElementById(),Node.prototype.isEqualNode()) are now iterative. Previously, deeply nested DOM trees would exhaust the JavaScript call stack and throw an unrecoverableRangeError.GHSA-2v35-w6hq-6mfwisEqualNodenow correctly returnsfalsefor CDATASection nodes with differentdataDeprecated
splitCDATASectionsserializer option is deprecated and will be removed in the next breaking release. The automatic splitting of"]]>"inCDATASectiondata was introduced as a workaround; userequireWellFormed: trueor ensureCDATASectiondata does not contain"]]>"before serialization.Chore
Thank you,
@Jvr2022,
@praveen-kv,
@TharVid,
@decsecre583,
@tlsbollei,
@KarimTantawey,
for your contributions
v0.9.9Compare Source
Added
ParentNode.childrengetter#960/#410Fixed
createCDATASectionnow throwsInvalidCharacterErrorwhendatacontains"]]>", as required by the WHATWG DOM spec.GHSA-wh4c-j3r5-mjhpXMLSerializernow 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-mjhpNode.contains#931Code that passes a string containing
"]]>"tocreateCDATASectionand relied on the previously unsafe behavior will now receiveInvalidCharacterError. Use a mutation method such asappendDataif you intentionally need"]]>"in a CDATASection node's data.Chore
Thank you,
@stevenobiajulu,
@yoshi389111,
@thesmartshadow,
for your contributions
v0.9.8Compare Source
Fixed
#839/#838#847/#838Chore
#845Thank you,
@kboshold,
@Ponynjaa,
for your contributions.
v0.9.7Compare Source
Added
hasAttributes#804Fixed
#802/#803#817/#819Performance
DOM.compareDocumentPosition#805Chore
Thank you,
@zorkow,
@Ponynjaa,
@WesselKroos,
for your contributions.
v0.9.6Compare Source
Fixed
#790/#794/#797Chore
#792Thank you, @eglitise, for your contributions.
v0.9.5Compare Source
Fixed
#763/#766Thank you,
@mureinik,
for your contributions.
v0.9.4Compare Source
Fixed
#748/#760warning(#759)#754/#759Docs
#758Thank you,
@luffynando,
@mattiasw,
@JoinerDev,
for your contributions.
v0.9.3Compare Source
Fixed
NodeandProcessingInstructiontypes#725/#726getElements*methods returnLiveNodeList<Element>#731/#734Nodeprops#728, triggered by unclosed#724Docs
Chore
Thank you,
@Ponynjaa,
@ayZagen,
@sserdyuk,
@wydengyre,
@mykola-mokhnach,
@benkroeger,
for your contributions.
v0.9.2Compare Source
Feature
Element.getElementsByClassName#722Fixed
Document.documentElementandElement.tagName#721#720Thank you, @censujiang, @Mathias-S, for your contributions
v0.9.1Compare Source
Fixed
#713isHTMLMimeTypein type definition#715/#712#717/#285/#695Other
#710Thank you, @krystofwoldrich, @marvinruder, @amacneil, @defunctzombie,
@tjhorner, @danon, for your contributions
v0.9.0Compare Source
Features
#637/#40#634/#633Fixed
#692#554#550Other
#556#697#546#524#566#644#511Thank you, @kboshold, @edi9999, @apupier,
@shunkica, @homer0, @jhauga,
@UdayKharatmol, for your contributions
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.