Gathering detailed insights and metrics for @types/tedious-connection-pool
Gathering detailed insights and metrics for @types/tedious-connection-pool
Gathering detailed insights and metrics for @types/tedious-connection-pool
Gathering detailed insights and metrics for @types/tedious-connection-pool
The repository for high quality TypeScript type definitions.
npm install @types/tedious-connection-pool
Typescript
Module System
68.4
Supply Chain
99.2
Quality
75.9
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
48,901 Stars
88,336 Commits
30,219 Forks
641 Watching
5 Branches
9,977 Contributors
Latest Version
1.0.6
Package Id
@types/tedious-connection-pool@1.0.6
Unpacked Size
6.50 kB
Size
2.13 kB
File Count
5
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
Compared to previous year
2
npm install --save @types/tedious-connection-pool
This package contains type definitions for tedious-connection-pool (https://github.com/tediousjs/tedious-connection-pool).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tedious-connection-pool.
1/// <reference types="node" /> 2 3import events = require("events"); 4import tedious = require("tedious"); 5 6declare namespace tcp { 7 /** 8 * Extends Tedious Connection with release function 9 */ 10 class PooledConnection extends tedious.Connection { 11 /** 12 * If the connection is issued from a connection pool returns the connection to the pool. 13 */ 14 release(): void; 15 } 16 17 /** 18 * Provides a connection or an error 19 * @param err error if any 20 * @param connection issued from the pool 21 */ 22 type ConnectionCallback = (err: Error, connection: PooledConnection) => void; 23 24 /** 25 * Pool Configuration interface 26 */ 27 interface PoolConfig { 28 /** 29 * Minimum concurrent connections 30 */ 31 min?: number | undefined; 32 33 /** 34 * Maximum concurrent connections 35 */ 36 max?: number | undefined; 37 38 /** 39 * Defines if logging is activated 40 */ 41 log?: boolean | undefined; 42 43 /** 44 * Idle timeout 45 */ 46 idleTimeout?: number | undefined; 47 48 /** 49 * Retry delay 50 */ 51 retryDelay?: number | undefined; 52 53 /** 54 * Acquire timeout 55 */ 56 acquireTimeout?: number | undefined; 57 } 58} 59 60/** 61 * Tedious Connection Pool Class 62 */ 63declare class tcp extends events.EventEmitter { 64 /** 65 * Connection Pool constructor 66 * @param poolConfig the pool configuration 67 * @param connectionConfig the connection configuration 68 */ 69 constructor(poolConfig: tcp.PoolConfig, connectionConfig: tedious.ConnectionConfig); 70 71 /** 72 * acquires a connection from the pool 73 * @param callback invoked when the connection is retrieved and ready 74 */ 75 acquire(callback: tcp.ConnectionCallback): void; 76 77 /** 78 * closes opened connections 79 */ 80 drain(): void; 81} 82 83export = tcp; 84
These definitions were written by Cyprien Autexier.
No vulnerabilities found.
Reason
30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More