mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
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:
parent
29f4eeff69
commit
330900bcbe
@ -68,7 +68,7 @@
|
|||||||
"nuxi": "workspace:*",
|
"nuxi": "workspace:*",
|
||||||
"nuxt": "workspace:*",
|
"nuxt": "workspace:*",
|
||||||
"nuxt-vitest": "0.10.2",
|
"nuxt-vitest": "0.10.2",
|
||||||
"ofetch": "1.2.1",
|
"ofetch": "1.3.2",
|
||||||
"pathe": "1.1.1",
|
"pathe": "1.1.1",
|
||||||
"playwright-core": "1.37.1",
|
"playwright-core": "1.37.1",
|
||||||
"rimraf": "5.0.1",
|
"rimraf": "5.0.1",
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
"nitropack": "^2.6.0",
|
"nitropack": "^2.6.0",
|
||||||
"nuxi": "workspace:../nuxi",
|
"nuxi": "workspace:../nuxi",
|
||||||
"nypm": "^0.3.0",
|
"nypm": "^0.3.0",
|
||||||
"ofetch": "^1.2.1",
|
"ofetch": "^1.3.2",
|
||||||
"ohash": "^1.1.3",
|
"ohash": "^1.1.3",
|
||||||
"pathe": "^1.1.1",
|
"pathe": "^1.1.1",
|
||||||
"perfect-debounce": "^1.0.0",
|
"perfect-debounce": "^1.0.0",
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"defu": "^6.1.2",
|
"defu": "^6.1.2",
|
||||||
"execa": "^7.2.0",
|
"execa": "^7.2.0",
|
||||||
"get-port-please": "^3.0.1",
|
"get-port-please": "^3.0.1",
|
||||||
"ofetch": "^1.2.1",
|
"ofetch": "^1.3.2",
|
||||||
"pathe": "^1.1.1",
|
"pathe": "^1.1.1",
|
||||||
"ufo": "^1.2.0"
|
"ufo": "^1.2.0"
|
||||||
},
|
},
|
||||||
|
@ -105,8 +105,8 @@ importers:
|
|||||||
specifier: 0.10.2
|
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)
|
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:
|
ofetch:
|
||||||
specifier: 1.2.1
|
specifier: 1.3.2
|
||||||
version: 1.2.1
|
version: 1.3.2
|
||||||
pathe:
|
pathe:
|
||||||
specifier: 1.1.1
|
specifier: 1.1.1
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
@ -446,8 +446,8 @@ importers:
|
|||||||
specifier: ^0.3.0
|
specifier: ^0.3.0
|
||||||
version: 0.3.0
|
version: 0.3.0
|
||||||
ofetch:
|
ofetch:
|
||||||
specifier: ^1.2.1
|
specifier: ^1.3.2
|
||||||
version: 1.2.1
|
version: 1.3.2
|
||||||
ohash:
|
ohash:
|
||||||
specifier: ^1.1.3
|
specifier: ^1.1.3
|
||||||
version: 1.1.3
|
version: 1.1.3
|
||||||
@ -655,8 +655,8 @@ importers:
|
|||||||
specifier: ^3.0.1
|
specifier: ^3.0.1
|
||||||
version: 3.0.1
|
version: 3.0.1
|
||||||
ofetch:
|
ofetch:
|
||||||
specifier: ^1.2.1
|
specifier: ^1.3.2
|
||||||
version: 1.2.1
|
version: 1.3.2
|
||||||
pathe:
|
pathe:
|
||||||
specifier: ^1.1.1
|
specifier: ^1.1.1
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
@ -1000,7 +1000,7 @@ importers:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
ofetch:
|
ofetch:
|
||||||
specifier: latest
|
specifier: latest
|
||||||
version: 1.2.1
|
version: 1.3.2
|
||||||
vitest:
|
vitest:
|
||||||
specifier: 0.33.0
|
specifier: 0.33.0
|
||||||
version: 0.33.0(happy-dom@10.11.0)
|
version: 0.33.0(happy-dom@10.11.0)
|
||||||
@ -2475,7 +2475,7 @@ packages:
|
|||||||
mri: 1.2.0
|
mri: 1.2.0
|
||||||
nanoid: 4.0.2
|
nanoid: 4.0.2
|
||||||
node-fetch: 3.3.2
|
node-fetch: 3.3.2
|
||||||
ofetch: 1.2.1
|
ofetch: 1.3.2
|
||||||
parse-git-config: 3.0.0
|
parse-git-config: 3.0.0
|
||||||
pathe: 1.1.1
|
pathe: 1.1.1
|
||||||
rc9: 2.1.1
|
rc9: 2.1.1
|
||||||
@ -4449,7 +4449,7 @@ packages:
|
|||||||
execa: 8.0.1
|
execa: 8.0.1
|
||||||
mri: 1.2.0
|
mri: 1.2.0
|
||||||
node-fetch-native: 1.4.0
|
node-fetch-native: 1.4.0
|
||||||
ofetch: 1.2.1
|
ofetch: 1.3.2
|
||||||
open: 9.1.0
|
open: 9.1.0
|
||||||
pathe: 1.1.1
|
pathe: 1.1.1
|
||||||
pkg-types: 1.0.3
|
pkg-types: 1.0.3
|
||||||
@ -8104,7 +8104,7 @@ packages:
|
|||||||
mlly: 1.4.0
|
mlly: 1.4.0
|
||||||
mri: 1.2.0
|
mri: 1.2.0
|
||||||
node-fetch-native: 1.4.0
|
node-fetch-native: 1.4.0
|
||||||
ofetch: 1.2.1
|
ofetch: 1.3.2
|
||||||
ohash: 1.1.3
|
ohash: 1.1.3
|
||||||
openapi-typescript: 6.5.3
|
openapi-typescript: 6.5.3
|
||||||
pathe: 1.1.1
|
pathe: 1.1.1
|
||||||
@ -8384,8 +8384,8 @@ packages:
|
|||||||
es-abstract: 1.22.1
|
es-abstract: 1.22.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/ofetch@1.2.1:
|
/ofetch@1.3.2:
|
||||||
resolution: {integrity: sha512-WEX1TEfGuAFJhzRW6Qv9RcxCyek+YogEeXlCWl1XoqBSW2fc6jU4LTk3VotwC1YfXv8Uz06LSofU6uW/ZIT+6g==}
|
resolution: {integrity: sha512-XphiqMCUugscBfS7EjEfe8s3Hb5kfrTqdk9QAYl9z/wvhI3g97EpQdldqd0zAWqQXInHEqkRBQ08reMFHQwjDA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
destr: 2.0.1
|
destr: 2.0.1
|
||||||
node-fetch-native: 1.4.0
|
node-fetch-native: 1.4.0
|
||||||
@ -10755,7 +10755,7 @@ packages:
|
|||||||
lru-cache: 10.0.1
|
lru-cache: 10.0.1
|
||||||
mri: 1.2.0
|
mri: 1.2.0
|
||||||
node-fetch-native: 1.4.0
|
node-fetch-native: 1.4.0
|
||||||
ofetch: 1.2.1
|
ofetch: 1.3.2
|
||||||
ufo: 1.2.0
|
ufo: 1.2.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -11027,7 +11027,7 @@ packages:
|
|||||||
h3: 1.8.0
|
h3: 1.8.0
|
||||||
happy-dom: 10.11.0
|
happy-dom: 10.11.0
|
||||||
magic-string: 0.30.3
|
magic-string: 0.30.3
|
||||||
ofetch: 1.2.1
|
ofetch: 1.3.2
|
||||||
unenv: 1.7.3
|
unenv: 1.7.3
|
||||||
vitest: 0.33.0(happy-dom@10.11.0)
|
vitest: 0.33.0(happy-dom@10.11.0)
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
|
@ -19,7 +19,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
|||||||
for (const outputDir of ['.output', '.output-inline']) {
|
for (const outputDir of ['.output', '.output-inline']) {
|
||||||
it('default client bundle size', async () => {
|
it('default client bundle size', async () => {
|
||||||
const clientStats = await analyzeSizes('**/*.js', join(rootDir, outputDir, 'public'))
|
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(`
|
expect(clientStats.files.map(f => f.replace(/\..*\.js/, '.js'))).toMatchInlineSnapshot(`
|
||||||
[
|
[
|
||||||
"_nuxt/entry.js",
|
"_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 serverDir = join(rootDir, '.output-inline/server')
|
||||||
|
|
||||||
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
|
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)
|
const modules = await analyzeSizes('node_modules/**/*', serverDir)
|
||||||
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"70.5k"')
|
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"70.5k"')
|
||||||
|
Loading…
Reference in New Issue
Block a user