-
Notifications
You must be signed in to change notification settings - Fork 467
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
chore(deps): bump astro from 4.14.4 to 4.16.3 in /examples/astro #30342
chore(deps): bump astro from 4.14.4 to 4.16.3 in /examples/astro #30342
Conversation
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.14.4 to 4.16.3. - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro) --- updated-dependencies: - dependency-name: astro dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
@@ -18,7 +18,7 @@ | |||
"@dotcms/react": "latest", | |||
"@types/react": "^18.3.3", | |||
"@types/react-dom": "^18.3.0", | |||
"astro": "^4.14.3", | |||
"astro": "^4.16.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Package dependencies with variant versions may lead to dependency hijack and confusion attacks. Better to specify an exact version or use package-lock.json for a specific version of the package.
Ignore this finding from package-dependencies-check.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semgrep Assistant suggests the following fix: Specify exact versions for dependencies in package.json
to prevent dependency hijacking.
View step-by-step instructions
- Open your
package.json
file. - Locate the dependency
"astro": "^4.16.3"
. - Replace the caret (
^
) with an exact version number to ensure a specific version is used. Change it to"astro": "4.16.3"
. - Repeat the same process for any other dependencies using caret (
^
), tilde (~
), or other variant version specifiers to specify exact versions. - Run
$ npm install
to update yourpackage-lock.json
with the exact versions specified inpackage.json
.
This change ensures that your project uses the exact version of the dependencies specified, reducing the risk of dependency hijacking and confusion attacks.
This code change should fix the finding:
"astro": "^4.16.3", | |
{ | |
"name": "dotcms-astro-uve", | |
"type": "module", | |
"version": "0.0.1", | |
"scripts": { | |
"dev": "astro dev", | |
"start": "astro dev", | |
"build": "astro check && astro build", | |
"preview": "astro preview", | |
"astro": "astro" | |
}, | |
"dependencies": { | |
"@astrojs/check": "^0.9.3", | |
"@astrojs/react": "^3.6.2", | |
"@astrojs/tailwind": "^5.1.0", | |
"@astrojs/vercel": "^7.8.0", | |
"@dotcms/client": "latest", | |
"@dotcms/react": "latest", | |
"@types/react": "^18.3.3", | |
"@types/react-dom": "^18.3.0", | |
"astro": "4.16.3", // Changed to exact version | |
"react": "^18.3.1", | |
"react-dom": "^18.3.1", | |
"tailwindcss": "^3.4.10", | |
"typescript": "^5.5.4" | |
}, | |
"devDependencies": { | |
"prettier": "^3.3.3", | |
"prettier-plugin-astro": "^0.14.1" | |
} | |
} |
Leave feedback with a 👍 / 👎. Save a memory with /semgrep remember <your custom instructions>
.
Looks like astro is up-to-date now, so this is no longer needed. |
Bumps astro from 4.14.4 to 4.16.3.
Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
a338041
[ci] release (#12221)59a2fbc
[ci] format2aa2dfd
fix: revert regression of port computation (#12197)b049359
Fix setOnSetGetEnv parameter name (#12220)bbc72a1
[ci] release (#12207)12b0022
Revert #12173 (#12206)c73d65d
[ci] release (#12178)650dd22
Fix VT video test fail in firefox (#12188)58e22bd
[ci] format2d10de5
fix(routing): actions should redirect the original pathname (#12173)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 <dependency name> 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.