lint-staged
Advanced tools
Comparing version 13.0.2 to 13.0.3
@@ -46,3 +46,3 @@ import path from 'node:path' | ||
const STASH = 'lint-staged automatic backup' | ||
export const STASH = 'lint-staged automatic backup' | ||
@@ -107,2 +107,12 @@ const PATCH_UNSTAGED = 'lint-staged_unstaged.patch' | ||
} | ||
/** | ||
* https://github.com/okonet/lint-staged/issues/1121 | ||
* Detect MSYS in login shell mode and escape braces | ||
* to prevent interpolation | ||
*/ | ||
if (!!process.env.MSYSTEM && !!process.env.LOGINSHELL) { | ||
return `refs/stash@\\{${index}\\}` | ||
} | ||
return `refs/stash@{${index}}` | ||
@@ -109,0 +119,0 @@ } |
{ | ||
"name": "lint-staged", | ||
"version": "13.0.2", | ||
"version": "13.0.3", | ||
"description": "Lint files staged by git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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 2 instances 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
109434
1886
11