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 1.0.13 to 1.0.14

2

index.js

@@ -9,3 +9,3 @@ "use strict";

function factory ({cacheSize = max, defaultHeaders = {}, defaultHost = "127.0.0.1", hosts = ["127.0.0.1"], seed = random} = {}) {
function factory ({cacheSize = max, defaultHeaders = {}, defaultHost = "localhost", hosts = ["localhost"], seed = random} = {}) {
let router = new Woodland(defaultHost, defaultHeaders, cacheSize, seed);

@@ -12,0 +12,0 @@

{
"name": "woodland",
"version": "1.0.13",
"version": "1.0.14",
"description": "Lightweight HTTP/HTTPS router with virtual hosts",

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

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

##### woodland ({cacheSize: 1000, defaultHeaders: {}, defaultHost: "127.0.0.1", hosts: ["127.0.0.1"], seed: random})
##### woodland ({cacheSize: 1000, defaultHeaders: {}, defaultHost: "localhost", hosts: ["localhost"], seed: random})
Returns a woodland router.

@@ -40,0 +40,0 @@

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