Socket
Socket
Sign inDemoInstall

vite-plugin-istanbul

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-istanbul - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

4

CHANGELOG.md

@@ -1,2 +0,2 @@

## [2.7.1](https://github.com/ifaxity/vite-plugin-istanbul/compare/v2.7.0...v2.7.1) (2022-04-13)
## [2.7.2](https://github.com/ifaxity/vite-plugin-istanbul/compare/v2.7.1...v2.7.2) (2022-04-30)

@@ -6,2 +6,2 @@

* Reverted [#27](https://github.com/ifaxity/vite-plugin-istanbul/issues/27) fix for this.getFileName() ([d9fbab1](https://github.com/ifaxity/vite-plugin-istanbul/commit/d9fbab1c66bfa0892cfedeac78232be93aacc8c9))
* Added typings for [#38](https://github.com/ifaxity/vite-plugin-istanbul/issues/38) ([03772db](https://github.com/ifaxity/vite-plugin-istanbul/commit/03772db20cc336c9001b70d1d46b82277c2ddd35))

@@ -35,2 +35,4 @@ "use strict";

const instrumenter = (0, istanbul_lib_instrument_1.createInstrumenter)({
coverageGlobalScopeFunc: false,
coverageGlobalScope: 'window',
preserveComments: true,

@@ -37,0 +39,0 @@ produceSourceMap: true,

{
"name": "vite-plugin-istanbul",
"version": "2.7.1",
"version": "2.7.2",
"author": "iFaxity (christian@faxity.se)",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -51,3 +51,3 @@ vite-plugin-istanbul

This plugin also requires the Vite configuration [build.sourcemap](https://vitejs.dev/config/#build-sourcemap) to be set to either **true**, **'inline'**, **'hidden'**.
But the plugin will automatically default to **true** if it is missing in order to give accurate cove coverage.
But the plugin will automatically default to **true** if it is missing in order to give accurate code coverage.
The plugin will notify when this happens in order for a developer to fix it. This notification will show even when the plugin is disabled by e.g `opts.requireEnv`, `VITE_COVERAGE=false`. This is due to a limitation of the API for this kind of feature.

@@ -54,0 +54,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc