size-limit
Advanced tools
Comparing version 0.7.0 to 0.7.1
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.7.1 | ||
* Fix multiline error messages in CLI. | ||
* Do not load `node-zopfli` as loose dependency. | ||
## 0.7 | ||
@@ -5,0 +9,0 @@ * Add glob pattern support to `sizeLimit` section. |
@@ -142,3 +142,3 @@ #!/usr/bin/env node | ||
if (e.sizeLimit) { | ||
msg = e.message | ||
msg = e.message.split('. ').join('.\n') | ||
} else if (e.message.indexOf('Module not found:') !== -1) { | ||
@@ -145,0 +145,0 @@ const first = e.message.match(/Module not found:[^\n]*/)[0] |
{ | ||
"name": "size-limit", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Show package size and return error if it is bigger than limits allow", | ||
@@ -18,3 +18,3 @@ "keywords": [ | ||
"ci-job-number": "^0.3.0", | ||
"compression-webpack-plugin": "^0.4.0", | ||
"compression-webpack-plugin": "^1.0.0", | ||
"file-loader": "^0.11.2", | ||
@@ -24,3 +24,3 @@ "globby": "^6.1.0", | ||
"read-pkg-up": "^2.0.0", | ||
"webpack": "^3.2.0", | ||
"webpack": "^3.3.0", | ||
"webpack-bundle-analyzer": "^2.8.3", | ||
@@ -31,3 +31,3 @@ "yargs": "^8.0.2" | ||
"cross-spawn": "^5.1.0", | ||
"eslint": "^4.2.0", | ||
"eslint": "^4.3.0", | ||
"eslint-config-logux": "^16.0.0", | ||
@@ -37,3 +37,3 @@ "eslint-config-standard": "^10.2.1", | ||
"eslint-plugin-jest": "^20.0.3", | ||
"eslint-plugin-node": "^5.1.0", | ||
"eslint-plugin-node": "^5.1.1", | ||
"eslint-plugin-promise": "^3.5.0", | ||
@@ -43,3 +43,3 @@ "eslint-plugin-security": "^1.4.0", | ||
"jest": "^20.0.4", | ||
"lint-staged": "^4.0.1", | ||
"lint-staged": "^4.0.2", | ||
"pre-commit": "^1.2.2", | ||
@@ -46,0 +46,0 @@ "redux": "^3.7.2", |
@@ -59,7 +59,8 @@ # Size Limit | ||
+ { | ||
+ "path": "index.js" | ||
+ "path": "index.js", | ||
+ "limit": "9 KB" | ||
+ } | ||
+ ], | ||
"scripts": { | ||
+ "size": "size-limit 9KB", | ||
+ "size": "size-limit", | ||
"test": "jest && eslint ." | ||
@@ -66,0 +67,0 @@ } |
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
15848
142
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcacache@10.0.4(transitive)
+ Addedcommondir@1.0.1(transitive)
+ Addedcompression-webpack-plugin@1.1.12(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcopy-concurrently@1.0.5(transitive)
+ Addedcyclist@1.0.2(transitive)
+ Addedduplexify@3.7.1(transitive)
+ Addedfind-cache-dir@1.0.0(transitive)
+ Addedflush-write-stream@1.1.1(transitive)
+ Addedfrom2@2.3.0(transitive)
+ Addedfs-write-stream-atomic@1.0.10(transitive)
+ Addediferr@0.1.5(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedmake-dir@1.3.0(transitive)
+ Addedmississippi@2.0.0(transitive)
+ Addedmove-concurrently@1.0.1(transitive)
+ Addedparallel-transform@1.2.0(transitive)
+ Addedpkg-dir@2.0.0(transitive)
+ Addedpromise-inflight@1.0.1(transitive)
+ Addedpump@2.0.1(transitive)
+ Addedpumpify@1.5.1(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedrun-queue@1.0.3(transitive)
+ Addedserialize-javascript@1.9.1(transitive)
+ Addedssri@5.3.0(transitive)
+ Addedstream-each@1.2.3(transitive)
+ Addedstream-shift@1.0.3(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedunique-filename@1.1.1(transitive)
+ Addedunique-slug@2.0.2(transitive)
+ Addedy18n@4.0.3(transitive)
- Removedansi-regex@3.0.1(transitive)
- Removedare-we-there-yet@1.1.7(transitive)
- Removedasync@0.2.10(transitive)
- Removedbl@4.1.0(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedclone@1.0.4(transitive)
- Removedcommander@3.0.2(transitive)
- Removedcompression-webpack-plugin@0.4.0(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removeddecompress-response@4.2.1(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removeddefaults@1.0.4(transitive)
- Removeddelegates@1.0.0(transitive)
- Removeddetect-libc@1.0.3(transitive)
- Removedexpand-template@2.0.3(transitive)
- Removedfs-constants@1.0.0(transitive)
- Removedgauge@2.7.4(transitive)
- Removedgithub-from-package@0.0.0(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removedini@1.3.8(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedmimic-response@2.1.0(transitive)
- Removedmkdirp-classic@0.5.3(transitive)
- Removednapi-build-utils@1.0.2(transitive)
- Removednode-abi@2.30.1(transitive)
- Removednode-addon-api@1.7.2(transitive)
- Removednode-zopfli@2.1.4(transitive)
- Removednoop-logger@0.1.1(transitive)
- Removednpmlog@4.1.2(transitive)
- Removedprebuild-install@5.3.6(transitive)
- Removedpump@3.0.2(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@3.1.1(transitive)
- Removedsource-list-map@0.1.8(transitive)
- Removedstring-width@2.1.1(transitive)
- Removedstrip-ansi@4.0.0(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedtar-fs@2.1.1(transitive)
- Removedtar-stream@2.2.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedwebpack-sources@0.1.5(transitive)
- Removedwhich-pm-runs@1.1.0(transitive)
- Removedwide-align@1.1.5(transitive)
Updatedwebpack@^3.3.0