Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 16, 2023
1 parent 85a752c commit 70a7f07
Show file tree
Hide file tree
Showing 27 changed files with 1,799 additions and 1,932 deletions.
54 changes: 27 additions & 27 deletions package.json
Expand Up @@ -2,7 +2,7 @@
"name": "@vueuse/monorepo",
"version": "10.1.2",
"private": true,
"packageManager": "pnpm@8.5.1",
"packageManager": "pnpm@8.6.1",
"description": "Collection of essential Vue Composition Utilities",
"author": "Anthony Fu<https://github.com/antfu>",
"license": "MIT",
Expand Down Expand Up @@ -35,74 +35,74 @@
"watch": "esno scripts/build.ts --watch"
},
"devDependencies": {
"@antfu/eslint-config": "^0.38.6",
"@antfu/eslint-config": "^0.39.5",
"@antfu/ni": "^0.21.3",
"@iconify/json": "^2.2.65",
"@iconify/json": "^2.2.74",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-replace": "^5.0.2",
"@type-challenges/utils": "^0.1.1",
"@types/fs-extra": "^11.0.1",
"@types/js-yaml": "^4.0.5",
"@types/md5": "^2.3.2",
"@types/node": "^18.16.10",
"@types/prettier": "^2.7.2",
"@types/node": "^18.16.16",
"@types/prettier": "^2.7.3",
"@types/remove-markdown": "^0.3.1",
"@types/semver": "^7.5.0",
"@vitest/coverage-c8": "^0.31.0",
"@vitest/ui": "^0.31.0",
"@vue/compiler-sfc": "^3.3.2",
"@vitest/coverage-c8": "^0.32.0",
"@vitest/ui": "^0.32.0",
"@vue/compiler-sfc": "^3.3.4",
"@vue/test-utils": "^2.3.2",
"@vueuse/core": "workspace:*",
"@vueuse/integrations": "workspace:*",
"@vueuse/math": "workspace:*",
"@vueuse/rxjs": "workspace:*",
"@vueuse/shared": "workspace:*",
"axios": "^1.4.0",
"bumpp": "^9.1.0",
"bumpp": "^9.1.1",
"consola": "^3.1.0",
"esbuild-register": "^3.4.2",
"eslint": "8.39.0",
"esno": "^0.16.3",
"export-size": "^0.5.2",
"fake-indexeddb": "^4.0.1",
"fast-glob": "^3.2.12",
"firebase": "^9.22.0",
"firebase": "^9.22.1",
"fs-extra": "^11.1.1",
"fuse.js": "^6.6.2",
"google-font-installer": "^1.2.0",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"jsdom": "^22.0.0",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.2",
"markdown-table": "^3.0.3",
"md5": "^2.3.0",
"msw": "1.0.1",
"node-fetch": "^3.3.1",
"ohmyfetch": "^0.4.21",
"pnpm": "^8.5.1",
"postcss": "^8.4.23",
"pnpm": "^8.6.1",
"postcss": "^8.4.24",
"postcss-nested": "^6.0.1",
"prettier": "^2.8.8",
"prism-theme-vars": "^0.2.4",
"remove-markdown": "^0.5.0",
"rimraf": "^5.0.0",
"rollup": "^3.21.8",
"rimraf": "^5.0.1",
"rollup": "^3.23.1",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-pure": "^0.0.2",
"rollup-plugin-pure": "^0.1.1",
"sharp": "0.32.1",
"simple-git": "^3.18.0",
"simple-git": "^3.19.0",
"simple-git-hooks": "^2.8.1",
"taze": "^0.10.1",
"taze": "^0.10.2",
"typescript": "5.0.4",
"unocss": "^0.51.13",
"unplugin-icons": "^0.16.1",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.3.6",
"vite-plugin-inspect": "^0.7.26",
"vite-plugin-pwa": "^0.14.7",
"vitepress": "1.0.0-alpha.75",
"vitest": "^0.31.0",
"unocss": "^0.53.0",
"unplugin-icons": "^0.16.2",
"unplugin-vue-components": "^0.25.1",
"vite": "^4.3.9",
"vite-plugin-inspect": "^0.7.28",
"vite-plugin-pwa": "^0.16.3",
"vitepress": "1.0.0-beta.1",
"vitest": "^0.32.0",
"vue": "^3.2.47",
"vue2": "npm:vue@^2.7.14"
},
Expand All @@ -111,7 +111,7 @@
"electron"
],
"overrides": {
"vue-demi": "0.14.0",
"vue-demi": "0.14.5",
"magic-string": "^0.30.0",
"sourcemap-codec": "npm:@jridgewell/sourcemap-codec@^1.4.15"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/.test/polyfillPointerEvents.ts
@@ -1,5 +1,5 @@
// polyfill for jsdom (https://github.com/jsdom/jsdom/pull/2666)
if (!global.PointerEvent) {
if (!globalThis.PointerEvent) {
class PointerEvent extends MouseEvent {
public pointerId?: number

Expand All @@ -8,7 +8,7 @@ if (!global.PointerEvent) {
this.pointerId = params.pointerId
}
}
global.PointerEvent = PointerEvent as any
globalThis.PointerEvent = PointerEvent as any
}

export {}
2 changes: 1 addition & 1 deletion packages/components/package.json
Expand Up @@ -35,6 +35,6 @@
"dependencies": {
"@vueuse/core": "workspace:*",
"@vueuse/shared": "workspace:*",
"vue-demi": ">=0.14.1"
"vue-demi": ">=0.14.5"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Expand Up @@ -42,6 +42,6 @@
"@types/web-bluetooth": "^0.0.17",
"@vueuse/metadata": "workspace:*",
"@vueuse/shared": "workspace:*",
"vue-demi": ">=0.14.1"
"vue-demi": ">=0.14.5"
}
}
1 change: 1 addition & 0 deletions packages/core/ssr-handlers.ts
@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
import type { Awaitable } from '@vueuse/shared'
import type { MaybeElementRef } from './unrefElement'

Expand Down
4 changes: 2 additions & 2 deletions packages/core/useElementSize/index.ts
Expand Up @@ -41,8 +41,8 @@ export function useElementSize(
const $elem = unrefElement(target)
if ($elem) {
const styles = window.getComputedStyle($elem)
width.value = parseFloat(styles.width)
height.value = parseFloat(styles.height)
width.value = Number.parseFloat(styles.width)
height.value = Number.parseFloat(styles.height)
}
}
else {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/useScroll/demo.vue
Expand Up @@ -16,15 +16,15 @@ const displayX = computed({
return x.value.toFixed(1)
},
set(val) {
x.value = parseFloat(val)
x.value = Number.parseFloat(val)
},
})
const displayY = computed({
get() {
return y.value.toFixed(1)
},
set(val) {
y.value = parseFloat(val)
y.value = Number.parseFloat(val)
},
})
</script>
Expand Down
2 changes: 1 addition & 1 deletion packages/electron/package.json
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@vueuse/shared": "workspace:*",
"vue-demi": ">=0.14.1"
"vue-demi": ">=0.14.5"
},
"devDependencies": {
"electron": "^13.1.0"
Expand Down

0 comments on commit 70a7f07

Please sign in to comment.