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

Update nodejs dependencies with npm audit fix #1002

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

HeyZoos
Copy link

@HeyZoos HeyZoos commented Nov 16, 2024

This pull request updates nodejs dependencies to pass the precommit hook.

Check Node.js dependencies...............................................Failed
- hook id: npm-audit
- exit code: 1
(node:20016) ExperimentalWarning: CommonJS module C:\Users\jesse\.cache\pre-commit\repo5fk08cr8\node_env-default\Scripts\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Users\jesse\.cache\pre-commit\repo5fk08cr8\node_env-default\Scripts\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
# npm audit report
next  10.0.0 - 14.2.9
Severity: high
Next.js Cache Poisoning - https://github.com/advisories/GHSA-gp8f-8m3g-qvj9
Denial of Service condition in Next.js image optimization - https://github.com/advisories/GHSA-g77x-44xx-532m
fix available via `npm audit fix`
node_modules/next
postcss  <8.4.31
Severity: moderate
PostCSS line return parsing error - https://github.com/advisories/GHSA-7fh5-64p2-3v2j
fix available via `npm audit fix`
node_modules/postcss
2 vulnerabilities (1 moderate, 1 high)
To address all issues, run:
  npm audit fix

Checklist:

Before submitting your PR, please confirm that you have done the following:

  • I have opened my PR against the staging branch, NOT against main
  • I've run the relevant formatting and linting tools listed in the setup docs
  • I have commented hard-to-understand areas in my code
  • I've reviewed any merge conflicts to make sure they are resolved
  • My changes generate no new warnings

Description

This PR updates several nodejs dependencies to their latest versions using npm audit fix to ensure passing the precommit hook.

Type of change

  • Bug fix

How Has This Been Tested?

I was able to create a commit!

This commit updates several nodejs dependencies to their latest versions with `npm audit fix` in order to pass the precommit hook.
Copy link

vercel bot commented Nov 16, 2024

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

Name Status Preview Comments Updated (UTC)
vacant-lots-proj ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 3:40am

@nlebovits nlebovits merged commit 3c07241 into CodeForPhilly:staging Nov 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants