chore: upgrade deps

zio/stable
Kevin 2023-03-20 23:11:04 +08:00
parent 55e0f040a3
commit 01d1a30413
No known key found for this signature in database
GPG Key ID: 68D73816CD641CDB
5 changed files with 912 additions and 385 deletions

View File

@ -47,14 +47,14 @@
"@tiptap/starter-kit": "2.0.0-beta.204", "@tiptap/starter-kit": "2.0.0-beta.204",
"@tiptap/suggestion": "2.0.0-beta.204", "@tiptap/suggestion": "2.0.0-beta.204",
"@tiptap/vue-3": "2.0.0-beta.204", "@tiptap/vue-3": "2.0.0-beta.204",
"@unocss/nuxt": "^0.49.0", "@unocss/nuxt": "^0.50.6",
"@vue-macros/nuxt": "^1.0.3", "@vue-macros/nuxt": "^1.2.3",
"@vueuse/core": "^9.11.1", "@vueuse/core": "^9.13.0",
"@vueuse/gesture": "2.0.0-beta.1", "@vueuse/gesture": "2.0.0-beta.1",
"@vueuse/integrations": "^9.11.1", "@vueuse/integrations": "^9.13.0",
"@vueuse/math": "^9.11.1", "@vueuse/math": "^9.13.0",
"@vueuse/motion": "2.0.0-beta.12", "@vueuse/motion": "2.0.0-beta.12",
"@vueuse/nuxt": "^9.11.1", "@vueuse/nuxt": "^9.13.0",
"blurhash": "^2.0.4", "blurhash": "^2.0.4",
"browser-fs-access": "^0.31.2", "browser-fs-access": "^0.31.2",
"chroma-js": "^2.4.2", "chroma-js": "^2.4.2",
@ -74,7 +74,7 @@
"nuxt-security": "^0.10.1", "nuxt-security": "^0.10.1",
"nuxt-vitest": "^0.6.4", "nuxt-vitest": "^0.6.4",
"page-lifecycle": "^0.1.2", "page-lifecycle": "^0.1.2",
"pinia": "^2.0.29", "pinia": "^2.0.33",
"postcss-nested": "^6.0.0", "postcss-nested": "^6.0.0",
"rollup-plugin-node-polyfills": "^0.2.1", "rollup-plugin-node-polyfills": "^0.2.1",
"shiki": "^0.12.1", "shiki": "^0.12.1",
@ -102,7 +102,7 @@
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.37.0", "@antfu/eslint-config": "^0.37.0",
"@antfu/ni": "^0.19.0", "@antfu/ni": "^0.19.0",
"@types/chroma-js": "^2.1.4", "@types/chroma-js": "^2.4.0",
"@types/file-saver": "^2.0.5", "@types/file-saver": "^2.0.5",
"@types/flat": "^5.0.2", "@types/flat": "^5.0.2",
"@types/fnando__sparkline": "^0.3.4", "@types/fnando__sparkline": "^0.3.4",
@ -120,7 +120,7 @@
"prettier": "^2.8.4", "prettier": "^2.8.4",
"simple-git-hooks": "^2.8.1", "simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"vitest": "^0.29.3", "vitest": "^0.29.5",
"vue-tsc": "^1.0.24" "vue-tsc": "^1.0.24"
}, },
"pnpm": { "pnpm": {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
import { join, resolve } from 'pathe' import { join, resolve } from 'pathe'
import fs from 'fs-extra' import fs from 'fs-extra'
import { $fetch } from 'ohmyfetch' import { ofetch } from 'ofetch'
import { elkTeamMembers } from '../composables/about' import { elkTeamMembers } from '../composables/about'
const avatarsDir = resolve('./public/avatars/') const avatarsDir = resolve('./public/avatars/')
@ -13,7 +13,7 @@ async function download(url: string, fileName: string) {
console.log('downloading', fileName) console.log('downloading', fileName)
try { try {
const image = await $fetch(url, { responseType: 'arrayBuffer' }) const image = await ofetch(url, { responseType: 'arrayBuffer' })
await fs.writeFile(fileName, Buffer.from(image)) await fs.writeFile(fileName, Buffer.from(image))
} }
catch (err) { catch (err) {

View File

@ -1,4 +1,4 @@
// Vitest Snapshot v1 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`content-rich > block with backticks 1`] = `"<p><pre class=\\"code-block\\">[(\`number string) (\`tag string)]</pre></p>"`; exports[`content-rich > block with backticks 1`] = `"<p><pre class=\\"code-block\\">[(\`number string) (\`tag string)]</pre></p>"`;

View File

@ -1,4 +1,4 @@
// Vitest Snapshot v1 // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`html-parse > code frame > html 1`] = ` exports[`html-parse > code frame > html 1`] = `
"<p>Testing code block</p><p></p><p><pre><code class=\\"language-ts\\">import { useMouse, usePreferredDark } from '@vueuse/core' "<p>Testing code block</p><p></p><p><pre><code class=\\"language-ts\\">import { useMouse, usePreferredDark } from '@vueuse/core'