You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-webpack-plugin

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-webpack-plugin - npm Package Compare versions

Comparing version

to
5.0.1

26

dist/index.js

@@ -139,4 +139,3 @@ "use strict";

// await and interpret results
compilation.hooks.additionalAssets.tapPromise(this.key, processResults);
async function processResults() {
compilation.hooks.additionalAssets.tapAsync(this.key, async function (callback) {
const {

@@ -147,18 +146,21 @@ errors,

} = await report();
if (warnings && !options.failOnWarning) {
if (warnings) {
// @ts-ignore
compilation.warnings.push(warnings);
} else if (warnings) {
// @ts-ignore
compilation.errors.push(warnings);
}
if (errors && !options.failOnError) {
if (errors) {
// @ts-ignore
compilation.warnings.push(errors);
} else if (errors) {
// @ts-ignore
compilation.errors.push(errors);
}
if (generateReportAsset) await generateReportAsset(compilation);
}
if (generateReportAsset) {
await generateReportAsset(compilation);
}
if (warnings && options.failOnWarning) {
callback(warnings);
} else if (errors && options.failOnError) {
callback(errors);
} else {
callback();
}
});
});

@@ -165,0 +167,0 @@ }

{
"name": "eslint-webpack-plugin",
"version": "5.0.0",
"version": "5.0.1",
"description": "A ESLint plugin for webpack",

@@ -60,10 +60,10 @@ "license": "MIT",

"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@babel/cli": "^7.27.0",
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@types/fs-extra": "^11.0.4",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.13.1",
"@types/node": "^22.14.0",
"@types/normalize-path": "^3.0.2",

@@ -75,16 +75,16 @@ "@types/webpack": "^5.28.5",

"cross-env": "^7.0.3",
"cspell": "^8.17.3",
"cspell": "^8.18.1",
"del": "^8.0.0",
"del-cli": "^6.0.0",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"fs-extra": "^11.3.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.4.3",
"lint-staged": "^15.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"prettier": "^3.5.3",
"standard-version": "^9.5.0",
"typescript": "^5.7.3",
"webpack": "^5.97.1"
"typescript": "^5.8.3",
"webpack": "^5.99.5"
},

@@ -91,0 +91,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.