]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove v-is deprecation enum
authorEvan You <yyx990803@gmail.com>
Fri, 1 Dec 2023 03:57:22 +0000 (11:57 +0800)
committerEvan You <yyx990803@gmail.com>
Fri, 1 Dec 2023 03:57:22 +0000 (11:57 +0800)
support is already removed during parser rewrite

packages/compiler-core/src/errors.ts

index 7090a5a26d59d9c8cab8baffe0a577762a56c179..c7ee301231fca54e634a2a3a9ca4f63aa4808c5a 100644 (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__]: ``
 }