@vue/compiler-core 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1246,7 +1246,7 @@ const CompilerDeprecationTypes = {
1246
1246
  "COMPILER_V_IF_V_FOR_PRECEDENCE": "COMPILER_V_IF_V_FOR_PRECEDENCE",
1247
1247
  "COMPILER_NATIVE_TEMPLATE": "COMPILER_NATIVE_TEMPLATE",
1248
1248
  "COMPILER_INLINE_TEMPLATE": "COMPILER_INLINE_TEMPLATE",
1249
- "COMPILER_FILTERS": "COMPILER_FILTER"
1249
+ "COMPILER_FILTERS": "COMPILER_FILTERS"
1250
1250
  };
1251
1251
  const deprecationData = {
1252
1252
  ["COMPILER_IS_ON_ELEMENT"]: {
@@ -1276,7 +1276,7 @@ const deprecationData = {
1276
1276
  message: `"inline-template" has been removed in Vue 3.`,
1277
1277
  link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
1278
1278
  },
1279
- ["COMPILER_FILTER"]: {
1279
+ ["COMPILER_FILTERS"]: {
1280
1280
  message: `filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,
1281
1281
  link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
1282
1282
  }
@@ -6193,7 +6193,7 @@ function createTransformProps(props = []) {
6193
6193
 
6194
6194
  const validDivisionCharRE = /[\w).+\-_$\]]/;
6195
6195
  const transformFilter = (node, context) => {
6196
- if (!isCompatEnabled("COMPILER_FILTER", context)) {
6196
+ if (!isCompatEnabled("COMPILER_FILTERS", context)) {
6197
6197
  return;
6198
6198
  }
6199
6199
  if (node.type === 5) {
@@ -6314,7 +6314,7 @@ function parseFilter(node, context) {
6314
6314
  }
6315
6315
  if (filters.length) {
6316
6316
  warnDeprecation(
6317
- "COMPILER_FILTER",
6317
+ "COMPILER_FILTERS",
6318
6318
  context,
6319
6319
  node.loc
6320
6320
  );
@@ -1246,7 +1246,7 @@ const CompilerDeprecationTypes = {
1246
1246
  "COMPILER_V_IF_V_FOR_PRECEDENCE": "COMPILER_V_IF_V_FOR_PRECEDENCE",
1247
1247
  "COMPILER_NATIVE_TEMPLATE": "COMPILER_NATIVE_TEMPLATE",
1248
1248
  "COMPILER_INLINE_TEMPLATE": "COMPILER_INLINE_TEMPLATE",
1249
- "COMPILER_FILTERS": "COMPILER_FILTER"
1249
+ "COMPILER_FILTERS": "COMPILER_FILTERS"
1250
1250
  };
1251
1251
  const deprecationData = {
1252
1252
  ["COMPILER_IS_ON_ELEMENT"]: {
@@ -1276,7 +1276,7 @@ const deprecationData = {
1276
1276
  message: `"inline-template" has been removed in Vue 3.`,
1277
1277
  link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
1278
1278
  },
1279
- ["COMPILER_FILTER"]: {
1279
+ ["COMPILER_FILTERS"]: {
1280
1280
  message: `filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,
1281
1281
  link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
1282
1282
  }
@@ -6074,7 +6074,7 @@ function createTransformProps(props = []) {
6074
6074
 
6075
6075
  const validDivisionCharRE = /[\w).+\-_$\]]/;
6076
6076
  const transformFilter = (node, context) => {
6077
- if (!isCompatEnabled("COMPILER_FILTER", context)) {
6077
+ if (!isCompatEnabled("COMPILER_FILTERS", context)) {
6078
6078
  return;
6079
6079
  }
6080
6080
  if (node.type === 5) {
@@ -63,7 +63,7 @@ export declare enum CompilerDeprecationTypes {
63
63
  COMPILER_V_IF_V_FOR_PRECEDENCE = "COMPILER_V_IF_V_FOR_PRECEDENCE",
64
64
  COMPILER_NATIVE_TEMPLATE = "COMPILER_NATIVE_TEMPLATE",
65
65
  COMPILER_INLINE_TEMPLATE = "COMPILER_INLINE_TEMPLATE",
66
- COMPILER_FILTERS = "COMPILER_FILTER"
66
+ COMPILER_FILTERS = "COMPILER_FILTERS"
67
67
  }
68
68
  export declare function checkCompatEnabled(key: CompilerDeprecationTypes, context: MergedParserOptions | TransformContext, loc: SourceLocation | null, ...args: any[]): boolean;
69
69
  export declare function warnDeprecation(key: CompilerDeprecationTypes, context: MergedParserOptions | TransformContext, loc: SourceLocation | null, ...args: any[]): void;
@@ -1177,7 +1177,7 @@ const CompilerDeprecationTypes = {
1177
1177
  "COMPILER_V_IF_V_FOR_PRECEDENCE": "COMPILER_V_IF_V_FOR_PRECEDENCE",
1178
1178
  "COMPILER_NATIVE_TEMPLATE": "COMPILER_NATIVE_TEMPLATE",
1179
1179
  "COMPILER_INLINE_TEMPLATE": "COMPILER_INLINE_TEMPLATE",
1180
- "COMPILER_FILTERS": "COMPILER_FILTER"
1180
+ "COMPILER_FILTERS": "COMPILER_FILTERS"
1181
1181
  };
1182
1182
  const deprecationData = {
1183
1183
  ["COMPILER_IS_ON_ELEMENT"]: {
@@ -1207,7 +1207,7 @@ const deprecationData = {
1207
1207
  message: `"inline-template" has been removed in Vue 3.`,
1208
1208
  link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
1209
1209
  },
1210
- ["COMPILER_FILTER"]: {
1210
+ ["COMPILER_FILTERS"]: {
1211
1211
  message: `filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,
1212
1212
  link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
1213
1213
  }
@@ -5395,7 +5395,7 @@ function createTransformProps(props = []) {
5395
5395
 
5396
5396
  const validDivisionCharRE = /[\w).+\-_$\]]/;
5397
5397
  const transformFilter = (node, context) => {
5398
- if (!isCompatEnabled("COMPILER_FILTER", context)) {
5398
+ if (!isCompatEnabled("COMPILER_FILTERS", context)) {
5399
5399
  return;
5400
5400
  }
5401
5401
  if (node.type === 5) {
@@ -5516,7 +5516,7 @@ function parseFilter(node, context) {
5516
5516
  }
5517
5517
  if (filters.length) {
5518
5518
  !!(process.env.NODE_ENV !== "production") && warnDeprecation(
5519
- "COMPILER_FILTER",
5519
+ "COMPILER_FILTERS",
5520
5520
  context,
5521
5521
  node.loc
5522
5522
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -36,7 +36,7 @@
36
36
  "entities": "^4.5.0",
37
37
  "estree-walker": "^2.0.2",
38
38
  "source-map-js": "^1.0.2",
39
- "@vue/shared": "3.4.0"
39
+ "@vue/shared": "3.4.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/types": "^7.23.6"