Skip to content

Commit

Permalink
chore: upgrade vue
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Nov 25, 2024
1 parent 9fda814 commit 707e9d3
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 128 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"unocss": "^0.63.6",
"unplugin-vue-components": "^0.27.4",
"vitepress": "^1.4.1",
"vue": "^3.5.12"
"vue": "^3.5.13"
}
}
4 changes: 2 additions & 2 deletions packages/reactivity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"prepublishOnly": "pnpm typecheck && pnpm build"
},
"devDependencies": {
"@vue/reactivity": "^3.5.12",
"@vue/shared": "^3.5.12",
"@vue/reactivity": "^3.5.13",
"@vue/shared": "^3.5.13",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-plugin-dts": "^4.3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/reactivity/src/apiWatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
watch as baseWatch,
} from '@vue/reactivity'
import { type SchedulerJob, SchedulerJobFlags, queueJob } from './scheduler'
import { EMPTY_OBJ, NOOP, extend, isFunction, isString } from '@vue/shared'
import { EMPTY_OBJ, extend, isFunction } from '@vue/shared'
import { callWithAsyncErrorHandling } from './errorHandling'
import { warn } from './warning'

Expand Down Expand Up @@ -152,7 +152,7 @@ function doWatch(

// @ts-expect-error internal typedef
baseWatchOptions.call = (fn, type, args) =>
callWithAsyncErrorHandling(fn, type, args)
callWithAsyncErrorHandling(fn, null, type, args)

// scheduler
let isPre = false
Expand Down
Loading

0 comments on commit 707e9d3

Please sign in to comment.