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 1.1.1 to 1.1.2

4

index.js

@@ -28,3 +28,5 @@ 'use strict'

timer.clear()
res.setHeader('Server-Timing', headers.join(', '))
const existingHeaders = res.getHeader('Server-Timing')
res.setHeader('Server-Timing', [].concat(existingHeaders || []).concat(headers).join(', '))
})

@@ -31,0 +33,0 @@ if (typeof next === 'function') {

{
"name": "server-timing",
"version": "1.1.1",
"version": "1.1.2",
"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