Socket
Socket
Sign inDemoInstall

husky

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

husky - npm Package Compare versions

Comparing version 1.0.0-rc.15 to 1.0.0

44

CHANGELOG.md
# CHANGELOG
## 1.0.0
After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶🎉.
### Notable changes
Below you'll find consolidated changes since `0.14.3`. There's no change in code between `1.0.0-rc.15` and `1.0.0`.
* Hooks
* Add `sendemail-validate` hook
* Config
* Move hooks config from `scripts` field to `husky` field
* Prefer raw names for hooks (e.g. `pre-commit` rather than `precommit`)
* Support `.huskyrc` config
* Package managers
* Support environments where [yarn](https://github.com/yarnpkg/yarn/) is the only package manager installed
* Support [pnpm](https://github.com/pnpm/pnpm) package manager
* Environment variables
* Add `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation
* Add `HUSKY_GIT_STDIN` environment variable for `pre-push`, `pre-receive`, `post-receive` and `post-rewrite` to access arguments passed by Git via stdin
* Rename `GIT_PARAMS` to `HUSKY_GIT_PARAMS`
* Messages
* Add many more messages in case of errors
* Add [please-upgrade-node](https://github.com/typicode/) message if using with unsupported Node version
* Make `--no-verify` message more accurate and only show it for hooks that can be skipped
* Upgrade
* Add `husky-upgrade` command to automatically migrate hooks in `package.json`
* Add deprecation warning for hooks that are still defined in `scripts`
* Other
* Drop `Node 4` support
* Drop integrated `nvm` support (see Node version management in docs)
### Credits
Huge thanks to all the Contributors and [Patreon Supporters](https://thanks.typicode.com)! 🙏
## 1.0.0-rc.15

@@ -114,3 +156,3 @@

* `.huskyrc` config [#209](https://github.com/typicode/husky/pull/209)
* `pnpm` support
* [`pnpm`](https://github.com/pnpm/pnpm) support
* Support environments where `yarn` is the only package manager installed

@@ -117,0 +159,0 @@ * Move config from `scripts` field to `husky` field

2

package.json
{
"name": "husky",
"version": "1.0.0-rc.15",
"version": "1.0.0",
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",

@@ -5,0 +5,0 @@ "bin": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc