jellydn / nft-app

How to create your own NFT and mint NFT token
https://nft-app.productsway.com/
MIT License
215 stars 98 forks source link

chore(deps): update dependency vite to v5.2.6 [security] #1093

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite (source) 5.2.3 -> 5.2.6 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-31207

Summary

Vite dev server option server.fs.deny did not deny requests for patterns with directories. An example of such a pattern is /foo/**/*.

Impact

Only apps setting a custom server.fs.deny that includes a pattern with directories, and explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.

Patches

Fixed in vite@5.2.6, vite@5.1.7, vite@5.0.13, vite@4.5.3, vite@3.2.10, vite@2.9.18

Details

server.fs.deny uses picomatch with the config of { matchBase: true }. matchBase only matches the basename of the file, not the path due to a bug (https://github.com/micromatch/picomatch/issues/89). The vite config docs read like you should be able to set fs.deny to glob with picomatch. Vite also does not set { dot: true } and that causes dotfiles not to be denied unless they are explicitly defined.

Reproduction

Set fs.deny to ['**/.git/**'] and then curl for /.git/config.


Release Notes

vitejs/vite (vite) ### [`v5.2.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small526-2024-03-24-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.5...v5.2.6) - fix: `fs.deny` with globs with directories ([#​16250](https://togithub.com/vitejs/vite/issues/16250)) ([ba5269c](https://togithub.com/vitejs/vite/commit/ba5269c)), closes [#​16250](https://togithub.com/vitejs/vite/issues/16250) ### [`v5.2.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small525-2024-03-24-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.4...v5.2.5) - fix: avoid SSR requests in waitForRequestIdle ([#​16246](https://togithub.com/vitejs/vite/issues/16246)) ([7093f77](https://togithub.com/vitejs/vite/commit/7093f77)), closes [#​16246](https://togithub.com/vitejs/vite/issues/16246) - docs: clarify enforce vs hook.order ([#​16226](https://togithub.com/vitejs/vite/issues/16226)) ([3a73e48](https://togithub.com/vitejs/vite/commit/3a73e48)), closes [#​16226](https://togithub.com/vitejs/vite/issues/16226) ### [`v5.2.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small524-2024-03-23-small) - fix: dont resolve imports with malformed URI ([#​16244](https://togithub.com/vitejs/vite/issues/16244)) ([fbf69d5](https://togithub.com/vitejs/vite/commit/fbf69d5)), closes [#​16244](https://togithub.com/vitejs/vite/issues/16244)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

codesandbox[bot] commented 4 months ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 6bad80f7e43609500235b23aee9a691ad2818167

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.

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

vercel[bot] commented 4 months ago

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

Name Status Preview Comments Updated (UTC)
nft-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 7:03pm
socket-security[bot] commented 4 months ago

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

Package New capabilities Transitives Size Publisher
npm/@0x/assert@2.1.6 None +1 103 kB fberger
npm/@0x/types@2.4.3 None +1 471 kB fberger
npm/@0x/typescript-typings@4.3.0 None +1 116 kB fberger
npm/@0x/utils@4.5.2 network +8 5.98 MB fberger
npm/@babel/compat-data@7.24.1 None 0 64.6 kB nicolo-ribaudo
npm/@babel/core@7.24.1 environment, filesystem, unsafe +9 2.81 MB nicolo-ribaudo
npm/@babel/helper-compilation-targets@7.23.6 None +2 79.4 kB nicolo-ribaudo
npm/@babel/helper-create-regexp-features-plugin@7.22.15 None +1 31 kB nicolo-ribaudo
npm/@babel/helper-function-name@7.23.0 None 0 21.6 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.1 None 0 63.6 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.0 None 0 11.7 kB nicolo-ribaudo
npm/@babel/parser@7.24.1 None 0 1.88 MB nicolo-ribaudo
npm/@babel/runtime@7.24.1 None 0 262 kB nicolo-ribaudo
npm/@babel/template@7.24.0 None 0 68.9 kB nicolo-ribaudo
npm/@babel/types@7.24.0 environment +1 2.44 MB nicolo-ribaudo
npm/@emotion/serialize@1.1.3 environment +4 98.4 kB emotion-release-bot
npm/@eslint-community/eslint-utils@4.4.0 None 0 379 kB eslint-community-bot
npm/@eslint-community/regexpp@4.10.0 None 0 431 kB eslint-community-bot
npm/@ethereumjs/block@3.6.3 None +2 3.34 MB holgerd77
npm/@ethereumjs/common@2.6.0 None 0 2.5 MB holgerd77
npm/@ethereumjs/tx@3.4.0 None 0 410 kB holgerd77
npm/@ethersproject/abi@5.7.0 None 0 498 kB ricmoo
npm/@ethersproject/abstract-provider@5.7.0 None 0 61 kB ricmoo
npm/@ethersproject/abstract-signer@5.7.0 None 0 82.2 kB ricmoo

View full report↗︎