ng-lint-staged
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -37,16 +37,24 @@ #!/usr/bin/env node | ||
const npm = spawn('npm', [ | ||
'run', | ||
script, | ||
'--', | ||
...scriptArgs, | ||
...files, | ||
]); | ||
const npm = spawn( | ||
'npm', | ||
[ | ||
'run', | ||
script, | ||
'--', | ||
...scriptArgs, | ||
...files, | ||
], | ||
{ | ||
cwd: process.cwd(), | ||
env: process.env, | ||
shell: true, | ||
} | ||
); | ||
npm.stdout.on('data', (data) => { | ||
console.log(data); | ||
console.log(data.toString()); | ||
}); | ||
npm.stderr.on('data', (data) => { | ||
console.error(data); | ||
console.error(data.toString()); | ||
}); | ||
@@ -53,0 +61,0 @@ |
{ | ||
"name": "ng-lint-staged", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Shim to run lint-staged with ng-lint", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
3557
54
1