stack-utils/000755 001751 000177 0000000000 14522451650015010 5ustar00runner000000 000000 1452245165014522451650stack-utils/LICENSE000644 001751 000177 0000002165 14522451650016021 0ustar00runner000000 000000 1452245165014522451650 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE stack-utils/README.md000644 001751 000177 0000004761 14522451650016312 0ustar00runner000000 000000 1452246646614522451650# Installation > `npm install --save @types/stack-utils` # Summary This package contains type definitions for stack-utils (https://github.com/tapjs/stack-utils#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils/index.d.ts) ````ts export = StackUtils; declare class StackUtils { static nodeInternals(): RegExp[]; constructor(options?: StackUtils.Options); clean(stack: string | string[]): string; capture(limit?: number, startStackFunction?: Function): StackUtils.CallSite[]; capture(startStackFunction: Function): StackUtils.CallSite[]; captureString(limit?: number, startStackFunction?: Function): string; captureString(startStackFunction: Function): string; at(startStackFunction?: Function): StackUtils.CallSiteLike; parseLine(line: string): StackUtils.StackLineData | null; } declare namespace StackUtils { interface Options { internals?: RegExp[] | undefined; ignoredPackages?: string[] | undefined; cwd?: string | undefined; wrapCallSite?(callSite: CallSite): CallSite; } interface CallSite { getThis(): object | undefined; getTypeName(): string; getFunction(): Function | undefined; getFunctionName(): string; getMethodName(): string | null; getFileName(): string | undefined; getLineNumber(): number; getColumnNumber(): number; getEvalOrigin(): CallSite | string; isToplevel(): boolean; isEval(): boolean; isNative(): boolean; isConstructor(): boolean; } interface CallSiteLike extends StackData { type?: string | undefined; } interface StackLineData extends StackData { evalLine?: number | undefined; evalColumn?: number | undefined; evalFile?: string | undefined; } interface StackData { line?: number | undefined; column?: number | undefined; file?: string | undefined; constructor?: boolean | undefined; evalOrigin?: string | undefined; native?: boolean | undefined; function?: string | undefined; method?: string | undefined; } } ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: none # Credits These definitions were written by [BendingBender](https://github.com/BendingBender). stack-utils/index.d.ts000644 001751 000177 0000003607 14522451650016717 0ustar00runner000000 000000 1452245165014522451650export = StackUtils; declare class StackUtils { static nodeInternals(): RegExp[]; constructor(options?: StackUtils.Options); clean(stack: string | string[]): string; capture(limit?: number, startStackFunction?: Function): StackUtils.CallSite[]; capture(startStackFunction: Function): StackUtils.CallSite[]; captureString(limit?: number, startStackFunction?: Function): string; captureString(startStackFunction: Function): string; at(startStackFunction?: Function): StackUtils.CallSiteLike; parseLine(line: string): StackUtils.StackLineData | null; } declare namespace StackUtils { interface Options { internals?: RegExp[] | undefined; ignoredPackages?: string[] | undefined; cwd?: string | undefined; wrapCallSite?(callSite: CallSite): CallSite; } interface CallSite { getThis(): object | undefined; getTypeName(): string; getFunction(): Function | undefined; getFunctionName(): string; getMethodName(): string | null; getFileName(): string | undefined; getLineNumber(): number; getColumnNumber(): number; getEvalOrigin(): CallSite | string; isToplevel(): boolean; isEval(): boolean; isNative(): boolean; isConstructor(): boolean; } interface CallSiteLike extends StackData { type?: string | undefined; } interface StackLineData extends StackData { evalLine?: number | undefined; evalColumn?: number | undefined; evalFile?: string | undefined; } interface StackData { line?: number | undefined; column?: number | undefined; file?: string | undefined; constructor?: boolean | undefined; evalOrigin?: string | undefined; native?: boolean | undefined; function?: string | undefined; method?: string | undefined; } } stack-utils/package.json000644 001751 000177 0000001455 14522451650017316 0ustar00runner000000 000000 1452246646614522451650{ "name": "@types/stack-utils", "version": "2.0.3", "description": "TypeScript definitions for stack-utils", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils", "license": "MIT", "contributors": [ { "name": "BendingBender", "githubUsername": "BendingBender", "url": "https://github.com/BendingBender" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/stack-utils" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "ab51d155e7946b0b0e0edab741811a35172a48de2674195feb31eaaf7bf992b7", "typeScriptVersion": "4.5" }