Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Bump jsdom from 16.4.0 to 16.7.0#4

Open
dependabot[bot] wants to merge 1 commit intomainsmooth80/setup-java:mainfrom
dependabot/npm_and_yarn/jsdom-16.7.0smooth80/setup-java:dependabot/npm_and_yarn/jsdom-16.7.0Copy head branch name to clipboard
Open

Bump jsdom from 16.4.0 to 16.7.0#4
dependabot[bot] wants to merge 1 commit intomainsmooth80/setup-java:mainfrom
dependabot/npm_and_yarn/jsdom-16.7.0smooth80/setup-java:dependabot/npm_and_yarn/jsdom-16.7.0Copy head branch name to clipboard

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 25, 2022

Bumps jsdom from 16.4.0 to 16.7.0.

Release notes

Sourced from jsdom's releases.

Version 16.7.0

  • 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)

Version 16.6.0

  • Added parentNode.replaceChildren(). (@​ninevra)
  • Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (@​mbest)
  • Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Thanks go to @​tobyhinloopen, @​andrewaylett, and especially @​vegardbb, for completing this months-long effort!

Version 16.5.3

  • Fixed infinite recursion when using MutationObservers to observe elements inside a MutationObserver callback.

Version 16.5.2

  • Fixed Access-Control-Allow-Headers: * to work with XMLHttpRequest. (silviot)
  • Fixed xhr.response to strip any leading BOM when xhr.responseType is "json".
  • Fixed new Text() and new Comment() constructors to properly set the resulting node's ownerDocument.
  • Fixed customElements.whenDefined() to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)
  • Fixed parsing to ensure that <svg>\<template></template></svg> does not throw an exception, but instead correctly produces a SVG-namespace \<template> element.
  • Fixed domParser.parseFromString() to treat <noscript> elements appropriately.
  • Fixed form control validity checking when the control was outside the <form> element and instead associated using the form="" attribute.
  • Fixed legendEl.form to return the correct result based on its parent <fieldset>.
  • Fixed optionEl.text to exclude <script> descendants.
  • Fixed radio buttons and checkboxes to not fire input and change events when disconnected.
  • Fixed inputEl.indeterminate to reset to its previous value when canceling a click event on a checkbox or radio button.
  • Fixed the behavior of event handler attributes (e.g. onclick="...code...") when there were global variables named element or formOwner. (ExE-Boss)
  • On Node.js v14.6.0+ where WeakRefs are available, fixed NodeIterator to no longer stop working when more than ten NodeIterator instances are created, and to use less memory due to inactive NodeIterators sticking around. (ExE-Boss)

Version 16.5.1

  • Fixed a regression that broke customElements.get() in v16.5.0. (fdesforges)
  • Fixed window.event to have a setter which overwrites the window.event property with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable named event in the jsdom context.

Version 16.5.0

  • Added window.queueMicrotask().
  • Added window.event.
  • Added inputEvent.inputType. (diegohaz)
  • Removed ondragexit from Window and friends, per a spec update.
  • Fixed the URL of about:blank iframes. Previously it was getting set to the parent's URL. (SimonMueller)
  • Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
  • Fixed the hidden="" attribute to cause display: none per the user-agent stylesheet. (ph-fritsche)
  • Fixed the new File() constructor to no longer convert / to :, per a pending spec update.
  • Fixed mutation observer callbacks to be called with the MutationObserver instance as their this value.
  • Fixed <input type=checkbox> and <input type=radio> to be mutable even when disabled, per a spec update.
  • Fixed XMLHttpRequest to not fire a redundant final progress event if a progress event was previously fired with the same loaded value. This would usually occur with small files.
  • Fixed XMLHttpRequest to expose the Content-Length header on cross-origin responses.
  • Fixed xhr.response to return null for failures that occur during the middle of the download.
  • Fixed edge cases around passing callback functions or event handlers. (ExE-Boss)
  • Fixed edge cases around the properties of proxy-like objects such as localStorage or dataset. (ExE-Boss)

... (truncated)

Changelog

Sourced from jsdom's changelog.

16.7.0

  • 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)

16.6.0

  • Added parentNode.replaceChildren(). (ninevra)
  • Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (mbest)
  • Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Special thanks to vegardbb for completing this months-long effort!

16.5.3

  • Fixed infinite recursion when using MutationObservers to observe elements inside a MutationObserver callback.

16.5.2

  • Fixed Access-Control-Allow-Headers: * to work with XMLHttpRequest. (silviot)
  • Fixed xhr.response to strip any leading BOM when xhr.responseType is "json".
  • Fixed new Text() and new Comment() constructors to properly set the resulting node's ownerDocument.
  • Fixed customElements.whenDefined() to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)
  • Fixed parsing to ensure that <svg>\<template></template></svg> does not throw an exception, but instead correctly produces a SVG-namespace \<template> element.
  • Fixed domParser.parseFromString() to treat <noscript> elements appropriately.
  • Fixed form control validity checking when the control was outside the <form> element and instead associated using the form="" attribute.
  • Fixed legendEl.form to return the correct result based on its parent <fieldset>.
  • Fixed optionEl.text to exclude <script> descendants.
  • Fixed radio buttons and checkboxes to not fire input and change events when disconnected.
  • Fixed inputEl.indeterminate to reset to its previous value when canceling a click event on a checkbox or radio button.
  • Fixed the behavior of event handler attributes (e.g. onclick="...code...") when there were global variables named element or formOwner. (ExE-Boss)
  • On Node.js v14.6.0+ where WeakRefs are available, fixed NodeIterator to no longer stop working when more than ten NodeIterator instances are created, and to use less memory due to inactive NodeIterators sticking around. (ExE-Boss)

16.5.1

  • Fixed a regression that broke customElements.get() in v16.5.0. (fdesforges)
  • Fixed window.event to have a setter which overwrites the window.event property with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable named event in the jsdom context.

16.5.0

  • Added window.queueMicrotask().
  • Added window.event.
  • Added inputEvent.inputType. (diegohaz)
  • Removed ondragexit from Window and friends, per a spec update.
  • Fixed the URL of about:blank iframes. Previously it was getting set to the parent's URL. (SimonMueller)
  • Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
  • Fixed the hidden="" attribute to cause display: none per the user-agent stylesheet. (ph-fritsche)
  • Fixed the new File() constructor to no longer convert / to :, per a pending spec update.
  • Fixed mutation observer callbacks to be called with the MutationObserver instance as their this value.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@16.4.0...16.7.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 25, 2022
@guardrails
Copy link

guardrails bot commented Jun 25, 2022

⚠️ We detected 55 security issues in this pull request:

Mode: paranoid | Total findings: 55 | Considered vulnerability: 55

Insecure Use of Language/Framework API (2)
Docs Details
💡 Title: Use of new Buffer(), Severity: Critical
new Buffer(connectOptions.proxyAuth).toString('base64');
💡 Title: Use of new Buffer(), Severity: Critical
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L9183

More info on how to fix Insecure Use of Language/Framework API in JavaScript.


Insecure Use of Regular Expressions (4)
Docs Details
💡 Title: Regex DOS (ReDOS), Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L2997
💡 Title: Regex DOS (ReDOS), Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L15873
💡 Title: Regex DOS (ReDOS), Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L25784
💡 Title: Regex DOS (ReDOS), Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L27592

More info on how to fix Insecure Use of Regular Expressions in JavaScript.


Hard-Coded Secrets (34)
Docs Details
💡 Title: Secret Keyword, Severity: Medium
const password = 'TOLKIEN';
💡 Title: Secret Keyword, Severity: Medium
const password = 'TOKEN';
💡 Title: Secret Keyword, Severity: Medium
const password = 'PASSWORD';
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "09b7e6ab5d5eb4b73813f4caa793a0b616d33794a17988fa6a6b7c972e8f3dd3",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "b11cb192312530bcd84607631203d0c1727e672af12813078e6b525e3cce862d",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "d358a7ff03905282348c6c80562a4da2e04eb377b60ad2152be4c90f8d580b7f",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "b8c2e2ad31f3d6676ea665d9505b06df15e23741847556612b40e3ee329fc046",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "d32f9429c4992cef7be559a15c542011503d6bc38c89379800cd209a9d7ec539",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "bd1fc774232e2dfee93056a01f5765bd92ffb19d68dd548c233a82bb5c162be4",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "aabc3aebb0abf1ba64d9bd5796d0c7eb7239983f6e4c0f015b5b88be5616e4bd",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "0ddb24efdf5aab541898d19b7667b149a1a64a8bd039b708fc58ee0284fa7e07",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "9c82de98ce9bc2353bcf314d85366c9a2c572db034e10a71aa47e804e13748c1",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "f948be96daba250b6695e22cb51372d2ba3060e4d778dd09c89548889783099f",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "9919eee037554d40c7d2f219bbd654f2bf119e16a2f4d284d8dedaf525ee59e6",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "7acd697e816491d31b24d0ae1867fd63060aa738cfa388757946ae312a60b4f2",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "2c1a46c0fab6d4bdbc443f23c3f6a313c2de47fbbd9c16b5c1133a88f6c1ab8f",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "dcb2ab681247298eda018df24166ba01674127083fb02892acf087e6181d8c56",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "985036459d4ef0867a3fe83b0bf87877d8e66a121c7b9c145bb97bd921aaf3f1",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "ee7c98c9d79689aca6e717965747b8bf4eec5413e89d5444cc2bd6dbd59e3811",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "96bc469f9b02a3b84382a0685b0bd7935e1ad1bd82a0aab9befb5b42a17cbd77",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "7b21961ffb2649e572721a0dfad64169b490e987937b661cb4e13a594c21e764",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "e84b00d74f08f059829bbf121c8423dc37ff65135968c1fcda5839600be4f542",
💡 Title: Hex High Entropy String, Severity: Medium
"checksum": "4a8dadd58cdc32c7e59978971d56aec610be7ee0ddf0dc1d137bb8b78456499f",
💡 Title: Secret Keyword, Severity: Medium
const privateKey = 'KEY CONTENTS';
💡 Title: Secret Keyword, Severity: Medium
exports.INPUT_SERVER_PASSWORD = 'server-password';
💡 Title: Secret Keyword, Severity: Medium
exports.INPUT_GPG_PRIVATE_KEY = 'gpg-private-key';
💡 Title: Secret Keyword, Severity: Medium
exports.STATE_GPG_PRIVATE_KEY_FINGERPRINT = 'gpg-private-key-fingerprint';
💡 Title: Secret Keyword, Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L11354
💡 Title: Secret Keyword, Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L11357
💡 Title: Secret Keyword, Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L11361
💡 Title: Base64 High Entropy String, Severity: Medium
https://github.com/smooth80/setup-java/blob/d097f7434544443ad4c8f5ca0dd0342a59a39733/dist/setup/index.js#L42036
💡 Title: Secret Keyword, Severity: Medium
export const INPUT_SERVER_PASSWORD = 'server-password';
💡 Title: Secret Keyword, Severity: Medium
export const INPUT_GPG_PRIVATE_KEY = 'gpg-private-key';
💡 Title: Secret Keyword, Severity: Medium
export const STATE_GPG_PRIVATE_KEY_FINGERPRINT = 'gpg-private-key-fingerprint';

More info on how to fix Hard-Coded Secrets in General.


Vulnerable Libraries (15)
Severity Details
High minimatch@3.0.4 (t) - no patch available
Medium nwsapi@2.2.0 (t) - no patch available
Medium node-notifier@8.0.1 (t) - no patch available
High fb-watchman@2.0.1 (t) - no patch available
Critical unset-value@1.0.0 (t) - no patch available
Medium browserslist@4.16.3 (t) - no patch available
Critical minimist@1.2.5 (t) - no patch available
Critical set-value@2.0.1 (t) - no patch available
Medium istanbul-reports@3.0.2 (t) - no patch available
Medium path-parse@1.0.6 (t) - no patch available
High tmpl@1.0.4 (t) - no patch available
Critical execa@1.0.0 (t) - no patch available
High ansi-regex@5.0.0 (t) - no patch available
Medium browserslist@4.16.3 (t) upgrade to: >4.16.4
Medium ws@7.4.3 (t) upgrade to: >5.2.2 || >6.2.1 || >7.4.5

More info on how to fix Vulnerable Libraries in General and JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.