Socket
Socket
Sign inDemoInstall

@babel/code-frame

Package Overview
Dependencies
11
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.24.1 to 7.24.2

3

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc