Socket
Socket
Sign inDemoInstall

lint-staged

Package Overview
Dependencies
61
Maintainers
1
Versions
245
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.1.3 to 12.1.4

2

lib/resolveGitRepo.js

@@ -57,3 +57,3 @@ import { promises as fs } from 'fs'

// don't read the toplevel directly, it will lead to an posix conform path on non posix systems (cygwin)
const gitRel = normalize(await execGit(['rev-parse', '--show-prefix']))
const gitRel = normalize(await execGit(['rev-parse', '--show-prefix'], { cwd }))
const gitDir = determineGitDir(normalize(cwd), gitRel)

@@ -60,0 +60,0 @@ const gitConfigDir = normalize(await resolveGitConfigDir(gitDir))

{
"name": "lint-staged",
"version": "12.1.3",
"version": "12.1.4",
"description": "Lint files staged by git",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc