@storybook/addon-coverage
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -17,3 +17,3 @@ "use strict"; | ||
function sanitizeSourceMap(rawSourceMap) { | ||
return rawSourceMap === "string" ? JSON.parse(rawSourceMap) : rawSourceMap; | ||
return typeof rawSourceMap === "string" ? JSON.parse(rawSourceMap) : rawSourceMap; | ||
} | ||
@@ -20,0 +20,0 @@ |
@@ -7,3 +7,3 @@ import { fromSource, fromMapFileSource } from "convert-source-map"; // @ts-expect-error no types | ||
function sanitizeSourceMap(rawSourceMap) { | ||
return rawSourceMap === "string" ? JSON.parse(rawSourceMap) : rawSourceMap; | ||
return typeof rawSourceMap === "string" ? JSON.parse(rawSourceMap) : rawSourceMap; | ||
} | ||
@@ -10,0 +10,0 @@ |
{ | ||
"name": "@storybook/addon-coverage", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Tools to support code coverage in Storybook", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
31861