From: 三咲智子 Kevin Deng Date: Mon, 5 Feb 2024 03:36:17 +0000 (+0800) Subject: fix(runtime-core): avoid inlining isShallow (#10238) X-Git-Tag: v3.4.16~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53eee72c3a96420db35236b5e8e4d9308a56e1b4;p=thirdparty%2Fvuejs%2Fcore.git fix(runtime-core): avoid inlining isShallow (#10238) --- diff --git a/packages/runtime-core/src/customFormatter.ts b/packages/runtime-core/src/customFormatter.ts index d2510c09c2..abd3a32992 100644 --- a/packages/runtime-core/src/customFormatter.ts +++ b/packages/runtime-core/src/customFormatter.ts @@ -1,6 +1,12 @@ -import { type Ref, isReactive, isReadonly, isRef, toRaw } from '@vue/reactivity' +import { + type Ref, + isReactive, + isReadonly, + isRef, + isShallow, + toRaw, +} from '@vue/reactivity' import { EMPTY_OBJ, extend, isArray, isFunction, isObject } from '@vue/shared' -import { isShallow } from '../../reactivity/src/reactive' import type { ComponentInternalInstance, ComponentOptions } from './component' import type { ComponentPublicInstance } from './componentPublicInstance'