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

Bump husky from 9.0.11 to 9.1.4 #189

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps husky from 9.0.11 to 9.1.4.

Release notes

Sourced from husky's releases.

v9.1.4

  • Improve deprecation notice

v9.1.3

  • fix: better handle space in PATH

v9.1.2

Show a message instead of automatically removing deprecated code.

This only concerns projects that still have the following code in their hooks:

- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh"  # <- This is deprecated, remove it
Rest of your hook code

Hooks with these lines will fail in v10.0.0

v9.1.1

Super saiyan god dog! It's over 9.0.0!

What's new

You can now run package commands directly, no need for npx or equivalents. It makes writing hooks more intuitive and is also slightly faster 🐺⚡️

# .husky/pre-commit
- npx jest
+ jest # ~0.2s faster

A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.

# .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again

For more advanced use cases, see lint-staged.

Fixes

... (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 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)

Bumps [husky](https://github.com/typicode/husky) from 9.0.11 to 9.1.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v9.0.11...v9.1.4)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

vercel bot commented Aug 5, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
make-me ⬜️ Ignored (Inspect) Visit Preview Aug 5, 2024 10:08am

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@flydotio/dockerfile@0.5.8 Transitive: environment, filesystem +16 725 kB rubys
npm/@prisma/client@5.17.0 environment, filesystem, shell 0 8.4 MB prismabot
npm/@supercharge/promise-pool@3.2.0 None 0 53.3 kB marcuspoehls
npm/@swc/cli@0.4.0 environment, filesystem Transitive: network, shell +2 574 kB kdy1
npm/@swc/core@1.7.6 None 0 120 kB kdy1, kwonoj
npm/@swc/helpers@0.5.12 None +1 315 kB kdy1
npm/@swc/register@0.1.10 filesystem Transitive: unsafe +1 48 kB kdy1
npm/@types/apicache@1.6.6 None 0 6.42 kB types
npm/@types/bcrypt@5.0.2 None 0 9.86 kB types
npm/@types/compression@1.7.5 None 0 10.9 kB types
npm/@types/cookie-parser@1.4.7 None 0 5.67 kB types
npm/@types/cors@2.8.17 None 0 5.91 kB types
npm/@types/express-serve-static-core@4.19.5 None +1 50.8 kB types
npm/@types/express@4.17.21 None 0 7.86 kB types
npm/@types/jest@29.5.12 None 0 78.7 kB types
npm/@types/jsonwebtoken@9.0.6 None 0 13.5 kB types
npm/@types/memory-cache@0.2.6 None 0 5.86 kB types
npm/@types/morgan@1.9.9 None 0 13.9 kB types
npm/@types/nodemailer@6.4.15 None 0 89.8 kB types
npm/@types/supertest@6.0.2 None 0 8.04 kB types
npm/@types/ua-parser-js@0.7.39 None 0 8.83 kB types
npm/apicache@1.6.3 environment 0 87.6 kB krwhitley
npm/bcrypt@5.1.1 None 0 111 kB amitosh
npm/bullmq@5.12.0 environment, filesystem, network, shell +1 1.7 MB manast
npm/compression@1.7.4 Transitive: environment +2 74.4 kB dougwilson
npm/cookie-parser@1.4.6 None +1 16 kB dougwilson
npm/cors@2.8.5 None +2 34.2 kB dougwilson
npm/express-validator@7.1.0 None +1 1.55 MB gustavohenke
npm/express@4.19.2 environment, filesystem, network Transitive: eval +19 424 kB wesleytodd
npm/helmet@7.1.0 None 0 102 kB evanhahn
npm/husky@9.1.4 environment, filesystem, shell 0 4.01 kB typicode
npm/ioredis@5.4.1 network Transitive: environment +1 740 kB ioredis-robot
npm/isbot@5.1.14 None 0 29.6 kB omrilotan
npm/jsonwebtoken@9.0.2 None +1 50.4 kB charlesrea
npm/morgan@1.10.0 eval Transitive: environment +2 99.2 kB dougwilson
npm/nodemailer@6.9.14 environment, filesystem, network, shell 0 505 kB andris
npm/openai@4.54.0 environment, network 0 2.47 MB dschnurr-openai
npm/pgvector@0.1.8 None 0 27.6 kB ankane
npm/rate-limiter-flexible@5.0.3 None 0 141 kB animir
npm/ua-parser-js@1.0.38 None 0 113 kB faisalman
npm/unsplash-js@7.0.19 environment, network 0 330 kB unsplash
npm/winston@3.13.1 filesystem, network +1 275 kB dabh

🚮 Removed packages: npm/husky@9.0.11

View full report↗︎

Copy link

🚨 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
Install scripts npm/bcrypt@5.1.1
  • Install script: install
  • Source: node-pre-gyp install --fallback-to-build
🚫
Install scripts npm/@prisma/client@5.17.0
  • Install script: postinstall
  • Source: node scripts/postinstall.js
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time 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/bcrypt@5.1.1
  • @SocketSecurity ignore npm/@prisma/client@5.17.0

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 13, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/husky-9.1.4 branch August 13, 2024 15:37
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.

1 participant