From c0ba36fcd664507b672511a6999bca69938a100a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 25 Jun 2023 23:51:03 +0100 Subject: [PATCH] chore(deps): update dependency esbuild to ^0.18.8 (main) (#21736) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe --- packages/nuxt/package.json | 2 +- packages/vite/package.json | 2 +- pnpm-lock.yaml | 146 ++++++++++++++++++------------------- test/bundle.test.ts | 2 +- 4 files changed, 76 insertions(+), 76 deletions(-) diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 968e8dcdda..2618869176 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -68,7 +68,7 @@ "defu": "^6.1.2", "destr": "^2.0.0", "devalue": "^4.3.2", - "esbuild": "^0.18.6", + "esbuild": "^0.18.8", "escape-string-regexp": "^5.0.0", "estree-walker": "^3.0.3", "fs-extra": "^11.1.1", diff --git a/packages/vite/package.json b/packages/vite/package.json index c3ddb5fd7d..0f9ec41247 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -34,7 +34,7 @@ "consola": "^3.1.0", "cssnano": "^6.0.1", "defu": "^6.1.2", - "esbuild": "^0.18.6", + "esbuild": "^0.18.8", "escape-string-regexp": "^5.0.0", "estree-walker": "^3.0.3", "externality": "^1.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bf8f921615..9dea58cf47 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -371,8 +371,8 @@ importers: specifier: ^4.3.2 version: 4.3.2 esbuild: - specifier: ^0.18.6 - version: 0.18.6 + specifier: ^0.18.8 + version: 0.18.8 escape-string-regexp: specifier: ^5.0.0 version: 5.0.0 @@ -668,8 +668,8 @@ importers: specifier: ^6.1.2 version: 6.1.2 esbuild: - specifier: ^0.18.6 - version: 0.18.6 + specifier: ^0.18.8 + version: 0.18.8 escape-string-regexp: specifier: ^5.0.0 version: 5.0.0 @@ -1407,8 +1407,8 @@ packages: requiresBuild: true optional: true - /@esbuild/android-arm64@0.18.6: - resolution: {integrity: sha512-pL0Ci8P9q1sWbtPx8CXbc8JvPvvYdJJQ+LO09PLFsbz3aYNdFBGWJjiHU+CaObO4Ames+GOFpXRAJZS2L3ZK/A==} + /@esbuild/android-arm64@0.18.8: + resolution: {integrity: sha512-8N8gkGu8vBq/cRPs8DDQmdwmS097A+XRHC/ay6wJjSEdLV3onTnfIkzew+g86k5bcakbxsE7zynCIhG0IgCT5Q==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -1423,8 +1423,8 @@ packages: requiresBuild: true optional: true - /@esbuild/android-arm@0.18.6: - resolution: {integrity: sha512-J3lwhDSXBBppSzm/LC1uZ8yKSIpExc+5T8MxrYD9KNVZG81FOAu2VF2gXi/6A/LwDDQQ+b6DpQbYlo3VwxFepQ==} + /@esbuild/android-arm@0.18.8: + resolution: {integrity: sha512-xDncukyW2b/JU04AZJ6cSAp4FaoAMyxFFTgmmNEKbjn2MwThw/ekHwt3d84Nm0fJG2KqKBS3D6uGDo2jzDN/uQ==} engines: {node: '>=12'} cpu: [arm] os: [android] @@ -1439,8 +1439,8 @@ packages: requiresBuild: true optional: true - /@esbuild/android-x64@0.18.6: - resolution: {integrity: sha512-hE2vZxOlJ05aY28lUpB0y0RokngtZtcUB+TVl9vnLEnY0z/8BicSvrkThg5/iI1rbf8TwXrbr2heEjl9fLf+EA==} + /@esbuild/android-x64@0.18.8: + resolution: {integrity: sha512-vLTz/naWZMVY01T0B6gneUmm9RTYBlhRzjSCDuQCZURC1Lp3Fw2gP32ZFTtIaMBK+hfSJilnmgTPuUkCTH6CwA==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -1455,8 +1455,8 @@ packages: requiresBuild: true optional: true - /@esbuild/darwin-arm64@0.18.6: - resolution: {integrity: sha512-/tuyl4R+QhhoROQtuQj9E/yfJtZNdv2HKaHwYhhHGQDN1Teziem2Kh7BWQMumfiY7Lu9g5rO7scWdGE4OsQ6MQ==} + /@esbuild/darwin-arm64@0.18.8: + resolution: {integrity: sha512-14oQ5IgillH6K7j750ug0IUfy86ql1CrHx4uxRMlq0lH5NthxEH+QIgqIzUUyDJdw0lOodtr4L905Q9VYIG2+g==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -1471,8 +1471,8 @@ packages: requiresBuild: true optional: true - /@esbuild/darwin-x64@0.18.6: - resolution: {integrity: sha512-L7IQga2pDT+14Ti8HZwsVfbCjuKP4U213T3tuPggOzyK/p4KaUJxQFXJgfUFHKzU0zOXx8QcYRYZf0hSQtppkw==} + /@esbuild/darwin-x64@0.18.8: + resolution: {integrity: sha512-OyEf+21R32glxR+IJpPhBgcbxSbc7adPe4hYggu2mbjqAAjJJAaYoYjNeojyp+ZKY2ZRX3FimBbeExVoPdEDfg==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -1487,8 +1487,8 @@ packages: requiresBuild: true optional: true - /@esbuild/freebsd-arm64@0.18.6: - resolution: {integrity: sha512-bq10jFv42V20Kk77NvmO+WEZaLHBKuXcvEowixnBOMkaBgS7kQaqTc77ZJDbsUpXU3KKNLQFZctfaeINmeTsZA==} + /@esbuild/freebsd-arm64@0.18.8: + resolution: {integrity: sha512-ur5cFSmlE5YPqD+5X9E32wJ2nBnz/Lk30QuAiotam0kx2e2f9+dgTarqaDhUKt+xJo+6OLhCpHAlogQ1TAvJrw==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -1503,8 +1503,8 @@ packages: requiresBuild: true optional: true - /@esbuild/freebsd-x64@0.18.6: - resolution: {integrity: sha512-HbDLlkDZqUMBQaiday0pJzB6/8Xx/10dI3xRebJBReOEeDSeS+7GzTtW9h8ZnfB7/wBCqvtAjGtWQLTNPbR2+g==} + /@esbuild/freebsd-x64@0.18.8: + resolution: {integrity: sha512-j0dgVXUyInggnvEgFGS7FXTQncRwAmHkgAy8YE52kOsozkimpapE3Kuuwb6MXbhnqLvJevaFgGSAlseDlkXAlg==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -1519,8 +1519,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-arm64@0.18.6: - resolution: {integrity: sha512-NMY9yg/88MskEZH2s4i6biz/3av+M8xY5ua4HE7CCz5DBz542cr7REe317+v7oKjnYBCijHpkzo5vU85bkXQmQ==} + /@esbuild/linux-arm64@0.18.8: + resolution: {integrity: sha512-Xp8brdqVVSTiN3/GGEAkMN1V2VCUrt11lxqHopYsbAvIf2YAfaW02/NFlekMq7SaAVcReYqbO7LReaOLzHaxgw==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -1535,8 +1535,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-arm@0.18.6: - resolution: {integrity: sha512-C+5kb6rgsGMmvIdUI7v1PPgC98A6BMv233e97aXZ5AE03iMdlILFD/20HlHrOi0x2CzbspXn9HOnlE4/Ijn5Kw==} + /@esbuild/linux-arm@0.18.8: + resolution: {integrity: sha512-moCWasFnLWfVmZjux2wE1YRoJlQ36hlthVD/B+UTic3UgCZ5LvpHTeqnF037JL9zS1W6d+cB0hUwithdIyZ/1w==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -1551,8 +1551,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-ia32@0.18.6: - resolution: {integrity: sha512-AXazA0ljvQEp7cA9jscABNXsjodKbEcqPcAE3rDzKN82Vb3lYOq6INd+HOCA7hk8IegEyHW4T72Z7QGIhyCQEA==} + /@esbuild/linux-ia32@0.18.8: + resolution: {integrity: sha512-mUDNdkY8mr4kZrekGLwZBFpvVX1VJLpwYUsbKTM/w0h4xVgsupc440nlsUfyz8OKeE92ZdMUUG8wrdOeZaONiQ==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -1567,8 +1567,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-loong64@0.18.6: - resolution: {integrity: sha512-JjBf7TwY7ldcPgHYt9UcrjZB03+WZqg/jSwMAfzOzM5ZG+tu5umUqzy5ugH/crGI4eoDIhSOTDp1NL3Uo/05Fw==} + /@esbuild/linux-loong64@0.18.8: + resolution: {integrity: sha512-wuzn8pABeFielmccZjn44eyVFo9G5rThVT91QdxZ02H7Yxek623ODpZoauAWwdBDFfK1R25RtKkxCvzfeJ1akg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -1583,8 +1583,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-mips64el@0.18.6: - resolution: {integrity: sha512-kATNsslryVxcH1sO3KP2nnyUWtZZVkgyhAUnyTVVa0OQQ9pmDRjTpHaE+2EQHoCM5wt/uav2edrAUqbwn3tkKQ==} + /@esbuild/linux-mips64el@0.18.8: + resolution: {integrity: sha512-9vIq+bR1PYqTV0Ea38a9h/r2xAecC56eQemOBXyzM3jQ9Bo8f3Q9On7mpiDrXich1eQuo9nna0ZBcaIJxaO58g==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -1599,8 +1599,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-ppc64@0.18.6: - resolution: {integrity: sha512-B+wTKz+8pi7mcWXFQV0LA79dJ+qhiut5uK9q0omoKnq8yRIwQJwfg3/vclXoqqcX89Ri5Y5538V0Se2v5qlcLA==} + /@esbuild/linux-ppc64@0.18.8: + resolution: {integrity: sha512-9AFk6CgYytoQ0/RMnmr1zlpTA88g9ksxk0gmo9apY+O8Yzmcjd+Dl9LUX9k89dLnyyLgkHl6uLg1tpEzpQS+yA==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -1615,8 +1615,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-riscv64@0.18.6: - resolution: {integrity: sha512-h44RBLVXFUSjvhOfseE+5UxQ/r9LVeqK2S8JziJKOm9W7SePYRPDyn7MhzhNCCFPkcjIy+soCxfhlJXHXXCR0A==} + /@esbuild/linux-riscv64@0.18.8: + resolution: {integrity: sha512-AyuhgbWMSbYrgr3Qz8OT6C92PSbSh7X9ckSgz4xnZYUWrBkR6YaRTp5L7zgcouA/cSm1AiOQauHgQb+EOCNBVQ==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -1631,8 +1631,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-s390x@0.18.6: - resolution: {integrity: sha512-FlYpyr2Xc2AUePoAbc84NRV+mj7xpsISeQ36HGf9etrY5rTBEA+IU9HzWVmw5mDFtC62EQxzkLRj8h5Hq85yOQ==} + /@esbuild/linux-s390x@0.18.8: + resolution: {integrity: sha512-XU3UTgyFx80B+kCD82kun9usGT1+3YILtGeGx+StNWGT8wjHYCc5ZTsh4g+58kDoGPezquGO+Kso5VSlX2GU2g==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -1647,8 +1647,8 @@ packages: requiresBuild: true optional: true - /@esbuild/linux-x64@0.18.6: - resolution: {integrity: sha512-Mc4EUSYwzLci77u0Kao6ajB2WbTe5fNc7+lHwS3a+vJISC/oprwURezUYu1SdWAYoczbsyOvKAJwuNftoAdjjg==} + /@esbuild/linux-x64@0.18.8: + resolution: {integrity: sha512-/zBMV9cAFYFVTiyf7zg4ubMSfH0BGn5IPD+XZT0m2cYhtlMQLRQlNDpkaz5UlAIZBnBTCpjsbnI8X73xP2Zgtw==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -1663,8 +1663,8 @@ packages: requiresBuild: true optional: true - /@esbuild/netbsd-x64@0.18.6: - resolution: {integrity: sha512-3hgZlp7NqIM5lNG3fpdhBI5rUnPmdahraSmwAi+YX/bp7iZ7mpTv2NkypGs/XngdMtpzljICxnUG3uPfqLFd3w==} + /@esbuild/netbsd-x64@0.18.8: + resolution: {integrity: sha512-/Aqh6SoP6UpLrgdfgFzi1Von4D5OhnJEYZNdkZA0AREuwSBcZh6X5eUsSCiEszJaeOt/oOZOvSwNR7i2VjmDnA==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -1679,8 +1679,8 @@ packages: requiresBuild: true optional: true - /@esbuild/openbsd-x64@0.18.6: - resolution: {integrity: sha512-aEWTdZQHtSRROlDYn7ygB8yAqtnall/UnmoVIJVqccKitkAWVVSYocQUWrBOxLEFk8XdlRouVrLZe6WXszyviA==} + /@esbuild/openbsd-x64@0.18.8: + resolution: {integrity: sha512-twRW7IQ4ar1BilPDFf/IpsQY77dU50IUKZxs7veZVo4rnQbOXw6FPl2rWVJcVx+I6dkGzmt/yM6YW6FBdqA3DA==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -1695,8 +1695,8 @@ packages: requiresBuild: true optional: true - /@esbuild/sunos-x64@0.18.6: - resolution: {integrity: sha512-uxk/5yAGpjKZUHOECtI9W+9IcLjKj+2m0qf+RG7f7eRBHr8wP6wsr3XbNbgtOD1qSpPapd6R2ZfSeXTkCcAo5g==} + /@esbuild/sunos-x64@0.18.8: + resolution: {integrity: sha512-DSgYAFzvRisJQPxtTsUTFJ/Kr1KYZxxrKGfHPMnW2f/0KxOdLwRKbzWeG8g15gSBcDuDCZXnuUSFyu3ZyqbCzA==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -1711,8 +1711,8 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-arm64@0.18.6: - resolution: {integrity: sha512-oXlXGS9zvNCGoAT/tLHAsFKrIKye1JaIIP0anCdpaI+Dc10ftaNZcqfLzEwyhdzFAYInXYH4V7kEdH4hPyo9GA==} + /@esbuild/win32-arm64@0.18.8: + resolution: {integrity: sha512-eWoYo48Hp1yWbe2SSnmMNqnVprNgKtp0mP+aUeX/Lkw3gcsgRju5Qj7psfpA8cR0ULeWkrhmaSS4mgj4wfo97A==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -1727,8 +1727,8 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-ia32@0.18.6: - resolution: {integrity: sha512-qh7IcAHUvvmMBmoIG+V+BbE9ZWSR0ohF51e5g8JZvU08kZF58uDFL5tHs0eoYz31H6Finv17te3W3QB042GqVA==} + /@esbuild/win32-ia32@0.18.8: + resolution: {integrity: sha512-A5mph1zmf7eEbAKZYqRHUBkO5PRdSO0bjH4XMAnYCXfndk72uHzvMmTNS5ZZ1dVUb55P45MFBBlZyW7SsnXxXw==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -1743,8 +1743,8 @@ packages: requiresBuild: true optional: true - /@esbuild/win32-x64@0.18.6: - resolution: {integrity: sha512-9UDwkz7Wlm4N9jnv+4NL7F8vxLhSZfEkRArz2gD33HesAFfMLGIGNVXRoIHtWNw8feKsnGly9Hq1EUuRkWl0zA==} + /@esbuild/win32-x64@0.18.8: + resolution: {integrity: sha512-/NKlWmdR5oxLswW/pdMKF8qwwtC7zpeTWvWffXpqNZ4Nib6lmnU2L5ijfSvWy8vxWhwmfR/CXA7GzuRL5nRxow==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -4416,34 +4416,34 @@ packages: '@esbuild/win32-ia32': 0.17.19 '@esbuild/win32-x64': 0.17.19 - /esbuild@0.18.6: - resolution: {integrity: sha512-5QgxWaAhU/tPBpvkxUmnFv2YINHuZzjbk0LeUUnC2i3aJHjfi5yR49lgKgF7cb98bclOp/kans8M5TGbGFfJlQ==} + /esbuild@0.18.8: + resolution: {integrity: sha512-3hJ4I81Wp1IT5z29FAlTAlbX+ElIqy4AuIf1GNcFjsRIfyO3linxmEVqoP865KTYT9BWosrCl081RM/35Z+scw==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': 0.18.6 - '@esbuild/android-arm64': 0.18.6 - '@esbuild/android-x64': 0.18.6 - '@esbuild/darwin-arm64': 0.18.6 - '@esbuild/darwin-x64': 0.18.6 - '@esbuild/freebsd-arm64': 0.18.6 - '@esbuild/freebsd-x64': 0.18.6 - '@esbuild/linux-arm': 0.18.6 - '@esbuild/linux-arm64': 0.18.6 - '@esbuild/linux-ia32': 0.18.6 - '@esbuild/linux-loong64': 0.18.6 - '@esbuild/linux-mips64el': 0.18.6 - '@esbuild/linux-ppc64': 0.18.6 - '@esbuild/linux-riscv64': 0.18.6 - '@esbuild/linux-s390x': 0.18.6 - '@esbuild/linux-x64': 0.18.6 - '@esbuild/netbsd-x64': 0.18.6 - '@esbuild/openbsd-x64': 0.18.6 - '@esbuild/sunos-x64': 0.18.6 - '@esbuild/win32-arm64': 0.18.6 - '@esbuild/win32-ia32': 0.18.6 - '@esbuild/win32-x64': 0.18.6 + '@esbuild/android-arm': 0.18.8 + '@esbuild/android-arm64': 0.18.8 + '@esbuild/android-x64': 0.18.8 + '@esbuild/darwin-arm64': 0.18.8 + '@esbuild/darwin-x64': 0.18.8 + '@esbuild/freebsd-arm64': 0.18.8 + '@esbuild/freebsd-x64': 0.18.8 + '@esbuild/linux-arm': 0.18.8 + '@esbuild/linux-arm64': 0.18.8 + '@esbuild/linux-ia32': 0.18.8 + '@esbuild/linux-loong64': 0.18.8 + '@esbuild/linux-mips64el': 0.18.8 + '@esbuild/linux-ppc64': 0.18.8 + '@esbuild/linux-riscv64': 0.18.8 + '@esbuild/linux-s390x': 0.18.8 + '@esbuild/linux-x64': 0.18.8 + '@esbuild/netbsd-x64': 0.18.8 + '@esbuild/openbsd-x64': 0.18.8 + '@esbuild/sunos-x64': 0.18.8 + '@esbuild/win32-arm64': 0.18.8 + '@esbuild/win32-ia32': 0.18.8 + '@esbuild/win32-x64': 0.18.8 /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -6518,7 +6518,7 @@ packages: defu: 6.1.2 destr: 2.0.0 dot-prop: 7.2.0 - esbuild: 0.18.6 + esbuild: 0.18.8 escape-string-regexp: 5.0.0 etag: 1.8.1 fs-extra: 11.1.1 diff --git a/test/bundle.test.ts b/test/bundle.test.ts index 44c7643a66..571b5a39a6 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -35,7 +35,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM it('default server bundle size', async () => { stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) - expect.soft(roundToKilobytes(stats.server.totalBytes)).toMatchInlineSnapshot('"64.0k"') + expect.soft(roundToKilobytes(stats.server.totalBytes)).toMatchInlineSnapshot('"63.9k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"2328k"')