Gathering detailed insights and metrics for @sanity/timed-out
Gathering detailed insights and metrics for @sanity/timed-out
npm install @sanity/timed-out
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.8
Supply Chain
75.7
Quality
82.5
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
19,007,416
Last Day
13,904
Last Week
65,476
Last Month
222,585
Last Year
3,708,563
52 Stars
50 Commits
22 Forks
6 Watching
1 Branches
9 Contributors
Minified
Minified + Gzipped
Latest Version
4.0.2
Package Id
@sanity/timed-out@4.0.2
Size
2.07 kB
NPM Version
6.9.0
Node Version
12.6.0
Publised On
22 Aug 2019
Cumulative downloads
Total Downloads
Last day
13.7%
13,904
Compared to previous day
Last week
30.9%
65,476
Compared to previous week
Last month
-20.9%
222,585
Compared to previous month
Last year
-28%
3,708,563
Compared to previous year
Timeout HTTP/HTTPS requests
Emit Error object with code
property equal ETIMEDOUT
or ESOCKETTIMEDOUT
when ClientRequest is hanged.
1var get = require('http').get; 2var timeout = require('timed-out'); 3 4var req = get('http://www.google.ru'); 5timeout(req, 2000); // Set 2 seconds limit
Required
Type: ClientRequest
The request to watch on.
Required
Type: number
or object
Time in milliseconds to wait for connect
event on socket and also time to wait on inactive socket.
Or you can pass Object with following fields:
connect
- time to wait for connectionsocket
- time to wait for activity on socketMIT © Vsevolod Strukchinsky
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 10/26 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-06
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