From 8db1b236e2c2b94b9b19af35845454aa71515850 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:22:34 -0400 Subject: [PATCH] chore(deps): update dependency filesize to v10 (#29379) * chore(deps): update dependency filesize to v10 * empty commit * update filesize require --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane --- package.json | 2 +- scripts/binary/zip.js | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 62603e7b4d6b..7319ab8c1107 100644 --- a/package.json +++ b/package.json @@ -159,7 +159,7 @@ "eslint-plugin-react-hooks": "4.2.0", "eslint-plugin-vue": "7.18.0", "execa": "4.0.0", - "filesize": "4.1.2", + "filesize": "10.1.1", "fs-extra": "9.1.0", "getenv": "^1.0.0", "glob": "7.1.6", diff --git a/scripts/binary/zip.js b/scripts/binary/zip.js index 66ec6a77468f..8ab6af62a1fd 100644 --- a/scripts/binary/zip.js +++ b/scripts/binary/zip.js @@ -4,7 +4,7 @@ const execa = require('execa') const path = require('path') const la = require('lazy-ass') const fs = require('fs') -const filesize = require('filesize') +const { filesize } = require('filesize') // prints disk usage numbers using "du" utility // available on Linux and Mac diff --git a/yarn.lock b/yarn.lock index 7ce1f9313226..50521cc2230a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15917,10 +15917,10 @@ filenamify@^4.1.0, filenamify@^4.3.0: strip-outer "^1.0.1" trim-repeated "^1.0.0" -filesize@4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/filesize/-/filesize-4.1.2.tgz#fcd570af1353cea97897be64f56183adb995994b" - integrity sha512-iSWteWtfNcrWQTkQw8ble2bnonSl7YJImsn9OZKpE2E4IHhXI78eASpDYUljXZZdYj36QsEKjOs/CsiDqmKMJw== +filesize@10.1.1: + version "10.1.1" + resolved "https://registry.yarnpkg.com/filesize/-/filesize-10.1.1.tgz#eb98ce885aa73741199748e70e5b7339cc22c5ff" + integrity sha512-L0cdwZrKlwZQkMSFnCflJ6J2Y+5egO/p3vgRSDQGxQt++QbUZe5gMbRO6kg6gzwQDPvq2Fk9AmoxUNfZ5gdqaQ== fill-keys@^1.0.2: version "1.0.2"