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 <daniel@roe.dev>
This commit is contained in:
renovate[bot] 2023-08-23 21:40:42 +01:00 committed by GitHub
parent 29f4eeff69
commit 330900bcbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 19 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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"
},

View File

@ -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

View File

@ -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"')