@types/express-request-id
Advanced tools
Comparing version 1.4.3 to 3.0.0
{ | ||
"name": "@types/express-request-id", | ||
"version": "1.4.3", | ||
"description": "TypeScript definitions for express-request-id", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id", | ||
"license": "MIT", | ||
"contributors": [ | ||
{ | ||
"name": "jgeth", | ||
"url": "https://github.com/jgeth", | ||
"githubUsername": "jgeth" | ||
} | ||
], | ||
"version": "3.0.0", | ||
"description": "Stub TypeScript definitions entry for express-request-id, which provides its own types definitions", | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/express-request-id" | ||
}, | ||
"scripts": {}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"@types/express-serve-static-core": "*" | ||
"express-request-id": "*" | ||
}, | ||
"typesPublisherContentHash": "1a3d3472161fc70f9b6a111d4965a686af34bde48cc4457a338458c278691b7f", | ||
"typeScriptVersion": "3.7" | ||
"deprecated": "This is a stub types definition. express-request-id provides its own type definitions, so you do not need this installed." | ||
} |
@@ -1,43 +0,3 @@ | ||
# Installation | ||
> `npm install --save @types/express-request-id` | ||
This is a stub types definition for @types/express-request-id (https://github.com/floatdrop/express-request-id#readme). | ||
# Summary | ||
This package contains type definitions for express-request-id (https://github.com/floatdrop/express-request-id). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-request-id/index.d.ts) | ||
````ts | ||
// Type definitions for express-request-id 1.4 | ||
// Project: https://github.com/floatdrop/express-request-id | ||
// Definitions by: jgeth <https://github.com/jgeth> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
import { RequestHandler } from 'express-serve-static-core'; | ||
declare namespace expressRequestId { | ||
interface Options { | ||
uuidVersion?: string | undefined; | ||
setHeader?: boolean | undefined; | ||
headerName?: string | undefined; | ||
attributeName?: string | undefined; | ||
msecs?: Date; | ||
nsecs?: number; | ||
clockseq?: number; | ||
node?: number[]; | ||
} | ||
} | ||
declare function expressRequestId(options?: expressRequestId.Options): RequestHandler; | ||
export = expressRequestId; | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 16 Sep 2021 23:01:22 GMT | ||
* Dependencies: [@types/express-serve-static-core](https://npmjs.com/package/@types/express-serve-static-core) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [jgeth](https://github.com/jgeth). | ||
express-request-id provides its own type definitions, so you don't need @types/express-request-id installed! |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1821
3
0
2
1
1
3
1
1
+ Addedexpress-request-id@*
+ Addedexpress-request-id@3.0.0(transitive)
+ Addeduuid@9.0.1(transitive)
- Removed@types/express-serve-static-core@*
- Removed@types/express-serve-static-core@5.0.0(transitive)
- Removed@types/mime@1.3.5(transitive)
- Removed@types/node@22.7.4(transitive)
- Removed@types/qs@6.9.16(transitive)
- Removed@types/range-parser@1.2.7(transitive)
- Removed@types/send@0.17.4(transitive)
- Removedundici-types@6.19.8(transitive)