Socket
Socket
Sign inDemoInstall

webpack-cli

Package Overview
Dependencies
120
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.2 to 5.1.0

4

lib/plugins/cli-plugin.js

@@ -41,3 +41,5 @@ "use strict";

if (configPath) {
this.logger.log(`Compiler${name ? ` ${name}` : ""} is using config: '${configPath}'`);
this.logger.log(`Compiler${name ? ` ${name}` : ""} is using config: ${configPath
.map((path) => `'${path}'`)
.join(", ")}`);
}

@@ -44,0 +46,0 @@ });

@@ -64,3 +64,3 @@ /// <reference types="node" />

options: WebpackConfiguration | WebpackConfiguration[];
path: WeakMap<object, string>;
path: WeakMap<object, string[]>;
}

@@ -70,3 +70,2 @@ interface WebpackCLICommand extends Command {

forHelp: boolean | undefined;
options: WebpackCLICommandOption[];
_args: WebpackCLICommandOption[];

@@ -128,2 +127,3 @@ }

disableInterpret?: boolean;
extends?: string[];
argv: Argv;

@@ -151,5 +151,2 @@ };

type ProcessedArguments = Record<string, BasicPrimitive | RegExp | (BasicPrimitive | RegExp)[]>;
type MultipleCompilerStatsOptions = StatsOptions & {
children: StatsOptions[];
};
type CommandAction = Parameters<WebpackCLICommand["action"]>[0];

@@ -179,3 +176,3 @@ interface WebpackRunOptions extends WebpackOptionsNormalized {

interface CLIPluginOptions {
configPath?: string;
configPath?: string[];
helpfulOutput: boolean;

@@ -233,2 +230,2 @@ hot?: boolean | "only";

}
export { IWebpackCLI, WebpackCLICommandOption, WebpackCLIBuiltInOption, WebpackCLIBuiltInFlag, WebpackCLIColors, WebpackCLIStats, WebpackCLIConfig, WebpackCLIExternalCommandInfo, WebpackCLIOptions, WebpackCLICommand, WebpackCLICommandOptions, WebpackCLIMainOption, WebpackCLILogger, WebpackDevServerOptions, WebpackRunOptions, WebpackCompiler, WebpackConfiguration, Argv, Argument, BasicPrimitive, BasicPackageJsonContent, CallableOption, Callback, CLIPluginOptions, CommandAction, CommanderOption, CommandOptions, ConfigOptions, DynamicImport, FileSystemCacheOptions, FlagConfig, ImportLoaderError, Instantiable, JsonExt, ModuleName, MultipleCompilerStatsOptions, PackageInstallOptions, PackageManager, Path, ProcessedArguments, PromptOptions, Problem, PotentialPromise, Rechoir, RechoirError, };
export { IWebpackCLI, WebpackCLICommandOption, WebpackCLIBuiltInOption, WebpackCLIBuiltInFlag, WebpackCLIColors, WebpackCLIStats, WebpackCLIConfig, WebpackCLIExternalCommandInfo, WebpackCLIOptions, WebpackCLICommand, WebpackCLICommandOptions, WebpackCLIMainOption, WebpackCLILogger, WebpackDevServerOptions, WebpackRunOptions, WebpackCompiler, WebpackConfiguration, Argv, Argument, BasicPrimitive, BasicPackageJsonContent, CallableOption, Callback, CLIPluginOptions, CommandAction, CommanderOption, CommandOptions, ConfigOptions, DynamicImport, FileSystemCacheOptions, FlagConfig, ImportLoaderError, Instantiable, JsonExt, ModuleName, PackageInstallOptions, PackageManager, Path, ProcessedArguments, PromptOptions, Problem, PotentialPromise, Rechoir, RechoirError, };
{
"name": "webpack-cli",
"version": "5.0.2",
"version": "5.1.0",
"description": "CLI for webpack & friends",

@@ -38,5 +38,5 @@ "license": "MIT",

"@discoveryjs/json-ext": "^0.5.0",
"@webpack-cli/configtest": "^2.0.1",
"@webpack-cli/configtest": "^2.1.0",
"@webpack-cli/info": "^2.0.1",
"@webpack-cli/serve": "^2.0.2",
"@webpack-cli/serve": "^2.0.3",
"colorette": "^2.0.14",

@@ -69,3 +69,3 @@ "commander": "^10.0.1",

},
"gitHead": "a7946f240d74a887b42fdfdf7aae3ae6e0ee4214"
"gitHead": "5aeab7cb04cfbf42bf23dbb32e28a1e78c941887"
}

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