Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade jsdom from 16.7.0 to 19.0.0 #5

Open
wants to merge 1 commit into
base: latest
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade jsdom from 16.7.0 to 19.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 6 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2021-12-02.
Release notes
Package name: jsdom
  • 19.0.0 - 2021-12-02
    • Changed jsdom.nodeLocation() to return undefined when used on nodes that originate via fragment parsing (e.g., via innerHTML). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot)
    • Fixed calling window.close() inside the Window's load event to no longer crash. (MattiasBuelens)
  • 18.1.1 - 2021-11-21
    • Fixed connectedCallback to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)
  • 18.1.0 - 2021-11-12
    • Fixed headers.append() and headers.set() to normalize values. (MattiasBuelens)
    • Fixed pageshow events to have bubbles: true and cancelable: true. (MattiasBuelens)
    • Implemented the reason property on AbortSignals, along with the corresponding reason argument to abortSignal.abort() and AbortSignal.abort(). (MattiasBuelens)
  • 18.0.1 - 2021-11-01
    • Fixed live Ranges to update correctly after calling node.normalize(). (hgiesel)
    • Fixed live Ranges to update correctly after removing child nodes. (hgiesel)
    • Fixed setting inputEl.valueAsDate = null to no longer throw an exception, but instead set the value to the empty string. (simon-weimann)
    • Improved performance of node insertion and node.contains(). (GrantGryczan)
  • 18.0.0 - 2021-10-08

    Potentially-breaking bug fixes:

    • Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the ResourceLoader's strictSSL option (which defaults to true).
    • Changed the global in which almost all Promise and TypeError instances are created to be the jsdom global, not the Node.js global. This could affect any code that uses instanceof.

    Other changes:

    • Fixed moving an element between HTML and XML documents to reset the tagName cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre)
    • Fixed form submission to not happen when the form is invalid. (pozil)
  • 17.0.0 - 2021-08-13

    Breaking change: Node v12 is now the minimum supported version.

  • 16.7.0 - 2021-08-01
    • Added AbortSignal.abort(). (ninevra)
    • Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)
    • Implemented wrapping for textareaEl.value if the wrap="" attribute is specified. (ninevra)
    • Changed newline normalization in <textarea>s according to recent HTML Standard updates. (ninevra)
    • Fixed some bad cascade computation in getComputedStyle(). (romain-trotard)
from jsdom GitHub release notes
Commit messages
Package name: jsdom
  • a604d67 Version 19.0.0
  • e46f76f Fix crash when calling window.close() inside load event listener
  • f9de3fd Do not track location information for fragment-parsed nodes
  • a61fdb8 Version 18.1.1
  • 15cbed6 Fix connectedCallback with document fragments
  • 79ff734 Version 18.1.0
  • a303721 Add AbortSignal's reason property
  • 158ada2 Update web platform tests + minor fixes
  • c98e0f5 Fix changelog username typo
  • b1ce1af Version 18.0.1
  • 1f5acae Major performance improvements in some cases
  • b86cd55 Fix typo in style.js
  • 41e10e6 Fix valueAsDate for HTMLInputElement with null values
  • a14f79e Fix `node._referencedRanges` removal handling (Release/v7.14.0 npm/cli#3273)
  • 27560bc Fix live ranges not correctly updated when calling Node.normalize()
  • 24e23c0 Version 18.0.0
  • 6a4d9a0 Prevent invalid forms from being submitted
  • 5731aa3 Update dependencies and dev dependencies
  • 82c4d54 Update webidl2js and related dependencies
  • 0778616 Don't uppercase tagName when element is appended to XML document
  • 7612f1a Fix SSL certificate checking for WebSockets
  • ba8e580 Version 17.0.0
  • 9dae17b Update dependencies and dev dependencies
  • acbf496 Do not compare compressed PNG

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant