vite-plugin-istanbul
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -1,2 +0,2 @@ | ||
# [2.6.0](https://github.com/ifaxity/vite-plugin-istanbul/compare/v2.5.1...v2.6.0) (2022-04-11) | ||
## [2.6.1](https://github.com/ifaxity/vite-plugin-istanbul/compare/v2.6.0...v2.6.1) (2022-04-11) | ||
@@ -6,8 +6,2 @@ | ||
* Added typings for "ws" to fix typing problem with Vite@^2.9.0 ([cced656](https://github.com/ifaxity/vite-plugin-istanbul/commit/cced656421b7815f4a58937c9171e7ba48934922)) | ||
### Features | ||
* Updated dependencies and switched to npm ([c7e321d](https://github.com/ifaxity/vite-plugin-istanbul/commit/c7e321d998ae3e6afe7a86e4d6f816c2fddbc5a3)) | ||
* Updated dependencies and switched to npm ([891c5c9](https://github.com/ifaxity/vite-plugin-istanbul/commit/891c5c9984e161e42530ed6232ea0c54bbb32cbd)) | ||
* Replaced reference id with this.getFilename() to get accurate filenames ([733997a](https://github.com/ifaxity/vite-plugin-istanbul/commit/733997a780e260208d2f34d2d52684ee4f71d734)) |
@@ -105,4 +105,5 @@ "use strict"; | ||
if (exclude.shouldInstrument(id)) { | ||
const filename = this.getFileName(id); | ||
const sourceMap = sanitizeSourceMap(this.getCombinedSourcemap()); | ||
const code = instrumenter.instrumentSync(srcCode, id, sourceMap); | ||
const code = instrumenter.instrumentSync(srcCode, filename, sourceMap); | ||
const map = instrumenter.lastSourceMap(); | ||
@@ -109,0 +110,0 @@ // Required to cast to correct mapping value |
{ | ||
"name": "vite-plugin-istanbul", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"author": "iFaxity (christian@faxity.se)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
130
16566