Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

server-timing

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-timing - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

12

index.d.ts

@@ -11,8 +11,16 @@ declare module "server-timing" {

export default _default;
type Response = {
type _Response = {
startTime: (name: string, desc: string) => void;
endTime: (name: string) => void;
setMetric: (name: string, value: number, description?: string) => void;
};
export type IsEnabledCheck = (req: e.Request, res: e.Response) => boolean
export type SeverTimingResponse = e.Response & Response;
export type SeverTimingResponse = e.Response & _Response;
global {
namespace Express {
interface Response extends _Response {
}
}
}
}

2

package.json
{
"name": "server-timing",
"version": "3.2.0",
"version": "3.2.1",
"description": "This module can add `ServerTiming` Header to http response, and be able to use express middleware",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc