chore: remove v-is deprecation enum

support is already removed during parser rewrite
This commit is contained in:
Evan You 2023-12-01 11:57:22 +08:00 committed by 三咲智子 Kevin Deng
parent 6c7eb8a9e2
commit fef451d2ca
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 0 additions and 6 deletions

View File

@ -98,9 +98,6 @@ export enum ErrorCodes {
X_CACHE_HANDLER_NOT_SUPPORTED,
X_SCOPE_ID_NOT_SUPPORTED,
// deprecations
DEPRECATION_V_IS,
// Special value for higher-order compilers to pick up the last code
// to avoid collision of error codes. This should always be kept as the last
// item.
@ -184,9 +181,6 @@ export const errorMessages: Record<ErrorCodes, string> = {
[ErrorCodes.X_CACHE_HANDLER_NOT_SUPPORTED]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
[ErrorCodes.X_SCOPE_ID_NOT_SUPPORTED]: `"scopeId" option is only supported in module mode.`,
// deprecations
[ErrorCodes.DEPRECATION_V_IS]: `v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.`,
// just to fulfill types
[ErrorCodes.__EXTEND_POINT__]: ``
}