Socket
Socket
Sign inDemoInstall

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 15.2.6 to 15.2.7

8

lib/resolveGitRepo.js

@@ -21,10 +21,6 @@ import debug from 'debug'

const gitDir = normalizePath(
await execGit(['rev-parse', '--path-format=absolute', '--show-toplevel'], { cwd })
)
const gitDir = normalizePath(await execGit(['rev-parse', '--show-toplevel'], { cwd }))
debugLog('Resolved git directory to be `%s`', gitDir)
const gitConfigDir = normalizePath(
await execGit(['rev-parse', '--path-format=absolute', '--absolute-git-dir'], { cwd })
)
const gitConfigDir = normalizePath(await execGit(['rev-parse', '--absolute-git-dir'], { cwd }))
debugLog('Resolved git config directory to be `%s`', gitConfigDir)

@@ -31,0 +27,0 @@

{
"name": "lint-staged",
"version": "15.2.6",
"version": "15.2.7",
"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