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.0-beta.3 to 3.0.0-rc.0

25

CHANGELOG.md

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

<a name="3.0.0-rc.0"></a>
# [3.0.0-rc.0](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v3.0.0-beta.3...v3.0.0-rc.0) (2017-07-07)
### Code Refactoring
* Update deprecated `chunk.modules` functions ([#553](https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/553)) ([be7936d](https://github.com/webpack-contrib/extract-text-webpack-plugin/commit/be7936d))
### BREAKING CHANGES
* Updates to `Chunk.mapModules | forEachModule | getNumberOfModules`. This release is not backwards compatible with `Webpack 2.x` due to breaking changes in webpack/webpack#4764
<a name="3.0.0-beta.3"></a>
# [3.0.0-beta.3](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2017-06-24)
### Bug Fixes
* Distribute schema with package ([5d0c28f](https://github.com/webpack-contrib/extract-text-webpack-plugin/commit/5d0c28f))
<a name="3.0.0-beta.2"></a>
# [3.0.0-beta.2](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2017-06-24)
* Skipped due to deployment issues with schema
<a name="3.0.0-beta.1"></a>

@@ -20,8 +38,5 @@ # [3.0.0-beta.1](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v3.0.0-beta.0...v3.0.0-beta.1) (2017-06-24)

### Bug Fixes
* Skipped due to deployment issues with schema
* Distribute schema with package ([5d0c28f](https://github.com/webpack-contrib/extract-text-webpack-plugin/commit/5d0c28f))
<a name="3.0.0-beta.0"></a>

@@ -28,0 +43,0 @@ # [3.0.0-beta.0](https://github.com/webpack-contrib/extract-text-webpack-plugin/compare/v2.1.2...v3.0.0-beta.0) (2017-06-23)

11

dist/index.js

@@ -96,3 +96,3 @@ 'use strict';

checkedChunks.push(chunk);
chunk.modules.slice().forEach(function (module) {
chunk.forEachModule(function (module) {
intoChunk.addModule(module);

@@ -113,3 +113,3 @@ module.addChunk(intoChunk);

var source = new _webpackSources.ConcatSource();
chunk.modules.forEach(function (module) {
chunk.forEachModule(function (module) {
var moduleSource = module.source();

@@ -190,6 +190,7 @@ source.add(_this2.applyAdditionalInformation(moduleSource, module.additionalInformation));

var shouldExtract = !!(options.allChunks || (0, _helpers.isInitialOrHasNoParents)(chunk));
chunk.sortModules();
_async2.default.forEach(chunk.mapModules(function (c) {
return c;
}), function (module, callback) {
// eslint-disable-line no-shadow, arrow-body-style
// eslint-disable-line no-shadow
var meta = module[NS];

@@ -237,3 +238,3 @@ if (meta && (!meta.options.id || meta.options.id === id)) {

if (!(0, _helpers.isInitialOrHasNoParents)(extractedChunk)) {
extractedChunk.modules.slice().forEach(function (module) {
extractedChunk.forEachModule(function (module) {
extractedChunk.removeModule(module);

@@ -249,3 +250,3 @@ });

extractedChunks.forEach(function (extractedChunk) {
if (extractedChunk.modules.length) {
if (extractedChunk.getNumberOfModules()) {
extractedChunk.modules.sort(function (a, b) {

@@ -252,0 +253,0 @@ if (!options.ignoreOrder && (0, _helpers.isInvalidOrder)(a, b)) {

{
"name": "extract-text-webpack-plugin",
"version": "3.0.0-beta.3",
"version": "3.0.0-rc.0",
"author": "Tobias Koppers @sokra",

@@ -24,3 +24,3 @@ "description": "Extract text from bundle into a file.",

"security": "nsp check",
"test": "jest --no-cache",
"test": "jest",
"test:watch": "jest --watch",

@@ -59,3 +59,4 @@ "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",

"style-loader": "^0.18.2",
"webpack-defaults": "^1.4.0"
"webpack": "^3.1.0",
"webpack-defaults": "^1.5.0"
},

@@ -66,3 +67,3 @@ "engines": {

"peerDependencies": {
"webpack": "^3.0.0"
"webpack": "^3.1.0"
},

@@ -69,0 +70,0 @@ "homepage": "http://github.com/webpack-contrib/extract-text-webpack-plugin",

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