]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(compat): rename legacyresolveScopedSlots to legacyResolveScopedSlots
authorZhong <cszhjh@gmail.com>
Sat, 23 Aug 2025 13:30:50 +0000 (21:30 +0800)
committerGitHub <noreply@github.com>
Sat, 23 Aug 2025 13:30:50 +0000 (21:30 +0800)
The changes correct the casing of a function name from legacyresolveScopedSlots to legacyResolveScopedSlots in both its definition and usage. No logic, control flow, or public API behavior is altered; only the symbol's casing is updated for consistency.

packages/runtime-core/src/compat/instance.ts
packages/runtime-core/src/compat/renderHelpers.ts

index c650113f8ecf74f31dfe79590fe080eb4c7e45fa..0c5dd14d79c47ed48facdca3d9ff169ceb06776b 100644 (file)
@@ -33,7 +33,7 @@ import {
   legacyPrependModifier,
   legacyRenderSlot,
   legacyRenderStatic,
-  legacyresolveScopedSlots,
+  legacyResolveScopedSlots,
 } from './renderHelpers'
 import { resolveFilter } from '../helpers/resolveAssets'
 import type { Slots } from '../componentSlots'
@@ -183,7 +183,7 @@ export function installCompatInstanceProperties(
     _b: () => legacyBindObjectProps,
     _v: () => createTextVNode,
     _e: () => createCommentVNode,
-    _u: () => legacyresolveScopedSlots,
+    _u: () => legacyResolveScopedSlots,
     _g: () => legacyBindObjectListeners,
     _d: () => legacyBindDynamicKeys,
     _p: () => legacyPrependModifier,
index ac810087772320db63fc271bf6a5665099d258b0..aa95585aea95f82bc9f09d2343d2312b61ed8f16 100644 (file)
@@ -87,7 +87,7 @@ type LegacyScopedSlotsData = Array<
   | LegacyScopedSlotsData
 >
 
-export function legacyresolveScopedSlots(
+export function legacyResolveScopedSlots(
   fns: LegacyScopedSlotsData,
   raw?: Record<string, Slot>,
   // the following are added in 2.6