Socket
Socket
Sign inDemoInstall

source-mapper

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-mapper - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

CHANGES.md
# Changes
## 1.0.6
- Don't print a potentially wrong column number
## 1.0.5

@@ -4,0 +8,0 @@

5

lib/source-mapper.js

@@ -51,3 +51,3 @@ /*

line : n,
column : 0
column : Number(match[4] ? match[4].substring(1) : 0)
});

@@ -57,4 +57,3 @@ var pre = line.substring(0, match.index)

.replace('@', ' ');
return ' ' + pre + mapped.source + ':' + mapped.line
+ (match[4] || '') + match[5];
return ' ' + pre + mapped.source + ':' + mapped.line + match[5];
}).join('\n');

@@ -61,0 +60,0 @@ };

{
"name": "source-mapper",
"version": "1.0.5",
"version": "1.0.6",
"description": "Replace strack traces with original sources using source maps",

@@ -5,0 +5,0 @@ "keywords": ["stack", "trace", "source-maps"],

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