Socket
Socket
Sign inDemoInstall

@types/webpack

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webpack - npm Package Compare versions

Comparing version 2.2.9 to 2.2.10

26

webpack/index.d.ts

@@ -786,8 +786,26 @@ // Type definitions for webpack 2.2

class AggressiveMergingPlugin extends Plugin {
constructor(options?: {
minSize?: number;
maxSize?: number;
});
constructor(options?: AggressiveMergingPlugin.Options);
}
namespace AggressiveMergingPlugin {
interface Options {
/**
* When options.moveToParents is set, moving to an entry chunk is more expensive.
* Defaults to 10, which means moving to an entry chunk is ten times more expensive than moving to a
* normal chunk.
*/
entryChunkMultiplicator?: number;
/**
* A factor which defines the minimum required size reduction for chunk merging.
* Defaults to 1.5 which means that the total size needs to be reduced by 50% for chunk merging.
*/
minSizeReduce?: number;
/**
* When set, modules that are not in both merged chunks are moved to all parents of the chunk.
* Defaults to false.
*/
moveToParents?: boolean;
}
}
class CommonsChunkPlugin extends Plugin {

@@ -794,0 +812,0 @@ constructor(options?: any);

4

webpack/package.json
{
"name": "@types/webpack",
"version": "2.2.9",
"version": "2.2.10",
"description": "TypeScript definitions for webpack",

@@ -40,4 +40,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "84f3581f6c8cd20c0435d668491e3953b22fd709268701933968b222f0ae8121",
"typesPublisherContentHash": "1de27dd0a9e5a7b7ba024c0af2b453f2c6b40bee9c51883409eb16a1caa7fad8",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 08 Mar 2017 04:40:47 GMT
* Last updated: Thu, 09 Mar 2017 00:25:50 GMT
* Dependencies: tapable, uglify-js, node

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc