Skip to content

Commit

Permalink
fix: update ufo to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 16, 2020
1 parent 52c582f commit 52d84e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@nuxt/h2": "^0.0.14",
"@nuxt/ufo": "^0.1.4",
"@nuxt/ufo": "^0.3.0",
"@nuxtjs/eslint-config-typescript": "latest",
"@types/flat": "latest",
"@types/jest": "latest",
Expand Down
2 changes: 1 addition & 1 deletion src/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import destr from 'destr'
import { joinURL, withParams } from '@nuxt/ufo'
import { withParams, joinURL } from '@nuxt/ufo'
import type { Fetch, RequestInfo, RequestInit, Response } from './types'
import { createFetchError } from './error'

Expand Down
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('ohmyfetch', () => {
})

it('404', async () => {
const err: FetchError = await $fetch(listener.getURL('404'), { baseURL: listener.url }).catch(err => err)
const err: FetchError = await $fetch(listener.getURL('404')).catch(err => err)
expect(err.stack).toMatch('404 Not Found')
expect(err.data).toMatch('Not Found (404)')
expect(err.response?.data).toBe(err.data)
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,10 @@
resolved "https://registry.yarnpkg.com/@nuxt/ufo/-/ufo-0.0.3.tgz#7673a54b81c020e7aea3a9e01e09a58c494a1eca"
integrity sha512-LQkuVafVNB9+ggRF7443AX1V1rEWRs32Frk7F2qnRLf8j/SzRzxEZ99jiZqxVho72zU7NcWQ6Jy62m4fkZC6Wg==

"@nuxt/ufo@^0.1.4":
version "0.1.4"
resolved "https://registry.yarnpkg.com/@nuxt/ufo/-/ufo-0.1.4.tgz#41967f00333821c8760f8ee71c50e37c534b7ac6"
integrity sha512-uEfXbPROYZcRbnkVS2NK2vklDpcfZOAjGaniuC4pKJAgHTx0A4f8uMC1R5BSTA8zNZAoweDc7pW6tqvu/JyIhQ==
"@nuxt/ufo@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@nuxt/ufo/-/ufo-0.3.0.tgz#166f05dba92924b145e9859dbb587b4f19567f7c"
integrity sha512-JeMBsBzy6tvZe4zuTC69v4FWP+498SF9zYLzuYJ7A8rNtNvNBtgfmg05zTYEtWyC9rx2WHtvisfpkqolvkqwXA==

"@nuxtjs/eslint-config-typescript@latest":
version "5.0.0"
Expand Down

0 comments on commit 52d84e7

Please sign in to comment.