Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

precommit-hook

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

precommit-hook - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

1

install.js

@@ -14,2 +14,3 @@ var fs = require('fs'),

if (existsSync(pcPath)) fs.unlinkSync(pcPath);
if (!existsSync(path.dirname(pcPath))) fs.mkdirSync(path.dirname(pcPath));
console.log('Found .git directory, adding pre-commit hook');

@@ -16,0 +17,0 @@ var pcHook = fs.readFileSync(path.join(filePath, 'pre-commit'));

5

package.json

@@ -5,3 +5,3 @@ {

"description": "A useful pre-commit hook for git based projects that lints and runs npm test",
"version": "0.3.0",
"version": "0.3.1",
"homepage": "https://github.com/nathan-lafreniere/precommit-hook",

@@ -15,4 +15,5 @@ "repository": {

"dependencies": {
"jshint": "~0.9.0"
"jshint": "~0.9.0",
"coffeelint": "~0.5.4"
}
}
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