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

source-code-error

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-code-error - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

package.json
{
"name": "source-code-error",
"version": "0.9.0",
"version": "0.9.1",
"description": "Render Error of Source-Code",

@@ -5,0 +5,0 @@ "keywords": [ "error", "code", "frame" ],

@@ -79,5 +79,5 @@ /*

if (options.filename !== "") {
let dirname = path.dirname(options.filename)
let dirname = path.dirname(options.filename) + path.sep
let basename = path.basename(options.filename)
header += `${chalk.red("file \"")} ${chalk.red(dirname)}${chalk.red.bold(basename)}${chalk.red("\", ")}`
header += `${chalk.red("file \"")}${chalk.red(dirname)}${chalk.red.bold(basename)}${chalk.red("\", ")}`
}

@@ -84,0 +84,0 @@ header += `${chalk.red("line ")}${chalk.red.bold(options.line)}` +

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