webpack-runtime-api
Advanced tools
+8
-2
@@ -102,6 +102,12 @@ "use strict"; | ||
| const watching = compiler.watch({}, (err, stats) => { | ||
| if (err || !stats) | ||
| if (err || !stats) { | ||
| lastStatus = [undefined, err || new Error("No stats from build")]; | ||
| else | ||
| } | ||
| else { | ||
| lastStatus = [stats]; | ||
| console.log(stats.toString({ | ||
| preset: "minimal", | ||
| colors: true, | ||
| })); | ||
| } | ||
| for (const deferred of waiting) { | ||
@@ -108,0 +114,0 @@ if (lastStatus.length === 2) |
+1
-1
| { | ||
| "name": "webpack-runtime-api", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "files": [ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
7406
2.03%184
3.37%