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

istanbul-lib-source-maps

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istanbul-lib-source-maps - npm Package Compare versions

Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8

11

lib/mapped.js

@@ -44,4 +44,4 @@ /*

MappedCoverage.prototype.addFunction = function (name, loc, span, hits) {
var key = 'f:' + locString(loc),
MappedCoverage.prototype.addFunction = function (name, decl, loc, hits) {
var key = 'f:' + locString(decl),
meta = this.meta,

@@ -57,5 +57,4 @@ index = meta.seen[key];

name: name,
line: loc.start.line,
loc: this.cloneLocation(loc),
span: this.cloneLocation(span)
decl: this.cloneLocation(decl),
loc: this.cloneLocation(loc)
};

@@ -86,3 +85,3 @@ }

this.branchMap[index] = {
line: loc.start.line,
loc: loc,
type: type,

@@ -89,0 +88,0 @@ locations: branchLocations.map(function (l) {

@@ -90,4 +90,4 @@ /*

hits = fc.f[f],
mapping = getMapping(sourceMap, fnMeta.loc),
spanMapping = getMapping(sourceMap, fnMeta.span),
mapping = getMapping(sourceMap, fnMeta.decl),
spanMapping = getMapping(sourceMap, fnMeta.loc),
mappedCoverage;

@@ -94,0 +94,0 @@

{
"name": "istanbul-lib-source-maps",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "Source maps support for istanbul",

@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",

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