Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@vue/shared

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/shared - npm Package Compare versions

Comparing version
3.6.0-alpha.2
to
3.6.0-alpha.3
+6
-4
dist/shared.cjs.js
/**
* @vue/shared v3.6.0-alpha.2
* @vue/shared v3.6.0-alpha.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -10,3 +10,2 @@ * @license MIT

/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__

@@ -68,6 +67,6 @@ function makeMap(str) {

const cache = /* @__PURE__ */ Object.create(null);
return (str) => {
return ((str) => {
const hit = cache[str];
return hit || (cache[str] = fn(str));
};
});
};

@@ -407,2 +406,5 @@ const camelizeRE = /-(\w)/g;

}
if (key === "sandbox" && tagName === "IFRAME") {
return true;
}
return false;

@@ -409,0 +411,0 @@ }

/**
* @vue/shared v3.6.0-alpha.2
* @vue/shared v3.6.0-alpha.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -10,3 +10,2 @@ * @license MIT

/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__

@@ -68,6 +67,6 @@ function makeMap(str) {

const cache = /* @__PURE__ */ Object.create(null);
return (str) => {
return ((str) => {
const hit = cache[str];
return hit || (cache[str] = fn(str));
};
});
};

@@ -407,2 +406,5 @@ const camelizeRE = /-(\w)/g;

}
if (key === "sandbox" && tagName === "IFRAME") {
return true;
}
return false;

@@ -409,0 +411,0 @@ }

+0
-1

@@ -8,3 +8,2 @@ /**

*/
/*! #__NO_SIDE_EFFECTS__ */
export declare function makeMap(str: string): (key: string) => boolean;

@@ -11,0 +10,0 @@

/**
* @vue/shared v3.6.0-alpha.2
* @vue/shared v3.6.0-alpha.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__

@@ -63,6 +62,6 @@ function makeMap(str) {

const cache = /* @__PURE__ */ Object.create(null);
return (str) => {
return ((str) => {
const hit = cache[str];
return hit || (cache[str] = fn(str));
};
});
};

@@ -402,2 +401,5 @@ const camelizeRE = /-(\w)/g;

}
if (key === "sandbox" && tagName === "IFRAME") {
return true;
}
return false;

@@ -404,0 +406,0 @@ }

{
"name": "@vue/shared",
"version": "3.6.0-alpha.2",
"version": "3.6.0-alpha.3",
"description": "internal utils shared across @vue packages",

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