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 13.0.2 to 13.0.3

12

lib/gitWorkflow.js

@@ -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 @@ }

2

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

@@ -5,0 +5,0 @@ "license": "MIT",

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