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

woodland

Package Overview
Dependencies
Maintainers
1
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

woodland - npm Package Compare versions

Comparing version 16.0.3 to 16.0.4

5

lib/woodland.js

@@ -131,4 +131,4 @@ "use strict";

if (this.time) {
headers["x-response-time"] = `${ms(req.precise.stop().diff(), this.digit)}`;
if (this.time && res.getHeader("x-response-time") === void 0) {
res.header("x-response-time", `${ms(req.precise.stop().diff(), this.digit)}`);
}

@@ -234,2 +234,3 @@

res.header("content-type", "text/plain; charset=utf-8");
res.statusCode = status;
res.send(output, status);

@@ -236,0 +237,0 @@ }

2

package.json
{
"name": "woodland",
"version": "16.0.3",
"version": "16.0.4",
"description": "Lightweight HTTP router with automatic headers",

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

Sorry, the diff of this file is too big to display

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