@vue/shared 3.5.44 → 3.5.45

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/shared v3.5.44
2
+ * @vue/shared v3.5.45
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -65,24 +65,20 @@ const cacheStringFunction = (fn) => {
65
65
  });
66
66
  };
67
67
  const camelizeRE = /-\w/g;
68
- const camelize = cacheStringFunction(
69
- (str) => {
70
- return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
71
- }
72
- );
68
+ const camelize = /* @__PURE__ */ cacheStringFunction((str) => {
69
+ return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
70
+ });
73
71
  const hyphenateRE = /\B([A-Z])/g;
74
- const hyphenate = cacheStringFunction(
72
+ const hyphenate = /* @__PURE__ */ cacheStringFunction(
75
73
  (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
76
74
  );
77
- const capitalize = cacheStringFunction((str) => {
75
+ const capitalize = /* @__PURE__ */ cacheStringFunction((str) => {
78
76
  return str.charAt(0).toUpperCase() + str.slice(1);
79
77
  });
80
- const toHandlerKey = cacheStringFunction(
81
- (str) => {
82
- const s = str ? `on${capitalize(str)}` : ``;
83
- return s;
84
- }
85
- );
78
+ const toHandlerKey = /* @__PURE__ */ cacheStringFunction((str) => {
79
+ const s = str ? `on${capitalize(str)}` : ``;
80
+ return s;
81
+ });
86
82
  const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
87
83
  const invokeArrayFns = (fns, ...arg) => {
88
84
  for (let i = 0; i < fns.length; i++) {
@@ -336,7 +332,7 @@ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
336
332
  const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
337
333
  const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
338
334
 
339
- const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
335
+ const specialBooleanAttrs = `itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
340
336
  const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
341
337
  const isBooleanAttr = /* @__PURE__ */ makeMap(
342
338
  specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.44
2
+ * @vue/shared v3.5.45
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -65,24 +65,20 @@ const cacheStringFunction = (fn) => {
65
65
  });
66
66
  };
67
67
  const camelizeRE = /-\w/g;
68
- const camelize = cacheStringFunction(
69
- (str) => {
70
- return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
71
- }
72
- );
68
+ const camelize = /* @__PURE__ */ cacheStringFunction((str) => {
69
+ return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
70
+ });
73
71
  const hyphenateRE = /\B([A-Z])/g;
74
- const hyphenate = cacheStringFunction(
72
+ const hyphenate = /* @__PURE__ */ cacheStringFunction(
75
73
  (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
76
74
  );
77
- const capitalize = cacheStringFunction((str) => {
75
+ const capitalize = /* @__PURE__ */ cacheStringFunction((str) => {
78
76
  return str.charAt(0).toUpperCase() + str.slice(1);
79
77
  });
80
- const toHandlerKey = cacheStringFunction(
81
- (str) => {
82
- const s = str ? `on${capitalize(str)}` : ``;
83
- return s;
84
- }
85
- );
78
+ const toHandlerKey = /* @__PURE__ */ cacheStringFunction((str) => {
79
+ const s = str ? `on${capitalize(str)}` : ``;
80
+ return s;
81
+ });
86
82
  const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
87
83
  const invokeArrayFns = (fns, ...arg) => {
88
84
  for (let i = 0; i < fns.length; i++) {
@@ -336,7 +332,7 @@ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
336
332
  const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
337
333
  const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
338
334
 
339
- const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
335
+ const specialBooleanAttrs = `itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
340
336
  const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
341
337
  const isBooleanAttr = /* @__PURE__ */ makeMap(
342
338
  specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.44
2
+ * @vue/shared v3.5.45
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -61,24 +61,20 @@ const cacheStringFunction = (fn) => {
61
61
  });
62
62
  };
63
63
  const camelizeRE = /-\w/g;
64
- const camelize = cacheStringFunction(
65
- (str) => {
66
- return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
67
- }
68
- );
64
+ const camelize = /* @__PURE__ */ cacheStringFunction((str) => {
65
+ return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
66
+ });
69
67
  const hyphenateRE = /\B([A-Z])/g;
70
- const hyphenate = cacheStringFunction(
68
+ const hyphenate = /* @__PURE__ */ cacheStringFunction(
71
69
  (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
72
70
  );
73
- const capitalize = cacheStringFunction((str) => {
71
+ const capitalize = /* @__PURE__ */ cacheStringFunction((str) => {
74
72
  return str.charAt(0).toUpperCase() + str.slice(1);
75
73
  });
76
- const toHandlerKey = cacheStringFunction(
77
- (str) => {
78
- const s = str ? `on${capitalize(str)}` : ``;
79
- return s;
80
- }
81
- );
74
+ const toHandlerKey = /* @__PURE__ */ cacheStringFunction((str) => {
75
+ const s = str ? `on${capitalize(str)}` : ``;
76
+ return s;
77
+ });
82
78
  const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
83
79
  const invokeArrayFns = (fns, ...arg) => {
84
80
  for (let i = 0; i < fns.length; i++) {
@@ -332,7 +328,7 @@ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
332
328
  const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
333
329
  const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
334
330
 
335
- const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
331
+ const specialBooleanAttrs = `itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
336
332
  const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
337
333
  const isBooleanAttr = /* @__PURE__ */ makeMap(
338
334
  specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.5.44",
3
+ "version": "3.5.45",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",