Socket
Socket
Sign inDemoInstall

@babel/code-frame

Package Overview
Dependencies
10
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.1 to 8.0.0-alpha.2

6

lib/index.js
import highlight, { shouldHighlight } from '@babel/highlight';
import chalk from 'chalk';
import _chalk from 'chalk';
const chalk = _chalk;
let chalkWithForcedColor = undefined;
function getChalk(forceColor) {
if (forceColor) {
chalkWithForcedColor ??= new chalk.constructor({
enabled: true,
chalkWithForcedColor ??= new chalk.Instance({
level: 1

@@ -10,0 +10,0 @@ });

{
"name": "@babel/code-frame",
"version": "8.0.0-alpha.1",
"version": "8.0.0-alpha.2",
"description": "Generate errors that contain a code frame that point to source locations.",

@@ -19,4 +19,4 @@ "author": "The Babel Team (https://babel.dev/team)",

"dependencies": {
"@babel/highlight": "^8.0.0-alpha.1",
"chalk": "^2.4.2"
"@babel/highlight": "^8.0.0-alpha.2",
"chalk": "^4.1.2"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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