Socket
Socket
Sign inDemoInstall

webpack

Package Overview
Dependencies
55
Maintainers
1
Versions
832
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.12 to 0.3.13

test/browsertest/css/generateCss.js

2

lib/buildDeps.js

@@ -137,3 +137,3 @@ /*

done = true;
callback("Loader throwed exeception: " + e);
callback("Loader throwed exeception: " + (e.stack ? e.stack : e));
} else {

@@ -140,0 +140,0 @@ if(e.stack) console.error(e.stack);

@@ -137,3 +137,3 @@ /*

options.resolve.loaders.push({test: /\.css$/, loader: "style!css"});
options.resolve.loaders.push({test: /\.less$/, loader: "style!less"});
options.resolve.loaders.push({test: /\.less$/, loader: "style!css!val!less"});

@@ -140,0 +140,0 @@ options.events.emit("task", "create ouput directory");

@@ -184,3 +184,3 @@ /*

"// module.chunks = ", module.chunks.join(", "), "\n",
"//@ sourceURL=webpack-module://", encodeURI(module.filename).replace(/%5C|%2F/g, "/")
"//@ sourceURL=webpack-module://", encodeURI(module.filename || module.dirname).replace(/%5C|%2F/g, "/")
].join("")),

@@ -187,0 +187,0 @@ ");"].join("");

{
"name": "webpack",
"version": "0.3.12",
"version": "0.3.13",
"author": "Tobias Koppers @sokra",

@@ -18,3 +18,5 @@ "description": "Packs CommonJs 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.",

"style-loader": "0.1.x",
"script-loader": "0.1.x"
"script-loader": "0.1.x",
"bundle-loader": "0.1.x",
"val-loader": "0.1.x"
},

@@ -21,0 +23,0 @@ "licenses": [

@@ -147,3 +147,4 @@ // Polyfill for node.js

{test: /\.jade$/, loader: "jade"},
{test: /\.css$/, loader: "style!css"}
{test: /\.css$/, loader: "style!css"},
{test: /\.less$/, loader: "style!css!val!less"}
],

@@ -150,0 +151,0 @@ loaderExtensions: [".webpack-loader.js", ".loader.js", ".js", ""],

@@ -128,2 +128,5 @@ // Should not break it... should not include complete directory...

window.test(require("css!../css/stylesheet.css").indexOf(".rule-import2") !== -1, "Buildin 'css' loader, double imported rule");
window.test(require("css!val!../css/generateCss").indexOf("generated") !== -1, "Buildin 'val' loader, combined with css");
window.test(require("css!val!../css/generateCss").indexOf(".rule-import2") !== -1, "Buildin 'val' loader, combined with css, imported css");
window.test(require("raw!val!../css/generateCss").indexOf("generated") !== -1, "Buildin 'val' loader, combined with raw");
window.test(require("less!../less/stylesheet.less").indexOf(".less-rule-direct") !== -1, "Buildin 'less' loader, direct content");

@@ -142,5 +145,3 @@ window.test(require("less!../less/stylesheet.less").indexOf(".less-rule-import1") !== -1, "Buildin 'less' loader, imported rule");

require.ensure([], function(require) {
// Tests from node.js
require("../nodetests");
});
// Tests from node.js
require("bundle!../nodetests");
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