istanbul-lib-instrument
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="1.6.2"></a> | ||
## [1.6.2](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.6.1...istanbul-lib-instrument@1.6.2) (2017-03-22) | ||
### Bug Fixes | ||
* loc is sometimes not defined, so loc.start fails see [#99](https://github.com/istanbuljs/istanbuljs/issues/99) ([#18](https://github.com/istanbuljs/istanbuljs/issues/18)) ([df85ba6](https://github.com/istanbuljs/istanbul-lib-instrument/commit/df85ba6)) | ||
<a name="1.6.1"></a> | ||
@@ -8,0 +16,0 @@ ## [1.6.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.6.0...istanbul-lib-instrument@1.6.1) (2017-03-21) |
@@ -78,3 +78,3 @@ 'use strict'; | ||
// DEPRECATED: some legacy reports require this info. | ||
line: loc.start.line | ||
line: loc && loc.start.line | ||
}; | ||
@@ -95,3 +95,3 @@ this.data.f[f] = 0; | ||
// DEPRECATED: some legacy reports require this info. | ||
line: loc.start.line | ||
line: loc && loc.start.line | ||
}; | ||
@@ -98,0 +98,0 @@ this.meta.last.b += 1; |
{ | ||
"name": "istanbul-lib-instrument", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Core istanbul API for JS code coverage", | ||
@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", |
102674