@babel/runtime
Advanced tools
@@ -35,5 +35,6 @@ import setPrototypeOf from "./setPrototypeOf.js"; | ||
| var o = r.get(this); | ||
| return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)>/g, function (e, r) { | ||
| var t = o[r]; | ||
| return "$" + (Array.isArray(t) ? t.join("$") : t); | ||
| return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)(>|$)/g, function (e, r, t) { | ||
| if ("" === t) return e; | ||
| var p = o[r]; | ||
| return Array.isArray(p) ? "$" + p.join("$") : "number" == typeof p ? "$" + p : ""; | ||
| })); | ||
@@ -40,0 +41,0 @@ } |
@@ -35,5 +35,6 @@ const setPrototypeOf = require("./setPrototypeOf.js"); | ||
| var o = r.get(this); | ||
| return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)>/g, function (e, r) { | ||
| var t = o[r]; | ||
| return "$" + (Array.isArray(t) ? t.join("$") : t); | ||
| return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)(>|$)/g, function (e, r, t) { | ||
| if ("" === t) return e; | ||
| var p = o[r]; | ||
| return Array.isArray(p) ? "$" + p.join("$") : "number" == typeof p ? "$" + p : ""; | ||
| })); | ||
@@ -40,0 +41,0 @@ } |
+1
-1
| { | ||
| "name": "@babel/runtime", | ||
| "version": "8.0.0-alpha.16", | ||
| "version": "8.0.0-alpha.17", | ||
| "description": "babel's modular runtime helpers", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
143394
0.1%3183
0.06%0
-100%