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

simple-pre-commit

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-pre-commit - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

19

package.json
{
"name": "simple-pre-commit",
"version": "1.1.1",
"version": "1.1.2",
"description": "A simple, zero dependency tool for setting up git pre-commit hook for small projects",

@@ -9,6 +9,4 @@ "author": "Mikhail Gorbunov <toplenboren@gmail.com> (toplenboren.gituhb.io)",

"scripts": {
"postinstall": "node ./postinstall.js",
"lint": "eslint *.js",
"test": "jest",
"publish": "clean-publish"
"publish": "clean-publish",
"postinstall": "node ./postinstall.js"
},

@@ -22,12 +20,3 @@ "keywords": [

"license": "MIT",
"homepage": "https://github.com/toplenboren/simple-pre-commit",
"lint-staged": {
"*.js": "eslint"
},
"devDependencies": {
"clean-publish": "^1.1.8",
"eslint": "^7.19.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4"
}
"homepage": "https://github.com/toplenboren/simple-pre-commit"
}

@@ -41,3 +41,2 @@ const fs = require('fs')

/**

@@ -67,3 +66,2 @@ * Transforms the <project>/node_modules/simple-pre-commit to <project>

/**

@@ -93,3 +91,2 @@ * Checks the 'simple-pre-commit' in dependencies of the project

/**

@@ -124,3 +121,2 @@ * Gets user-set command either from sources

/**

@@ -140,3 +136,2 @@ * Creates or replaces an existing executable script in .git/hooks/pre-commit with provided command

/** Reads package.json file, returns package.json content and path

@@ -164,3 +159,2 @@ * @param {string} projectPath - a path to the project, defaults to process.cwd

/**

@@ -178,3 +172,2 @@ * Gets current command from package.json[simple-pre-commit]

/**

@@ -201,3 +194,2 @@ * Gets user-set command from simple-pre-commit.json

module.exports = {

@@ -204,0 +196,0 @@ checkSimplePreCommitInDependencies,

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