@vue/reactivity 3.6.0-beta.10 → 3.6.0-beta.11

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -45,20 +45,12 @@ const cacheStringFunction = (fn) => {
45
45
  return cache[str] || (cache[str] = fn(str));
46
46
  });
47
47
  };
48
- const camelizeRE = /-(\w)/g;
49
- const camelizeReplacer = (_, c) => c ? c.toUpperCase() : "";
50
- cacheStringFunction((str) => str.replace(camelizeRE, camelizeReplacer));
51
- const hyphenateRE = /\B([A-Z])/g;
52
- cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
53
48
  /**
54
49
  * @private
55
50
  */
56
51
  const capitalize = cacheStringFunction((str) => {
57
52
  return str.charAt(0).toUpperCase() + str.slice(1);
58
53
  });
59
- cacheStringFunction((str) => {
60
- return str ? `on${capitalize(str)}` : ``;
61
- });
62
54
  const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
63
55
  const def = (obj, key, value, writable = false) => {
64
56
  Object.defineProperty(obj, key, {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -47,20 +47,12 @@ var VueReactivity = (function(exports) {
47
47
  return cache[str] || (cache[str] = fn(str));
48
48
  });
49
49
  };
50
- const camelizeRE = /-(\w)/g;
51
- const camelizeReplacer = (_, c) => c ? c.toUpperCase() : "";
52
- cacheStringFunction((str) => str.replace(camelizeRE, camelizeReplacer));
53
- const hyphenateRE = /\B([A-Z])/g;
54
- cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
55
50
  /**
56
51
  * @private
57
52
  */
58
53
  const capitalize = cacheStringFunction((str) => {
59
54
  return str.charAt(0).toUpperCase() + str.slice(1);
60
55
  });
61
- cacheStringFunction((str) => {
62
- return str ? `on${capitalize(str)}` : ``;
63
- });
64
56
  const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
65
57
  const def = (obj, key, value, writable = false) => {
66
58
  Object.defineProperty(obj, key, {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/reactivity v3.6.0-beta.10
2
+ * @vue/reactivity v3.6.0-beta.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/reactivity",
3
- "version": "3.6.0-beta.10",
3
+ "version": "3.6.0-beta.11",
4
4
  "description": "@vue/reactivity",
5
5
  "main": "index.js",
6
6
  "module": "dist/reactivity.esm-bundler.js",
@@ -50,6 +50,6 @@
50
50
  },
51
51
  "homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
52
52
  "dependencies": {
53
- "@vue/shared": "3.6.0-beta.10"
53
+ "@vue/shared": "3.6.0-beta.11"
54
54
  }
55
55
  }