New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.8 to 16.1.0

3

lib/woodland.js

@@ -22,2 +22,3 @@ "use strict";

this.charset = charset;
this.corsExpose = "";
this.defaultHeaders = Object.keys(defaultHeaders).map(key => [key.toLowerCase(), defaultHeaders[key]]);

@@ -190,3 +191,3 @@ this.digit = digit;

if (req.cors) {
const headers = req.headers["access-control-request-headers"];
const headers = req.headers["access-control-request-headers"] || this.corsExpose;

@@ -193,0 +194,0 @@ res.header("access-control-allow-origin", req.headers.origin);

{
"name": "woodland",
"version": "16.0.8",
"version": "16.1.0",
"description": "Lightweight HTTP router with automatic headers",

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

@@ -101,2 +101,3 @@ <img src="https://avoidwork.github.io/woodland/logo.svg" width="108" />

"charset": "utf-8",
"corsExpose": "",
"defaultHeaders": {},

@@ -103,0 +104,0 @@ "digit": 3,

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