pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.7k stars 3.56k forks source link

chore(deps-dev): bump happy-dom from 13.3.8 to 15.10.2 #10921

Open dependabot[bot] opened 3 weeks ago

dependabot[bot] commented 3 weeks ago

Bumps happy-dom from 13.3.8 to 15.10.2.

Release notes

Sourced from happy-dom's releases.

v15.10.2

:construction_worker_man: Patch fixes

  • Fixes a security vulnerability that allowed for server side code to be executed by a <script> tag - By @​capricorn86 in task #1585
    • There was a case that was missed with the first patch

v15.10.1

:construction_worker_man: Patch fixes

  • Fixes a security vulnerability that allowed for server side code to be executed by a <script> tag - By @​capricorn86 in task #1585

v15.10.0

:art: Features

  • Adds a new setting called disableSameOriginPolicy that makes it possible to bypass the same-origin policy in fetch requests - By @​OlaviSau in task #1553

v15.9.0

:art: Features

  • Adds support for "aspect-ratio" to CSSStyleDeclaration - By @​yinm in task #1147

v15.8.5

:construction_worker_man: Patch fixes

  • Fixes bug where Node.getRootNode() returned null when it was within a ShadowRoot that previously been disconnected from the Document - By @​capricorn86 in task #1581

v15.8.4

:construction_worker_man: Patch fixes

  • Fixes bug where child nodes of HTMLSelectElement and HTMLFormElement had the wrong reference to the parent - By @​capricorn86 in task #1578

v15.8.3

:construction_worker_man: Patch fixes

  • Toggle "open" attribute on HTMLDetailsElement when dispatching a click event on a summary element which is a child of the details element - By @​mikedidomizio in task #1534

v15.8.2

:construction_worker_man: Patch fixes

  • Use globalThis instead of global to make Happy DOM work in other runtimes such as Cloudflare workers - By @​mattallty in task #1546

v15.8.1

:construction_worker_man: Patch fixes

  • Always return Promise<Blob> from ClipboardItem.getType() - By @​ezzatron in task #1538

v15.8.0

:construction_worker_man: Patch fixes

  • Adds support for using non-ASCII characters in custom elements when parsing HTML - By @​capricorn86 in task #1079
  • Fixes an issue where getHTML() and getInnerHTML() would return the slotted content of a shadow root before the template, but the template should be the first child - By @​capricorn86 in task #1079
  • Fixes a bug where SVG elements would not be found by getElementsByTagName() - By @​capricorn86 in task #1079
  • Improves performance when creating elements (e.g. during parsing of HTML) - By @​capricorn86 in task #1550
    • Binding all methods to the target scope in Proxies caused a performance hit, so this is now done when calling a method the first time

:art: Features

  • Adds support for all remaining SVG elements: SVGAnimateElement, SVGAnimateMotionElement, SVGAnimateTransformElement, SVGCircleElement, SVGClipPathElement, SVGDefsElement, SVGDescElement, SVGEllipseElement, SVGFEBlendElement, SVGFEColorMatrixElement, SVGFEComponentTransferElement, SVGFECompositeElement, SVGFEConvolveMatrixElement, SVGFEDiffuseLightingElement, SVGFEDisplacementMapElement, SVGFEDistantLightElement, SVGFEDropShadowElement, SVGFEFloodElement, SVGFEFuncAElement, SVGFEFuncBElement, SVGFEFuncGElement, SVGFEFuncRElement, SVGFEGaussianBlurElement, SVGFEImageElement, SVGFEMergeElement, SVGFEMergeNodeElement, SVGFEMorphologyElement, SVGFEOffsetElement, SVGFEPointLightElement, SVGFESpecularLightingElement, SVGFESpotLightElement, SVGFETileElement, SVGFETurbulenceElement, SVGFilterElement, SVGForeignObjectElement, SVGGElement, SVGImageElement, SVGLineElement, SVGLinearGradientElement, SVGMarkerElement, SVGMaskElement, SVGMetadataElement, SVGMPathElement, SVGPathElement, SVGPatternElement, SVGPolygonElement, SVGPolylineElement, SVGRadialGradientElement, SVGRectElement, SVGScriptElement, SVGSetElement, SVGStopElement, SVGStyleElement, SVGSwitchElement, SVGSymbolElement, SVGTextElement, SVGTextPathElement, SVGTitleElement, SVGTSpanElement, SVGUseElement and SVGViewElement - By @​capricorn86 in task #1079
  • Adds support for DOMMatrix, DOMMatrixReadOnly, DOMPoint and DOMPointReadOnly - By @​capricorn86 in task #1079

... (truncated)

Commits
  • d23834c fix: #1585 Fixes a security vulnerability that allowed for server side code...
  • 5ee0b16 fix: #1585 Fixes security vulnerability that allowed for server side code t...
  • a20dba9 chore: #1542 Adds SECURITY.md file (#1584)
  • 1625d40 feat: #1553 Adds setting disableSameOriginPolicy, to make it possible to by...
  • a78cd8f feat: #1147 Adds support for aspect-ratio to CSSStyleDeclaration (#1537)
  • e6f8b13 fix: #1581 Fixes bug where Node.getRootNode() returned null when it was wi...
  • 38ab960 fix: #1578 Fixes bug where child nodes of HTMLSelectElement and HTMLFormEle...
  • 8f74989 fix: #1534 Toggle open attribute on HTMLDetailsElement when dispatching a c...
  • 7f57469 fix: #1546 Use globalThis instead of global to make Happy DOM work in o...
  • 759b4fb fix: #1538 Always return Promise<Blob> from ClipboardItem.getType() (#1539)
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/pancakeswap/pancake-frontend/network/alerts).

PR-Codex overview

This PR updates the version of the happy-dom package across multiple package.json files and modifies some dependencies in pnpm-lock.yaml, ensuring compatibility and improvements with the latest version.

Detailed summary

The following files were skipped due to too many changes: pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aptos-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
bridge ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
games ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
gamification ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
uikit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:28pm
changeset-bot[bot] commented 3 weeks ago

⚠️ No Changeset found

Latest commit: 271278c37656a6cad07d9d26bb3a9571097cdb47

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

socket-security[bot] commented 3 weeks ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/react-redux@8.1.3 environment +1 591 kB acemarke

🚮 Removed packages: npm/@testing-library/jest-dom@5.17.0, npm/@testing-library/react-hooks@8.0.1, npm/@testing-library/react@12.1.5, npm/@testing-library/react@13.4.0

View full report↗︎

socket-security[bot] commented 3 weeks ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Environment variable access npm/react-redux@8.1.3 🚫
Filesystem access npm/hardhat@2.22.2 🚫
Filesystem access npm/hardhat@2.22.2 🚫
Filesystem access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫
Environment variable access npm/hardhat@2.22.2 🚫

View full report↗︎

Next steps

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/react-redux@8.1.3
  • @SocketSecurity ignore npm/hardhat@2.22.2