Comparing version 0.5.2 to 0.5.3
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.5.3 | ||
* Updated dependencies to resolve security vulnerabilities | ||
* Fixed entrypoints iteration | ||
## 0.5.2 | ||
@@ -5,0 +9,0 @@ * Fixed files importing in HTML |
@@ -5,4 +5,2 @@ var createReactClass = require('create-react-class') | ||
var fixClick = require('../lib/fix-click') | ||
var UibookCheckbox = createReactClass({ | ||
@@ -9,0 +7,0 @@ spaceToggle: function (e) { |
{ | ||
"name": "uibook", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Tool for visual testing of React components with real media queries", | ||
@@ -27,10 +27,10 @@ "main": "plugin.js", | ||
"devDependencies": { | ||
"eslint": "5.16.0", | ||
"eslint-config-logux": "27.0.0", | ||
"eslint-config-standard": "12.0.0", | ||
"eslint-plugin-es5": "1.3.1", | ||
"eslint-plugin-import": "2.17.3", | ||
"eslint-plugin-jest": "22.6.4", | ||
"@logux/eslint-config": "^29.1.1", | ||
"eslint": "6.1.0", | ||
"eslint-config-standard": "13.0.1", | ||
"eslint-plugin-es5": "1.4.1", | ||
"eslint-plugin-import": "2.18.2", | ||
"eslint-plugin-jest": "22.12.0", | ||
"eslint-plugin-node": "9.1.0", | ||
"eslint-plugin-promise": "4.1.1", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-security": "1.4.0", | ||
@@ -37,0 +37,0 @@ "eslint-plugin-standard": "4.0.0", |
@@ -64,6 +64,15 @@ let SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin') | ||
let publicPath = compilation.outputOptions.publicPath | ||
let entrypoints = [] | ||
let imports = '' | ||
let files = [] | ||
compilation.entrypoints.forEach(function (i) { | ||
if (Array.isArray(compilation.entrypoints)) { | ||
entrypoints = compilation.entrypoints | ||
} else if (typeof compilation.entrypoints === 'object') { | ||
entrypoints = Object.values(compilation.entrypoints) | ||
} else { | ||
entrypoints = [compilation.entrypoints] | ||
} | ||
entrypoints.forEach(function (i) { | ||
if (i.name === 'uibook') { | ||
@@ -70,0 +79,0 @@ i.chunks.forEach(function (chunk) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58491
1339