wallaby-webpack
Advanced tools
Comparing version 3.9.15 to 3.9.16
@@ -85,2 +85,10 @@ 'use strict'; | ||
var webpackPackageJson = WebpackPostprocessor._tryRequireFrom('webpack/package.json'); | ||
if (webpackPackageJson && webpackPackageJson.version) { | ||
// Check if majorversion is >= 5 | ||
if (parseInt(webpackPackageJson.version.split('.')[0], 10) >= 5) { | ||
throw new Error(`Unsupported webpack version. The 'wallaby-webpack\' package does not support your project's version of webpack (${webpackPackageJson.version}). Use Wallaby's built-in webpack integration instead: https://wallabyjs.com/docs/integration/webpack-built-in.html`); | ||
} | ||
} | ||
return wallaby => { | ||
@@ -87,0 +95,0 @@ var logger = wallaby.logger; |
@@ -0,0 +0,0 @@ 'use strict'; |
{ | ||
"name": "wallaby-webpack", | ||
"version": "3.9.15", | ||
"version": "3.9.16", | ||
"description": "Webpack postprocessor for wallaby.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ # wallaby-webpack |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26180
510
1