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

lint-staged

Package Overview
Dependencies
Maintainers
1
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lint-staged - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.0.3
- Use `cross-spawn` to fix issues with Windows. Closes #30. (#34)
- Updated dependencies
# 2.0.2

@@ -2,0 +7,0 @@

12

package.json
{
"name": "lint-staged",
"version": "2.0.2",
"version": "2.0.3",
"description": "Lint files staged by git",

@@ -20,3 +20,6 @@ "main": "index.js",

"lint-staged": {
"*.js": ["eslint", "git:add"]
"*.js": [
"eslint",
"git:add"
]
},

@@ -52,2 +55,3 @@ "pre-commit": [

"batchflow": "^0.4.0",
"cross-spawn": "^4.0.0",
"minimatch": "^3.0.0",

@@ -63,3 +67,3 @@ "npm-which": "^2.0.0",

"babel-preset-stage-0": "^6.5.0",
"eslint": "^2.9.0",
"eslint": "^3.2.0",
"eslint-config-standard": "^5.3.1",

@@ -69,3 +73,3 @@ "eslint-plugin-promise": "^1.3.2",

"expect": "^1.20.2",
"mocha": "^2.5.3",
"mocha": "^3.0.0",
"mock-spawn": "^0.2.6",

@@ -72,0 +76,0 @@ "npmpub": "^3.1.0",

@@ -32,3 +32,3 @@ # lint-staged

You can configure lint-staged by adding a `lint-staged` section to your `package.json`. It should
be an object where each key is a command to run and value is a glob pattern to use for this
be an object where each value is a command to run and key is a glob pattern to use for this
command. This package uses [minimatch](https://github.com/isaacs/minimatch) for glob patterns.

@@ -35,0 +35,0 @@ See its [documentation](https://github.com/isaacs/minimatch) if you have questions regarding glob patterns.

var findBin = require('./findBin')
var spawn = require('child_process').spawn
var spawn = require('cross-spawn')
var batch = require('batchflow')

@@ -4,0 +4,0 @@

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