istanbul-lib-instrument
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -6,2 +6,9 @@ # Change Log | ||
### [5.0.4](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.3...istanbul-lib-instrument-v5.0.4) (2021-10-16) | ||
### Bug Fixes | ||
* **magic-value:** make incrementing magic value a manual step ([#641](https://www.github.com/istanbuljs/istanbuljs/issues/641)) ([823010b](https://www.github.com/istanbuljs/istanbuljs/commit/823010b821cf81bd91377d75fc83f0875925db66)) | ||
### [5.0.3](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.2...istanbul-lib-instrument-v5.0.3) (2021-10-06) | ||
@@ -8,0 +15,0 @@ |
{ | ||
"name": "istanbul-lib-instrument", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Core istanbul API for JS code coverage", | ||
@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>", |
const { createHash } = require('crypto'); | ||
const { major } = require('semver'); | ||
const { name, version } = require('../package.json'); | ||
const { name } = require('../package.json'); | ||
// TODO: increment this version if there are schema changes | ||
// that are not backwards compatible: | ||
const VERSION = '4'; | ||
@@ -10,4 +12,4 @@ const SHA = 'sha1'; | ||
MAGIC_VALUE: createHash(SHA) | ||
.update(name + '@' + major(version)) | ||
.update(name + '@' + VERSION) | ||
.digest('hex') | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61938
984