@babel/code-frame
Advanced tools
Comparing version 7.24.1 to 7.24.2
@@ -12,2 +12,3 @@ "use strict"; | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
const colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default; | ||
const compose = (f, g) => v => f(g(v)); | ||
@@ -21,3 +22,3 @@ let pcWithForcedColor = undefined; | ||
} | ||
return _picocolors.default; | ||
return colors; | ||
} | ||
@@ -24,0 +25,0 @@ let deprecationWarningShown = false; |
{ | ||
"name": "@babel/code-frame", | ||
"version": "7.24.1", | ||
"version": "7.24.2", | ||
"description": "Generate errors that contain a code frame that point to source locations.", | ||
@@ -19,3 +19,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"dependencies": { | ||
"@babel/highlight": "^7.24.1", | ||
"@babel/highlight": "^7.24.2", | ||
"picocolors": "^1.0.0" | ||
@@ -22,0 +22,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
24112
155
2
Updated@babel/highlight@^7.24.2