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.8 to 15.2.9

13

lib/runAll.js

@@ -164,2 +164,10 @@ /** @typedef {import('./index').Logger} Logger */

/**
* This is used to set max event listener count to the total number
* of generated tasks. The event listener is used to keep track of
* the interrupt signal and kill all tasks when it happens. See the
* `interruptExecutionOnError` in `resolveTaskFn`.
*/
let listrTaskCount = 0
const listrTasks = []

@@ -235,2 +243,4 @@

listrTaskCount += chunkListrTasks.length
listrTasks.push({

@@ -326,2 +336,5 @@ title:

debugLog('Set max event listeners to the number of tasks: %i', listrTaskCount)
ctx.events.setMaxListeners(listrTaskCount)
await runner.run()

@@ -328,0 +341,0 @@

2

package.json
{
"name": "lint-staged",
"version": "15.2.8",
"version": "15.2.9",
"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