Comparing version 8.0.3 to 9.0.1
{ | ||
"name": "husky", | ||
"version": "8.0.3", | ||
"description": "Modern native Git hooks made easy", | ||
"keywords": [ | ||
"git", | ||
"hooks", | ||
"pre-commit" | ||
], | ||
"homepage": "https://typicode.github.io/husky", | ||
"repository": "typicode/husky", | ||
"funding": "https://github.com/sponsors/typicode", | ||
"license": "MIT", | ||
"author": "Typicode <typicode@gmail.com>", | ||
"bin": "lib/bin.js", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib", | ||
"husky.sh" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "sh test/all.sh", | ||
"lint": "eslint src --ext .ts", | ||
"serve": "docsify serve docs", | ||
"prepare": "npm run build && node lib/bin install" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.3.0", | ||
"@commitlint/config-conventional": "^17.3.0", | ||
"@tsconfig/node14": "^1.0.3", | ||
"@types/node": "^18.11.18", | ||
"@typicode/eslint-config": "^1.1.0", | ||
"docsify-cli": "^4.4.4", | ||
"typescript": "^4.9.4" | ||
}, | ||
"engines": { | ||
"node": ">=14" | ||
} | ||
"name": "husky", | ||
"version": "9.0.1", | ||
"description": "Modern native Git hooks", | ||
"keywords": [ | ||
"git", | ||
"hooks", | ||
"pre-commit" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/typicode/husky.git" | ||
}, | ||
"funding": "https://github.com/sponsors/typicode", | ||
"license": "MIT", | ||
"author": "typicode", | ||
"type": "module", | ||
"bin": { | ||
"husky": "bin.js" | ||
}, | ||
"exports": "./index.js", | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
} |
@@ -1,38 +0,1 @@ | ||
# husky | ||
> Modern native Git hooks made easy | ||
Husky improves your commits and more 🐶 *woof!* | ||
# Install | ||
``` | ||
npm install husky --save-dev | ||
``` | ||
# Usage | ||
Edit `package.json > prepare` script and run it once: | ||
```sh | ||
npm pkg set scripts.prepare="husky install" | ||
npm run prepare | ||
``` | ||
Add a hook: | ||
```sh | ||
npx husky add .husky/pre-commit "npm test" | ||
git add .husky/pre-commit | ||
``` | ||
Make a commit: | ||
```sh | ||
git commit -m "Keep calm and commit" | ||
# `npm test` will run | ||
``` | ||
# Documentation | ||
https://typicode.github.io/husky |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
0
Yes
3613
7
36
1
2
5