Socket
Socket
Sign inDemoInstall

lint-staged

Package Overview
Dependencies
62
Maintainers
1
Versions
245
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.3.7 to 12.3.8

8

lib/resolveTaskFn.js

@@ -59,6 +59,10 @@ import { redBright, dim } from 'colorette'

const interruptExecutionOnError = (ctx, execaChildProcess) => {
let loopIntervalId
async function loop() {
if (ctx.errors.size > 0) {
clearInterval(loopIntervalId)
const ids = await pidTree(execaChildProcess.pid)
ids.forEach(process.kill)
ids.forEach((id) => process.kill(id))

@@ -71,3 +75,3 @@ // The execa process is killed separately in order

const loopIntervalId = setInterval(loop, ERROR_CHECK_INTERVAL)
loopIntervalId = setInterval(loop, ERROR_CHECK_INTERVAL)

@@ -74,0 +78,0 @@ return () => {

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