webpack-cli
Advanced tools
Comparing version 4.9.0 to 4.9.1
@@ -5,8 +5,2 @@ #!/usr/bin/env node | ||
const Module = require("module"); | ||
const originalModuleCompile = Module.prototype._compile; | ||
require("v8-compile-cache"); | ||
const importLocal = require("import-local"); | ||
@@ -24,2 +18,2 @@ const runCLI = require("../lib/bootstrap"); | ||
runCLI(process.argv, originalModuleCompile); | ||
runCLI(process.argv); |
const WebpackCLI = require("./webpack-cli"); | ||
const runCLI = async (args, originalModuleCompile) => { | ||
const runCLI = async (args) => { | ||
// Create a new instance of the CLI object | ||
@@ -8,4 +8,2 @@ const cli = new WebpackCLI(); | ||
try { | ||
cli._originalModuleCompile = originalModuleCompile; | ||
await cli.run(args); | ||
@@ -12,0 +10,0 @@ } catch (error) { |
{ | ||
"name": "webpack-cli", | ||
"version": "4.9.0", | ||
"version": "4.9.1", | ||
"description": "CLI for webpack & friends", | ||
@@ -43,3 +43,2 @@ "license": "MIT", | ||
"rechoir": "^0.7.0", | ||
"v8-compile-cache": "^2.2.0", | ||
"webpack-merge": "^5.7.3" | ||
@@ -46,0 +45,0 @@ }, |
Sorry, the diff of this file is too big to display
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
13
16
81763
2102
- Removedv8-compile-cache@^2.2.0
- Removedv8-compile-cache@2.4.0(transitive)