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

wayfarer

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wayfarer - npm Package Compare versions

Comparing version 6.1.3 to 6.1.4

2

package.json
{
"name": "wayfarer",
"version": "6.1.3",
"version": "6.1.4",
"description": "Composable trie based router",

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

@@ -29,5 +29,7 @@ const mutate = require('xtend/mutable')

// if node is a name match, set name and append to ':' node
if (!trie.nodes[':']) {
if (!trie.nodes['$$']) {
node = { nodes: {} }
trie.nodes[':'] = node
trie.nodes['$$'] = node
} else {
node = trie.nodes['$$']
}

@@ -68,3 +70,3 @@ trie.name = route.replace(/^:/, '')

params[trie.name] = route
return search(index + 1, trie.nodes[':'])
return search(index + 1, trie.nodes['$$'])
} else {

@@ -71,0 +73,0 @@ // no matches found

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