Browse Source

chore: remove v-is deprecation enum

support is already removed during parser rewrite
pull/6497/head
Evan You 2 years ago
parent
commit
c3b704e446
  1. 6
      packages/compiler-core/src/errors.ts

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__]: ``
}
Loading…
Cancel
Save