Socket
Socket
Sign inDemoInstall

istanbul-lib-instrument

Package Overview
Dependencies
7
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

.nyc_output/30eed2170045be2434391df2cf91c7c6.json

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.3.1"></a>
## [1.3.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.3.0...v1.3.1) (2016-12-27)
### Bug Fixes
* function declaration assignment now retains function name ([#33](https://github.com/istanbuljs/istanbul-lib-instrument/issues/33)) ([2d781da](https://github.com/istanbuljs/istanbul-lib-instrument/commit/2d781da))
<a name="1.3.0"></a>

@@ -7,0 +17,0 @@ # [1.3.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.2.0...v1.3.0) (2016-11-10)

@@ -234,2 +234,10 @@ 'use strict';

}
if (!n.id) {
var decl = path.find(function (node) {
return node.isVariableDeclarator();
});
if (decl) {
n.id = decl.get('id').node;
}
}
var name = path.node.id ? path.node.id.name : path.node.name;

@@ -236,0 +244,0 @@ var index = this.cov.newFunction(name, dloc, path.node.body.loc);

2

package.json
{
"name": "istanbul-lib-instrument",
"version": "1.3.0",
"version": "1.3.1",
"description": "Core istanbul API for JS code coverage",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc