Files
klz-cables.com/.pnpm-store/v10/files/6c/74f947b9759c0a298a761549153afcaad9edccfdc3aab41c861123a75f01e5f15d21241a51758b6a219707aa48db339b225659739b6f2d0e3347e78e29feba
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

46 lines
2.0 KiB
Plaintext

import type { Event } from '../types-hoist/event';
import type { StackFrame } from '../types-hoist/stackframe';
import type { StackLineParser, StackParser } from '../types-hoist/stacktrace';
import type { VNode, VueViewModel } from '../types-hoist/vue';
export declare const UNKNOWN_FUNCTION = "?";
/**
* Creates a stack parser with the supplied line parsers
*
* StackFrames are returned in the correct order for Sentry Exception
* frames and with Sentry SDK internal frames removed from the top and bottom
*
*/
export declare function createStackParser(...parsers: StackLineParser[]): StackParser;
/**
* Gets a stack parser implementation from Options.stackParser
* @see Options
*
* If options contains an array of line parsers, it is converted into a parser
*/
export declare function stackParserFromStackParserOptions(stackParser: StackParser | StackLineParser[]): StackParser;
/**
* Removes Sentry frames from the top and bottom of the stack if present and enforces a limit of max number of frames.
* Assumes stack input is ordered from top to bottom and returns the reverse representation so call site of the
* function that caused the crash is the last frame in the array.
* @hidden
*/
export declare function stripSentryFramesAndReverse(stack: ReadonlyArray<StackFrame>): StackFrame[];
/**
* Safely extract function name from itself
*/
export declare function getFunctionName(fn: unknown): string;
/**
* Get's stack frames from an event without needing to check for undefined properties.
*/
export declare function getFramesFromEvent(event: Event): StackFrame[] | undefined;
/**
* Get the internal name of an internal Vue value, to represent it in a stacktrace.
*
* @param value The value to get the internal name of.
*/
export declare function getVueInternalName(value: VueViewModel | VNode): string;
/**
* Normalizes stack line paths by removing file:// prefix and leading slashes for Windows paths
*/
export declare function normalizeStackTracePath(path: string | undefined): string | undefined;
//# sourceMappingURL=stacktrace.d.ts.map