Enable unsafe call rule

This commit is contained in:
Henry Mercer
2024-06-13 19:37:56 +01:00
parent d8f549d6d8
commit e7d04fdb41
27 changed files with 135 additions and 129 deletions

6
node_modules/.package-lock.json generated vendored
View File

@@ -871,6 +871,12 @@
"integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
"dev": true
},
"node_modules/@types/console-log-level": {
"version": "1.4.5",
"resolved": "https://registry.npmjs.org/@types/console-log-level/-/console-log-level-1.4.5.tgz",
"integrity": "sha512-ANoa0gMtzWhKKMYbBt+NM11VqbuwJwpMEkvuZTJ1JcQ7C6Qw/yjV5R4yPkOPjFAULcvX8wenC9BnI5K9jExmiw==",
"dev": true
},
"node_modules/@types/get-folder-size": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/get-folder-size/-/get-folder-size-2.0.0.tgz",

21
node_modules/@types/console-log-level/LICENSE generated vendored Normal file
View File

@@ -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

35
node_modules/@types/console-log-level/README.md generated vendored Normal file
View File

@@ -0,0 +1,35 @@
# Installation
> `npm install --save @types/console-log-level`
# Summary
This package contains type definitions for console-log-level (https://github.com/watson/console-log-level).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/console-log-level.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/console-log-level/index.d.ts)
````ts
type PrefixFunction = (level: string) => string;
declare namespace consoleLogLevel {
type LogLevelNames = "trace" | "debug" | "info" | "warn" | "error" | "fatal";
type Logger = Record<LogLevelNames, (...args: any[]) => void>;
}
interface Options {
level?: consoleLogLevel.LogLevelNames | undefined;
prefix?: string | PrefixFunction | undefined;
stderr?: boolean | undefined;
}
declare function consoleLogLevel(opts?: Options): consoleLogLevel.Logger;
export = consoleLogLevel;
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: none
# Credits
These definitions were written by [Ali Ijaz Sheikh](https://github.com/ofrobots).

16
node_modules/@types/console-log-level/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,16 @@
type PrefixFunction = (level: string) => string;
declare namespace consoleLogLevel {
type LogLevelNames = "trace" | "debug" | "info" | "warn" | "error" | "fatal";
type Logger = Record<LogLevelNames, (...args: any[]) => void>;
}
interface Options {
level?: consoleLogLevel.LogLevelNames | undefined;
prefix?: string | PrefixFunction | undefined;
stderr?: boolean | undefined;
}
declare function consoleLogLevel(opts?: Options): consoleLogLevel.Logger;
export = consoleLogLevel;

25
node_modules/@types/console-log-level/package.json generated vendored Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "@types/console-log-level",
"version": "1.4.5",
"description": "TypeScript definitions for console-log-level",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/console-log-level",
"license": "MIT",
"contributors": [
{
"name": "Ali Ijaz Sheikh",
"githubUsername": "ofrobots",
"url": "https://github.com/ofrobots"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/console-log-level"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "4aaa5b0263072004b98521522a9d5c08abdc34951b84d0a13d9d731f4867899e",
"typeScriptVersion": "4.5"
}