🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@webpack-cli/configtest

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webpack-cli/configtest - npm Package Compare versions

Comparing version

to
2.0.0

8

lib/index.js

@@ -34,9 +34,3 @@ "use strict";

try {
// @ts-expect-error cli.webpack.validate returns void
const error = cli.webpack.validate(config.options);
// TODO remove this after drop webpack@4
if (error && error.length > 0) {
// @ts-expect-error schema argument is missing
throw new cli.webpack.WebpackOptionsValidationError(error);
}
cli.webpack.validate(config.options);
}

@@ -43,0 +37,0 @@ catch (error) {

11

package.json
{
"name": "@webpack-cli/configtest",
"version": "1.2.0",
"version": "2.0.0",
"description": "Validate a webpack configuration.",

@@ -8,2 +8,5 @@ "main": "lib/index.js",

"license": "MIT",
"engines": {
"node": ">=14.15.0"
},
"publishConfig": {

@@ -21,6 +24,6 @@ "access": "public"

"peerDependencies": {
"webpack": "4.x.x || 5.x.x",
"webpack-cli": "4.x.x"
"webpack": "5.x.x",
"webpack-cli": "5.x.x"
},
"gitHead": "20882d463450d010bb76e0824fe555e9785e9561"
"gitHead": "1d6ada1a84c68a00e56c536d2f004f60939bd946"
}

@@ -5,2 +5,6 @@ # webpack-cli configtest

> **Note**
>
> This package is used by webpack-cli under-the-hood and is not intended for installation
## Description

@@ -7,0 +11,0 @@