Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

melody-code-frame

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melody-code-frame - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

__tests__/__snapshots__/CodeFrameSpec.js.snap

1

lib/index.js

@@ -85,3 +85,2 @@ 'use strict';

if (colNumber) {
//params.line = params.line.substring(0, colNumber) + chalk.underline(params.line.substring(colNumber, colNumber + length)) + params.line.substring(colNumber + length, params.line.length - 1);
params.line += '\n' + params.before + _repeat(' ', params.width) + params.after + _repeat(' ', colNumber) + _repeat('^', length);

@@ -88,0 +87,0 @@ }

{
"name": "melody-code-frame",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -36,3 +36,2 @@ /**

if (colNumber) {
//params.line = params.line.substring(0, colNumber) + chalk.underline(params.line.substring(colNumber, colNumber + length)) + params.line.substring(colNumber + length, params.line.length - 1);
params.line += `\n${params.before}${repeat(

@@ -39,0 +38,0 @@ ' ',

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc