Socket
Socket
Sign inDemoInstall

extract-text-webpack-plugin

Package Overview
Dependencies
206
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.1 to 0.8.2

.editorconfig

5

ExtractedModule.js

@@ -19,2 +19,7 @@ /*

ExtractedModule.prototype.getOrder = function() {
// http://stackoverflow.com/a/14676665/1458162
return /^@import url/.test(this._source) ? 0 : 1;
};
ExtractedModule.prototype.addChunk = function(chunk) {

@@ -21,0 +26,0 @@ var idx = this.chunks.indexOf(chunk);

4

index.js

@@ -85,2 +85,6 @@ /*

function getOrder(a, b) {
var aOrder = a.getOrder();
var bOrder = b.getOrder();
if(aOrder < bOrder) return -1;
if(aOrder > bOrder) return 1;
var aIndex = a.getOriginalModule().index2;

@@ -87,0 +91,0 @@ var bIndex = b.getOriginalModule().index2;

@@ -84,2 +84,5 @@ /*

if(compilation.errors.length > 0) {
return callback(compilation.errors[0]);
}
compilation.fileDependencies.forEach(function(dep) {

@@ -86,0 +89,0 @@ this.addDependency(dep);

7

package.json
{
"name": "extract-text-webpack-plugin",
"version": "0.8.1",
"version": "0.8.2",
"author": "Tobias Koppers @sokra",
"description": "Extract text from bundle into a file.",
"peerDependencies": {
"webpack": "^1.9.4"
"webpack": "^1.9.11"
},
"dependencies": {
"async": "~0.2.10",
"source-map": "~0.1.38",
"async": "^1.2.1",
"loader-utils": "~0.2.3"

@@ -13,0 +12,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc