Socket
Socket
Sign inDemoInstall

webpack-cli

Package Overview
Dependencies
129
Maintainers
5
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.9.0 to 4.9.1

8

bin/cli.js

@@ -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);

4

lib/bootstrap.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc