From 330900bcbe6c6de41d7f7aa97affef70c20dba30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 23 Aug 2023 21:40:42 +0100 Subject: [PATCH] chore(deps): update dependency ofetch to v1.3.2 (main) (#22772) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe --- package.json | 2 +- packages/nuxt/package.json | 2 +- packages/test-utils/package.json | 2 +- pnpm-lock.yaml | 28 ++++++++++++++-------------- test/bundle.test.ts | 4 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 5e5c7c0d2f..b061da781d 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "nuxi": "workspace:*", "nuxt": "workspace:*", "nuxt-vitest": "0.10.2", - "ofetch": "1.2.1", + "ofetch": "1.3.2", "pathe": "1.1.1", "playwright-core": "1.37.1", "rimraf": "5.0.1", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index c54d17d535..7237fe0a6d 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -84,7 +84,7 @@ "nitropack": "^2.6.0", "nuxi": "workspace:../nuxi", "nypm": "^0.3.0", - "ofetch": "^1.2.1", + "ofetch": "^1.3.2", "ohash": "^1.1.3", "pathe": "^1.1.1", "perfect-debounce": "^1.0.0", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 6738f00b6e..bff1c0d997 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -28,7 +28,7 @@ "defu": "^6.1.2", "execa": "^7.2.0", "get-port-please": "^3.0.1", - "ofetch": "^1.2.1", + "ofetch": "^1.3.2", "pathe": "^1.1.1", "ufo": "^1.2.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc343156c0..642f3aa238 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -105,8 +105,8 @@ importers: specifier: 0.10.2 version: 0.10.2(@vitejs/plugin-vue-jsx@3.0.2)(@vitejs/plugin-vue@4.3.3)(happy-dom@10.11.0)(vite@4.4.9)(vitest@0.33.0)(vue-router@4.2.4)(vue@3.3.4) ofetch: - specifier: 1.2.1 - version: 1.2.1 + specifier: 1.3.2 + version: 1.3.2 pathe: specifier: 1.1.1 version: 1.1.1 @@ -446,8 +446,8 @@ importers: specifier: ^0.3.0 version: 0.3.0 ofetch: - specifier: ^1.2.1 - version: 1.2.1 + specifier: ^1.3.2 + version: 1.3.2 ohash: specifier: ^1.1.3 version: 1.1.3 @@ -655,8 +655,8 @@ importers: specifier: ^3.0.1 version: 3.0.1 ofetch: - specifier: ^1.2.1 - version: 1.2.1 + specifier: ^1.3.2 + version: 1.3.2 pathe: specifier: ^1.1.1 version: 1.1.1 @@ -1000,7 +1000,7 @@ importers: devDependencies: ofetch: specifier: latest - version: 1.2.1 + version: 1.3.2 vitest: specifier: 0.33.0 version: 0.33.0(happy-dom@10.11.0) @@ -2475,7 +2475,7 @@ packages: mri: 1.2.0 nanoid: 4.0.2 node-fetch: 3.3.2 - ofetch: 1.2.1 + ofetch: 1.3.2 parse-git-config: 3.0.0 pathe: 1.1.1 rc9: 2.1.1 @@ -4449,7 +4449,7 @@ packages: execa: 8.0.1 mri: 1.2.0 node-fetch-native: 1.4.0 - ofetch: 1.2.1 + ofetch: 1.3.2 open: 9.1.0 pathe: 1.1.1 pkg-types: 1.0.3 @@ -8104,7 +8104,7 @@ packages: mlly: 1.4.0 mri: 1.2.0 node-fetch-native: 1.4.0 - ofetch: 1.2.1 + ofetch: 1.3.2 ohash: 1.1.3 openapi-typescript: 6.5.3 pathe: 1.1.1 @@ -8384,8 +8384,8 @@ packages: es-abstract: 1.22.1 dev: true - /ofetch@1.2.1: - resolution: {integrity: sha512-WEX1TEfGuAFJhzRW6Qv9RcxCyek+YogEeXlCWl1XoqBSW2fc6jU4LTk3VotwC1YfXv8Uz06LSofU6uW/ZIT+6g==} + /ofetch@1.3.2: + resolution: {integrity: sha512-XphiqMCUugscBfS7EjEfe8s3Hb5kfrTqdk9QAYl9z/wvhI3g97EpQdldqd0zAWqQXInHEqkRBQ08reMFHQwjDA==} dependencies: destr: 2.0.1 node-fetch-native: 1.4.0 @@ -10755,7 +10755,7 @@ packages: lru-cache: 10.0.1 mri: 1.2.0 node-fetch-native: 1.4.0 - ofetch: 1.2.1 + ofetch: 1.3.2 ufo: 1.2.0 transitivePeerDependencies: - supports-color @@ -11027,7 +11027,7 @@ packages: h3: 1.8.0 happy-dom: 10.11.0 magic-string: 0.30.3 - ofetch: 1.2.1 + ofetch: 1.3.2 unenv: 1.7.3 vitest: 0.33.0(happy-dom@10.11.0) vue: 3.3.4 diff --git a/test/bundle.test.ts b/test/bundle.test.ts index f4f94d924e..d3bb320390 100644 --- a/test/bundle.test.ts +++ b/test/bundle.test.ts @@ -19,7 +19,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM for (const outputDir of ['.output', '.output-inline']) { it('default client bundle size', async () => { const clientStats = await analyzeSizes('**/*.js', join(rootDir, outputDir, 'public')) - expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"96.1k"') + expect.soft(roundToKilobytes(clientStats.totalBytes)).toMatchInlineSnapshot('"96.4k"') expect(clientStats.files.map(f => f.replace(/\..*\.js/, '.js'))).toMatchInlineSnapshot(` [ "_nuxt/entry.js", @@ -71,7 +71,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM const serverDir = join(rootDir, '.output-inline/server') const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) - expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"603k"') + expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"604k"') const modules = await analyzeSizes('node_modules/**/*', serverDir) expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"70.5k"')