count-component-webpack-plugin
Advanced tools
+4
-4
@@ -39,5 +39,5 @@ 'use strict'; | ||
| var orderedObj = {}; | ||
| Object.keys(trait).forEach(function (innerKey) { | ||
| // js对象键值对是有序的,拍一下方便看 | ||
| orderedObj = Object.keys(flatObj[innerKey]) | ||
| Object.keys(flatObj).forEach(function (innerKey) { | ||
| // js对象键值对是有序的,排一下方便看 | ||
| orderedObj = Object.keys(flatObj) | ||
| .sort() | ||
@@ -76,3 +76,3 @@ .reduce(function (acc, cur) { | ||
| }); | ||
| lodash.mapKeys(tp.percentage, function (_, key) { return "".concat(key, "Per"); }); | ||
| tp.percentage = lodash.mapKeys(tp.percentage, function (_, key) { return "".concat(key, "Per"); }); | ||
| }); | ||
@@ -79,0 +79,0 @@ }); |
+6
-2
| { | ||
| "name": "count-component-webpack-plugin", | ||
| "version": "1.2.18", | ||
| "version": "1.2.19", | ||
| "description": "count-components", | ||
@@ -15,3 +15,7 @@ "main": "dist/main.js", | ||
| ], | ||
| "author": "", | ||
| "author": "杜金华", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/FHSWar/count-components-webpack-plugin" | ||
| }, | ||
| "license": "ISC", | ||
@@ -18,0 +22,0 @@ "devDependencies": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
20704
0.69%1
-50%0
-100%0
-100%