Skip to content

Commit

Permalink
Merge pull request #10038 from bertdeblock/update-filesize-package
Browse files Browse the repository at this point in the history
Update `filesize` to v10
  • Loading branch information
bertdeblock committed Oct 2, 2022
2 parents 1de5ebc + 75492c3 commit 4a656cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/models/asset-size-printer.js
Expand Up @@ -11,7 +11,7 @@ module.exports = class AssetPrinterSize {
}

print() {
const filesize = require('filesize');
const { filesize } = require('filesize');
let ui = this.ui;

return this.makeAssetSizesObject().then((files) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"execa": "^5.1.1",
"exit": "^0.1.2",
"express": "^4.18.1",
"filesize": "^9.0.11",
"filesize": "^10.0.5",
"find-up": "^5.0.0",
"find-yarn-workspace-root": "^2.0.0",
"fixturify-project": "^2.1.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -3680,10 +3680,10 @@ file-uri-to-path@2:
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-2.0.0.tgz#7b415aeba227d575851e0a5b0c640d7656403fba"
integrity sha512-hjPFI8oE/2iQPVe4gbrJ73Pp+Xfub2+WI2LlXDbsaJBwT5wuMh35WNWVYYTpnz895shtwfyutMFLFywpQAFdLg==

filesize@^9.0.11:
version "9.0.11"
resolved "https://registry.yarnpkg.com/filesize/-/filesize-9.0.11.tgz#4ac3a42c084232dd9b2a1da0107f32d42fcfa5e4"
integrity sha512-gTAiTtI0STpKa5xesyTA9hA3LX4ga8sm2nWRcffEa1L/5vQwb4mj2MdzMkoHoGv4QzfDshQZuYscQSf8c4TKOA==
filesize@^10.0.5:
version "10.0.5"
resolved "https://registry.yarnpkg.com/filesize/-/filesize-10.0.5.tgz#d77553eb00a525f4cc7983047d2197cda6fff321"
integrity sha512-qrzyt8gLh86nsyYiC3ibI5KyIYRCWg2yqIklYrWF4a0qNfekik4OQfn7AoPJG2hRrPMSlH6fET4VEITweZAzjA==

fill-range@^4.0.0:
version "4.0.0"
Expand Down

0 comments on commit 4a656cd

Please sign in to comment.