🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

webpack

Package Overview
Dependencies
Maintainers
1
Versions
854
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack - npm Package Compare versions

Comparing version

to
0.7.2

7

lib/buildDeps.js

@@ -303,3 +303,4 @@ /*

var reason = {
type: directRequire[moduleName] ? "require" : "async require",
type: "require",
async: !directRequire[moduleName] || undefined,
count: requires[moduleName].length,

@@ -327,3 +328,4 @@ filename: filenameWithLoaders

var reason = {
type: directContexts[context.name] ? "context" : "async context",
type: "context",
async: !directContexts[context.name] || undefined,
filename: filenameWithLoaders

@@ -521,2 +523,3 @@ };

type: "context",
async: reason.async,
dirname: contextModuleNameWithLoaders,

@@ -523,0 +526,0 @@ filename: reason.filename

@@ -82,13 +82,7 @@ /*

case "require":
buf.push(" "+c("\033[36m")+"require (" + reason.count + "x) from " + compressFilename(reason.filename) + c("\033[39m"));
buf.push(" "+c("\033[36m")+(reason.async?"async ":"")+"require (" + reason.count + "x) from " + compressFilename(reason.filename) + c("\033[39m"));
break;
case "context":
buf.push(" "+c("\033[90m")+"context from " + compressFilename(reason.filename) + c("\033[39m"));
buf.push(" "+c("\033[90m")+(reason.async?"async ":"")+"context from " + compressFilename(reason.filename) + c("\033[39m"));
break;
case "async require":
buf.push(" "+c("\033[35m")+"async require (" + reason.count + "x) from " + compressFilename(reason.filename) + c("\033[39m"));
break;
case "async context":
buf.push(" "+c("\033[35ma")+"async context from " + compressFilename(reason.filename) + c("\033[39m"));
break;
default:

@@ -95,0 +89,0 @@ buf.push(" "+c("\033[31m") + reason.type + c("\033[39m"));

{
"name": "webpack",
"version": "0.7.1",
"version": "0.7.2",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",

@@ -591,6 +591,7 @@ # webpack

{ id: 1, size: 234, filename: "...", reasons: [
{ type: "require", // or "context", "async require", "async context"
{ type: "require", // or "context"
async: true,
count: 2,
filename: "/home/.../main.js",
// additionally: dirname: "..." // for type = "context" or "async context"
// additionally: dirname: "..." // for type = "context"
}

@@ -597,0 +598,0 @@ ]},