ソースを参照

chore: remove v-is deprecation enum

support is already removed during parser rewrite
Evan You 2 年 前
コミット
fef451d2ca
1 ファイル変更0 行追加6 行削除
  1. 0 6
      packages/compiler-core/src/errors.ts

+ 0 - 6
packages/compiler-core/src/errors.ts

@@ -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__]: ``
 }