Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Sep 12, 2024
1 parent d8653a6 commit 18aa97e
Show file tree
Hide file tree
Showing 12 changed files with 1,912 additions and 2,076 deletions.
2 changes: 1 addition & 1 deletion docs/editor/Monaco.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ onMounted(
)
emit('change', props.value)
} catch (_) {
} catch {
editorState.value = 'error'
}
}
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"test:unit": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/document-driven && vitest run"
},
"dependencies": {
"@nuxt/kit": "^3.12.4",
"@nuxt/kit": "^3.13.1",
"@nuxtjs/mdc": "^0.8.3",
"@vueuse/core": "^11.0.3",
"@vueuse/head": "^2.0.0",
Expand All @@ -61,44 +61,44 @@
"micromark": "^4.0.0",
"micromark-util-sanitize-uri": "^2.0.0",
"micromark-util-types": "^2.0.0",
"minisearch": "^7.0.2",
"minisearch": "^7.1.0",
"ohash": "^1.1.3",
"pathe": "^1.1.2",
"scule": "^1.3.0",
"shiki": "^1.10.3",
"shiki": "^1.17.0",
"slugify": "^1.6.6",
"socket.io-client": "^4.7.5",
"ufo": "^1.5.4",
"unist-util-stringify-position": "^4.0.0",
"unstorage": "^1.10.2",
"unstorage": "^1.12.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@nuxt/content": "link:.",
"@nuxt/eslint-config": "^0.3.13",
"@nuxt/module-builder": "^0.8.1",
"@nuxt/schema": "3.12.4",
"@nuxt/test-utils": "3.13.1",
"@nuxthq/studio": "^2.0.3",
"@nuxt/eslint-config": "^0.5.7",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "3.13.1",
"@nuxt/test-utils": "3.14.2",
"@nuxthq/studio": "^2.1.0",
"@nuxtjs/tailwindcss": "^6.12.1",
"@types/ws": "^8.5.11",
"@types/ws": "^8.5.12",
"c8": "^10.1.2",
"csvtojson": "^2.0.10",
"eslint": "^9.7.0",
"eslint": "^9.10.0",
"globby": "^14.0.2",
"husky": "^9.1.1",
"husky": "^9.1.6",
"jiti": "^1.21.6",
"lint-staged": "^15.2.7",
"nuxt": "3.12.4",
"lint-staged": "^15.2.10",
"nuxt": "3.13.1",
"rehype-figure": "^1.0.1",
"rehype-wrap-all": "^1.1.0",
"release-it": "^17.6.0",
"remark-oembed": "^1.2.2",
"vitest": "^2.0.3",
"vitest": "^2.0.5",
"vue-docgen-web-types": "^0.1.8",
"vue-tsc": "2.0.26"
"vue-tsc": "2.1.6"
},
"packageManager": "pnpm@9.5.0",
"packageManager": "pnpm@9.10.0",
"release-it": {
"git": {
"commitMessage": "chore(release): release v${version}"
Expand Down
11 changes: 8 additions & 3 deletions playground/shared/components/NuxtLoadingBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ let _cut
// Functions
const clear = () => {
_timer && clearInterval(_timer)
_throttle && clearTimeout(_throttle)
_timer = null
if (_timer) {
clearInterval(_timer)
_timer = null
}
if (_throttle) {
clearTimeout(_throttle)
_throttle = null
}
}
const start = () => {
clear()
Expand Down
Loading

0 comments on commit 18aa97e

Please # to comment.