@vue/shared
Advanced tools
| /** | ||
| * @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 @@ } |
+1
-1
| { | ||
| "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", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
94663
0.12%2361
0.21%