]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
wip: remove unncessary deprecation messages
authorEvan You <yyx990803@gmail.com>
Sat, 17 Apr 2021 20:13:57 +0000 (16:13 -0400)
committerEvan You <yyx990803@gmail.com>
Sat, 17 Apr 2021 20:13:57 +0000 (16:13 -0400)
packages/compiler-core/src/compat/compatConfig.ts

index c9fde5de10ff3eb0928d9000a1d2594ad310b277..babfa526b8b65b0684dafcfdf251685b9a49fae0 100644 (file)
@@ -19,8 +19,6 @@ export const enum CompilerDeprecationTypes {
   COMPILER_V_BIND_PROP = 'COMPILER_V_BIND_PROP',
   COMPILER_V_BIND_OBJECT_ORDER = 'COMPILER_V_BIND_OBJECT_ORDER',
   COMPILER_V_ON_NATIVE = 'COMPILER_V_ON_NATIVE',
-  COMPILER_KEY_V_IF = 'COMPILER_KEY_V_IF',
-  COMPILER_KEY_V_FOR_TEMPLATE = 'COMPILER_KEY_V_FOR_TEMPLATE',
   COMPILER_V_IF_V_FOR_PRECEDENCE = 'COMPILER_V_IF_V_FOR_PRECEDENCE',
   COMPILER_NATIVE_TEMPLATE = 'COMPILER_NATIVE_TEMPLATE'
 }
@@ -68,16 +66,6 @@ const deprecationData: Record<CompilerDeprecationTypes, DeprecationData> = {
     link: `https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html`
   },
 
-  [CompilerDeprecationTypes.COMPILER_KEY_V_IF]: {
-    message: ``,
-    link: `https://v3.vuejs.org/guide/migration/key-attribute.html#on-conditional-branches`
-  },
-
-  [CompilerDeprecationTypes.COMPILER_KEY_V_FOR_TEMPLATE]: {
-    message: ``,
-    link: `https://v3.vuejs.org/guide/migration/key-attribute.html#with-template-v-for`
-  },
-
   [CompilerDeprecationTypes.COMPILER_V_IF_V_FOR_PRECEDENCE]: {
     message:
       `v-if / v-for precedence when used on the same element has changed ` +