@vue/compiler-core 3.2.21 → 3.2.22

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.
@@ -4955,7 +4955,7 @@ function stringifyDynamicPropNames(props) {
4955
4955
  return propsNamesString + `]`;
4956
4956
  }
4957
4957
  function isComponentTag(tag) {
4958
- return tag[0].toLowerCase() + tag.slice(1) === 'component';
4958
+ return tag === 'component' || tag === 'Component';
4959
4959
  }
4960
4960
  function processInlineRef(context, raw) {
4961
4961
  const body = [createSimpleExpression(`_refs['${raw}'] = _value`)];
@@ -4830,7 +4830,7 @@ function stringifyDynamicPropNames(props) {
4830
4830
  return propsNamesString + `]`;
4831
4831
  }
4832
4832
  function isComponentTag(tag) {
4833
- return tag[0].toLowerCase() + tag.slice(1) === 'component';
4833
+ return tag === 'component' || tag === 'Component';
4834
4834
  }
4835
4835
  function processInlineRef(context, raw) {
4836
4836
  const body = [createSimpleExpression(`_refs['${raw}'] = _value`)];
@@ -4208,7 +4208,7 @@ function stringifyDynamicPropNames(props) {
4208
4208
  return propsNamesString + `]`;
4209
4209
  }
4210
4210
  function isComponentTag(tag) {
4211
- return tag[0].toLowerCase() + tag.slice(1) === 'component';
4211
+ return tag === 'component' || tag === 'Component';
4212
4212
  }
4213
4213
 
4214
4214
  (process.env.NODE_ENV !== 'production')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/compiler-core",
3
- "version": "3.2.21",
3
+ "version": "3.2.22",
4
4
  "description": "@vue/compiler-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-core.esm-bundler.js",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
34
34
  "dependencies": {
35
- "@vue/shared": "3.2.21",
35
+ "@vue/shared": "3.2.22",
36
36
  "@babel/parser": "^7.15.0",
37
37
  "estree-walker": "^2.0.2",
38
38
  "source-map": "^0.6.1"