Socket
Socket
Sign inDemoInstall

@vue/shared

Package Overview
Dependencies
0
Maintainers
14
Versions
202
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-beta.5 to 3.0.0-beta.6

8

dist/shared.cjs.js

@@ -329,2 +329,7 @@ 'use strict';

}
// https://www.w3.org/TR/html52/syntax.html#comments
const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
function escapeHtmlComment(src) {
return src.replace(commentStripRE, '');
}

@@ -436,3 +441,3 @@ function looseEqual(a, b) {

const hasChanged = (value, oldValue) => value !== oldValue && (value === value || oldValue === oldValue);
// for converting {{ interpolation }} values to displayed strings.
// For converting {{ interpolation }} values to displayed strings.
const toDisplayString = (val) => {

@@ -463,2 +468,3 @@ return val == null

exports.escapeHtml = escapeHtml;
exports.escapeHtmlComment = escapeHtmlComment;
exports.extend = extend;

@@ -465,0 +471,0 @@ exports.generateCodeFrame = generateCodeFrame;

@@ -329,2 +329,7 @@ 'use strict';

}
// https://www.w3.org/TR/html52/syntax.html#comments
const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
function escapeHtmlComment(src) {
return src.replace(commentStripRE, '');
}

@@ -435,3 +440,3 @@ function looseEqual(a, b) {

const hasChanged = (value, oldValue) => value !== oldValue && (value === value || oldValue === oldValue);
// for converting {{ interpolation }} values to displayed strings.
// For converting {{ interpolation }} values to displayed strings.
const toDisplayString = (val) => {

@@ -462,2 +467,3 @@ return val == null

exports.escapeHtml = escapeHtml;
exports.escapeHtmlComment = escapeHtmlComment;
exports.extend = extend;

@@ -464,0 +470,0 @@ exports.generateCodeFrame = generateCodeFrame;

@@ -16,2 +16,4 @@

export declare function escapeHtmlComment(src: string): string;
export declare const extend: <T extends object, U extends object>(a: T, b: U) => T & U;

@@ -18,0 +20,0 @@

9

dist/shared.esm-bundler.js

@@ -325,2 +325,7 @@ // Make a map and return a function for checking if a key

}
// https://www.w3.org/TR/html52/syntax.html#comments
const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
function escapeHtmlComment(src) {
return src.replace(commentStripRE, '');
}

@@ -433,3 +438,3 @@ function looseEqual(a, b) {

const hasChanged = (value, oldValue) => value !== oldValue && (value === value || oldValue === oldValue);
// for converting {{ interpolation }} values to displayed strings.
// For converting {{ interpolation }} values to displayed strings.
const toDisplayString = (val) => {

@@ -451,2 +456,2 @@ return val == null

export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, extend, generateCodeFrame, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isFunction, isGloballyWhitelisted, isHTMLTag, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, mockError, mockWarn, normalizeClass, normalizeStyle, objectToString, propsToAttrMap, remove, stringifyStyle, toDisplayString, toRawType, toTypeString };
export { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, generateCodeFrame, hasChanged, hasOwn, hyphenate, invokeArrayFns, isArray, isBooleanAttr, isFunction, isGloballyWhitelisted, isHTMLTag, isNoUnitNumericStyleProp, isObject, isOn, isPlainObject, isPromise, isReservedProp, isSSRSafeAttrName, isSVGTag, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, makeMap, mockError, mockWarn, normalizeClass, normalizeStyle, objectToString, propsToAttrMap, remove, stringifyStyle, toDisplayString, toRawType, toTypeString };
{
"name": "@vue/shared",
"version": "3.0.0-beta.5",
"version": "3.0.0-beta.6",
"description": "internal utils shared across @vue packages",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc