@vue/shared 3.2.27 → 3.2.28

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.
@@ -326,8 +326,20 @@ const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,col
326
326
  'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +
327
327
  'text,textPath,title,tspan,unknown,use,view';
328
328
  const VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';
329
+ /**
330
+ * Compiler only.
331
+ * Do NOT use in runtime code paths unless behind `true` flag.
332
+ */
329
333
  const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);
334
+ /**
335
+ * Compiler only.
336
+ * Do NOT use in runtime code paths unless behind `true` flag.
337
+ */
330
338
  const isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);
339
+ /**
340
+ * Compiler only.
341
+ * Do NOT use in runtime code paths unless behind `true` flag.
342
+ */
331
343
  const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);
332
344
 
333
345
  const escapeRE = /["'&<>]/;
@@ -326,8 +326,20 @@ const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,col
326
326
  'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +
327
327
  'text,textPath,title,tspan,unknown,use,view';
328
328
  const VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';
329
+ /**
330
+ * Compiler only.
331
+ * Do NOT use in runtime code paths unless behind `false` flag.
332
+ */
329
333
  const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);
334
+ /**
335
+ * Compiler only.
336
+ * Do NOT use in runtime code paths unless behind `false` flag.
337
+ */
330
338
  const isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);
339
+ /**
340
+ * Compiler only.
341
+ * Do NOT use in runtime code paths unless behind `false` flag.
342
+ */
331
343
  const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);
332
344
 
333
345
  const escapeRE = /["'&<>]/;
package/dist/shared.d.ts CHANGED
@@ -63,6 +63,10 @@ export declare const isFunction: (val: unknown) => val is Function;
63
63
 
64
64
  export declare const isGloballyWhitelisted: (key: string) => boolean;
65
65
 
66
+ /**
67
+ * Compiler only.
68
+ * Do NOT use in runtime code paths unless behind `__DEV__` flag.
69
+ */
66
70
  export declare const isHTMLTag: (key: string) => boolean;
67
71
 
68
72
  export declare const isIntegerKey: (key: unknown) => boolean;
@@ -107,10 +111,18 @@ export declare function isSSRSafeAttrName(name: string): boolean;
107
111
 
108
112
  export declare const isString: (val: unknown) => val is string;
109
113
 
114
+ /**
115
+ * Compiler only.
116
+ * Do NOT use in runtime code paths unless behind `__DEV__` flag.
117
+ */
110
118
  export declare const isSVGTag: (key: string) => boolean;
111
119
 
112
120
  export declare const isSymbol: (val: unknown) => val is symbol;
113
121
 
122
+ /**
123
+ * Compiler only.
124
+ * Do NOT use in runtime code paths unless behind `__DEV__` flag.
125
+ */
114
126
  export declare const isVoidTag: (key: string) => boolean;
115
127
 
116
128
  export declare function looseEqual(a: any, b: any): boolean;
@@ -322,8 +322,20 @@ const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,col
322
322
  'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +
323
323
  'text,textPath,title,tspan,unknown,use,view';
324
324
  const VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';
325
+ /**
326
+ * Compiler only.
327
+ * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
328
+ */
325
329
  const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);
330
+ /**
331
+ * Compiler only.
332
+ * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
333
+ */
326
334
  const isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);
335
+ /**
336
+ * Compiler only.
337
+ * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
338
+ */
327
339
  const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);
328
340
 
329
341
  const escapeRE = /["'&<>]/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/shared",
3
- "version": "3.2.27",
3
+ "version": "3.2.28",
4
4
  "description": "internal utils shared across @vue packages",
5
5
  "main": "index.js",
6
6
  "module": "dist/shared.esm-bundler.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git+https://github.com/vuejs/vue-next.git",
20
+ "url": "git+https://github.com/vuejs/core.git",
21
21
  "directory": "packages/shared"
22
22
  },
23
23
  "keywords": [
@@ -26,7 +26,7 @@
26
26
  "author": "Evan You",
27
27
  "license": "MIT",
28
28
  "bugs": {
29
- "url": "https://github.com/vuejs/vue-next/issues"
29
+ "url": "https://github.com/vuejs/core/issues"
30
30
  },
31
- "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/shared#readme"
31
+ "homepage": "https://github.com/vuejs/core/tree/main/packages/shared#readme"
32
32
  }