Skip to content

Commit d6534b5

Browse files
committed
Coalesce bundleMods, update dev deps, 3.2.2
1 parent bd3d37b commit d6534b5

5 files changed

Lines changed: 121 additions & 114 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
### UNRELEASED
66

7+
### [3.2.2](https://github.com/doesdev/rollup-plugin-analyzer/compare/3.2.1...3.2.2)
8+
9+
> 1 November 2019
10+
11+
- Hack: Coalesce bundleMods
12+
- Update dev deps
13+
714
### [3.2.1](https://github.com/doesdev/rollup-plugin-analyzer/compare/3.2.0...3.2.1)
815

916
> 12 September 2019

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ const plugin = (opts = {}) => {
173173

174174
const modules = [];
175175
Object.entries(bundle).forEach(([outId, { modules: bundleMods }]) => {
176+
bundleMods = bundleMods || {};
176177
Object.entries(bundleMods).forEach(([id, moduleInfo]) => {
177178
const dependencies = getDeps(id);
178179
modules.push(Object.assign({}, moduleInfo, { id, dependencies }));

module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ const plugin = (opts = {}) => {
173173

174174
const modules = []
175175
Object.entries(bundle).forEach(([outId, { modules: bundleMods }]) => {
176+
bundleMods = bundleMods || {}
176177
Object.entries(bundleMods).forEach(([id, moduleInfo]) => {
177178
const dependencies = getDeps(id)
178179
modules.push(Object.assign({}, moduleInfo, { id, dependencies }))

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rollup-plugin-analyzer",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "Mad metrics for your rollup bundles, know all the things",
55
"engines" : { "node" : ">=8.0.0" },
66
"main": "index.js",
@@ -40,12 +40,12 @@
4040
},
4141
"homepage": "http://rollup-plugin-analyzer.doesdev.com/",
4242
"devDependencies": {
43-
"husky": "^3.0.4",
43+
"husky": "^3.0.9",
4444
"mvt": "4.0.0",
4545
"rollup": "npm:rollup@latest",
4646
"rollup100": "npm:rollup@1.0.x",
4747
"rollup60": "npm:rollup@0.60.x",
48-
"standard": "^14.0.2"
48+
"standard": "^14.3.1"
4949
},
5050
"dependencies": {}
5151
}

0 commit comments

Comments
 (0)