@web/browser-logs
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -54,3 +54,3 @@ "use strict"; | ||
if (value.stack) { | ||
const parsePromise = parseStackTrace_1.parseStackTrace(value.message, value.stack, options) | ||
const parsePromise = (0, parseStackTrace_1.parseStackTrace)(value.message, value.stack, options) | ||
.then(parsedStack => { | ||
@@ -57,0 +57,0 @@ if (parsedStack) { |
@@ -9,4 +9,4 @@ interface Location { | ||
} | ||
export declare type MapStackLocation = (location: StackLocation) => StackLocation | Promise<StackLocation>; | ||
export declare type MapBrowserUrl = (url: URL) => string; | ||
export type MapStackLocation = (location: StackLocation) => StackLocation | Promise<StackLocation>; | ||
export type MapBrowserUrl = (url: URL) => string; | ||
export interface ParseStackTraceOptions { | ||
@@ -13,0 +13,0 @@ browserRootDir?: string; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@web/browser-logs", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"publishConfig": { | ||
@@ -53,4 +53,4 @@ "access": "public" | ||
"@esm-bundle/chai": "^4.1.5", | ||
"puppeteer": "^19.8.2" | ||
"puppeteer": "^19.9.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
48207
853