istanbul-lib-instrument
Advanced tools
Comparing version 1.4.2 to 1.5.0
# Change Log | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
All notable changes to this project will be documented in this file. | ||
See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
<a name="1.5.0"></a> | ||
# [1.5.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.4.2...istanbul-lib-instrument@1.5.0) (2017-03-20) | ||
### Features | ||
* add line back to lcov.json ([3a38ff2](https://github.com/istanbuljs/istanbul-lib-instrument/commit/3a38ff2)) | ||
* adds line number property back to coverage.json ([b03b927](https://github.com/istanbuljs/istanbul-lib-instrument/commit/b03b927)) | ||
<a name="1.4.2"></a> | ||
@@ -6,0 +16,0 @@ ## [1.4.2](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.4.1...v1.4.2) (2017-01-04) |
@@ -76,3 +76,4 @@ 'use strict'; | ||
decl: cloneLocation(decl), | ||
loc: cloneLocation(loc) | ||
loc: cloneLocation(loc), | ||
line: loc.start.line // DEPRECATED: some legacy reports require this info. | ||
}; | ||
@@ -91,3 +92,4 @@ this.data.f[f] = 0; | ||
type: type, | ||
locations: [] | ||
locations: [], | ||
line: loc.start.line // DEPRECATED: some legacy reports require this info. | ||
}; | ||
@@ -94,0 +96,0 @@ this.meta.last.b += 1; |
{ | ||
"name": "istanbul-lib-instrument", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "Core istanbul API for JS code coverage", | ||
@@ -9,7 +9,5 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", | ||
"release": "babel src --out-dir dist && documentation build -f md -o api.md src", | ||
"test": "cross-env NODE_ENV=test nyc --check-coverage --statements 90 --branches 80 mocha --recursive test/", | ||
"test": "mocha --require=babel-register --recursive test/", | ||
"pretest": "jshint src/ test/", | ||
"prepublish": "npm test && npm run release", | ||
"version": "standard-version", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls" | ||
"prepublish": "npm run release" | ||
}, | ||
@@ -38,16 +36,4 @@ "dependencies": { | ||
"mocha": "^3.1.2", | ||
"nopt": "^3.0.6", | ||
"nyc": "^8.3.1", | ||
"standard-version": "^3.0.0" | ||
"nopt": "^3.0.6" | ||
}, | ||
"nyc": { | ||
"include": [ | ||
"src/**/*.js" | ||
], | ||
"require": [ | ||
"babel-register" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
}, | ||
"license": "BSD-3-Clause", | ||
@@ -54,0 +40,0 @@ "bugs": { |
13
879
48104
10