lint-staged
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -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 @@ |
{ | ||
"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 @@ |
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
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
21173
0
8
+ Addedcross-spawn@^4.0.0
+ Addedcross-spawn@4.0.2(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedyallist@2.1.2(transitive)