Socket
Socket
Sign inDemoInstall

extract-text-webpack-plugin

Package Overview
Dependencies
311
Maintainers
8
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="3.0.2"></a>
## [3.0.2](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v3.0.1...v3.0.2) (2017-10-25)
### Bug Fixes
* refer to the `entrypoint` instead of the first `module` (`module.identifier`) ([#601](https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/601)) ([d5a1de2](https://github.com/webpack-contrib/extract-text-webpack-plugin/commit/d5a1de2))
<a name="3.0.1"></a>

@@ -7,0 +17,0 @@ ## [3.0.1](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v3.0.0...v3.0.1) (2017-10-03)

19

dist/loader.js

@@ -133,12 +133,13 @@ 'use strict';

if (typeof text === 'string') {
text = [[0, text]];
text = [[compilation.entries[0].identifier(), text]];
} else {
text.forEach(function (item) {
var id = item[0];
compilation.modules.forEach(function (module) {
if (module.id === id) {
item[0] = module.identifier();
}
});
});
}
text.forEach(function (item) {
var id = item[0];
compilation.modules.forEach(function (module) {
if (module.id === id) {
item[0] = module.identifier();
}
});
});
_this[NS](text, query);

@@ -145,0 +146,0 @@ if (text.locals && typeof resultSource !== 'undefined') {

{
"name": "extract-text-webpack-plugin",
"version": "3.0.1",
"version": "3.0.2",
"author": "Tobias Koppers @sokra",

@@ -39,26 +39,26 @@ "description": "Extract text from bundle into a file.",

"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.5.2",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"del-cli": "^1.0.0",
"eslint": "^4.0.0",
"eslint-config-webpack": "^1.2.3",
"eslint-plugin-import": "^2.3.0",
"file-loader": "^0.11.2",
"jest": "^20.0.4",
"lint-staged": "^3.6.1",
"nsp": "^2.6.3",
"babel-cli": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"cross-env": "^5.1.0",
"css-loader": "^0.28.7",
"del-cli": "^1.1.0",
"eslint": "^4.9.0",
"eslint-config-webpack": "^1.2.5",
"eslint-plugin-import": "^2.8.0",
"file-loader": "^1.1.5",
"jest": "^21.2.1",
"lint-staged": "^4.3.0",
"nsp": "^2.8.1",
"pre-commit": "^1.2.2",
"raw-loader": "^0.5.1",
"standard-version": "^4.1.0",
"style-loader": "^0.18.2",
"webpack": "^3.1.0",
"webpack-defaults": "^1.5.0"
"standard-version": "^4.2.0",
"style-loader": "^0.19.0",
"webpack": "^3.8.1",
"webpack-defaults": "^1.6.0"
},
"engines": {
"node": ">= 4.3 < 5.0.0 || >= 5.10"
"node": ">= 4.8 < 5.0.0 || >= 5.10"
},

@@ -65,0 +65,0 @@ "peerDependencies": {

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