From 5d309ff52cd399a6b71968a6b9a70c8ac0b98981 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 5 Mar 2022 19:02:27 +0200 Subject: Added node_modules for the updating to work properly. --- node_modules/@types/stack-utils/LICENSE | 21 +++++++ node_modules/@types/stack-utils/README.md | 85 ++++++++++++++++++++++++++++ node_modules/@types/stack-utils/index.d.ts | 65 +++++++++++++++++++++ node_modules/@types/stack-utils/package.json | 25 ++++++++ 4 files changed, 196 insertions(+) create mode 100755 node_modules/@types/stack-utils/LICENSE create mode 100755 node_modules/@types/stack-utils/README.md create mode 100755 node_modules/@types/stack-utils/index.d.ts create mode 100755 node_modules/@types/stack-utils/package.json (limited to 'node_modules/@types/stack-utils') diff --git a/node_modules/@types/stack-utils/LICENSE b/node_modules/@types/stack-utils/LICENSE new file mode 100755 index 0000000..9e841e7 --- /dev/null +++ b/node_modules/@types/stack-utils/LICENSE @@ -0,0 +1,21 @@ + 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 diff --git a/node_modules/@types/stack-utils/README.md b/node_modules/@types/stack-utils/README.md new file mode 100755 index 0000000..606c14d --- /dev/null +++ b/node_modules/@types/stack-utils/README.md @@ -0,0 +1,85 @@ +# 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 +// Type definitions for stack-utils 2.0 +// Project: https://github.com/tapjs/stack-utils#readme +// Definitions by: BendingBender +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +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: Fri, 02 Jul 2021 22:32:52 GMT + * Dependencies: none + * Global values: none + +# Credits +These definitions were written by [BendingBender](https://github.com/BendingBender). diff --git a/node_modules/@types/stack-utils/index.d.ts b/node_modules/@types/stack-utils/index.d.ts new file mode 100755 index 0000000..3c598f2 --- /dev/null +++ b/node_modules/@types/stack-utils/index.d.ts @@ -0,0 +1,65 @@ +// Type definitions for stack-utils 2.0 +// Project: https://github.com/tapjs/stack-utils#readme +// Definitions by: BendingBender +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 + +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; + } +} diff --git a/node_modules/@types/stack-utils/package.json b/node_modules/@types/stack-utils/package.json new file mode 100755 index 0000000..52cbba9 --- /dev/null +++ b/node_modules/@types/stack-utils/package.json @@ -0,0 +1,25 @@ +{ + "name": "@types/stack-utils", + "version": "2.0.1", + "description": "TypeScript definitions for stack-utils", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils", + "license": "MIT", + "contributors": [ + { + "name": "BendingBender", + "url": "https://github.com/BendingBender", + "githubUsername": "BendingBender" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/stack-utils" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "bfc4261f4e970131a82704cd51ce862a2f5c7e33c5447030510300c6fe1ee268", + "typeScriptVersion": "3.6" +} \ No newline at end of file -- cgit v1.2.3