chore(deps): update dependency jsdom to v15 #16
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^13.1.0->^15.0.0Release Notes
jsdom/jsdom
v15.0.0Compare Source
Several potentially-breaking changes, each of them fairly unlikely to actually break anything:
JSOM.fromFile()now treats.xhtfiles asapplication/xhtml+xml, the same as it does for.xhtmland.xml. Previously, it would treat them astext/html.JSDOMconstructor'scontentTypeoption has acharsetparameter, and the first argument to the constructor is a binary data type (e.g.BufferorArrayBuffer), then thecharsetwill override any sniffed encoding in the same way as aContent-Typeheader would in browser scenarios. Previously, thecharsetparameter was ignored.BloborFileconstructor with theendings: "native"option, jsdom will now convert line endings to\non all operating systems, for consistency. Previously, on Windows, it would convert line endings to\r\n.v14.1.0Compare Source
<a>and<area>elements whosehref=""points to ajavascript:URL or fragment.<datalist>element'soptionsproperty.<input>element'slistproperty.PageTransitionEvent, and the firing ofpageshowevents during loading.Externalclass as a property ofwindow.innerHTMLandouterHTML) to be spec-compliant. (pmdartus)innerHTML) breaking after setting certain properties to non-string values.<style>s to no longer apply to documents without a browsing context. This includes fixing a crash that would occur with such styles if they had an@importrule.<option>'slabelandvalueproperties to return correct values in various edge cases.loadevent during document loading to target theDocument, not theWindow.pretendToBeVisualoption to propagate to child subframes, as well as the mainWindow. (pyrho)nwsapiversion from v2.1.1 to v2.1.3, bringing along a few fixes in our selector engine.v14.0.0Compare Source
Breaking changes:
JSDOM.fragment()now creates fragments whose document has no browsing context, i.e. no associatedWindow. This means thedefaultViewproperty will be null, resources will not load, etc.JSDOM.fragment(), called with no arguments, now creates aDocumentFragmentwith no children, instead of with a single child text node whose data was"undefined".Other changes:
element.blur()on a focused element.<link>elements into documents with no browsing context to no longer crash if the originatingJSDOMwas configured to fetch the resource. Now, per spec,<link>elements only attempt to fetch if they are browsing-context connected.<template>elements to have the correct semantics, of using a separate browsing-context-less document to store its contents. In particular this means resources will not be fetched for elements inside the<template>, as per spec.v13.2.0Compare Source
MutationObservers! (pmdartus)<progress>element'svalue,max, andpositionproperties.navigator.pluginsandnavigator.mimeTypes. (But, they are always empty.)<summary>elements respond toclickevents by toggling their parent<details>.<summary>elements to be focusable.isTrustedset totrue.DOMParser-created documents to have theirreadyStateset to"complete".<fieldset>s get disabled.getComputedStyle()to throw a sensible exception when passed the wrong argument, instead of one that exposes jsdom internals.saxesdependency, so that it now correctly errors on XML fragments like<foo bar:="1"/>.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.