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

find-my-way

Package Overview
Dependencies
Maintainers
2
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-my-way - npm Package Compare versions

Comparing version 2.2.2 to 3.0.0

.taprc

7

index.js

@@ -215,3 +215,4 @@ 'use strict'

node = new Node(
{ prefix: prefix.slice(len),
{
prefix: prefix.slice(len),
children: currentNode.children,

@@ -221,3 +222,4 @@ kind: currentNode.kind,

regex: currentNode.regex,
versions: currentNode.versions }
versions: currentNode.versions
}
)

@@ -587,2 +589,3 @@ if (currentNode.wildcardChild !== null) {

for (var i in http.METHODS) {
/* eslint no-prototype-builtins: "off" */
if (!http.METHODS.hasOwnProperty(i)) continue

@@ -589,0 +592,0 @@ const m = http.METHODS[i]

{
"name": "find-my-way",
"version": "2.2.2",
"version": "3.0.0",
"description": "Crazy fast http radix based router",

@@ -27,3 +27,3 @@ "main": "index.js",

"engines": {
"node": ">=6"
"node": ">=10"
},

@@ -41,5 +41,5 @@ "author": "Tomas Della Vedova - @delvedor (http://delved.org)",

"request": "^2.88.0",
"standard": "^12.0.1",
"tap": "^12.5.3",
"tap-mocha-reporter": "^3.0.9",
"standard": "^14.0.0",
"tap": "^14.0.0",
"tap-mocha-reporter": "^5.0.1",
"typescript": "^3.3.3"

@@ -46,0 +46,0 @@ },

@@ -184,3 +184,3 @@ 'use strict'

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test\'')
}

@@ -202,3 +202,3 @@ })

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test\'')
}

@@ -210,3 +210,3 @@

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/\'')
}

@@ -225,3 +225,3 @@ })

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test\'')
}

@@ -233,3 +233,3 @@

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/\'')
}

@@ -251,3 +251,3 @@ })

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/hello'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/hello\'')
}

@@ -271,3 +271,3 @@ })

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/hello'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/hello\'')
}

@@ -279,3 +279,3 @@

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/hello/'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/hello/\'')
}

@@ -296,3 +296,3 @@ })

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/hello'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/hello\'')
}

@@ -304,5 +304,5 @@

} catch (e) {
t.is(e.message, `Method 'GET' already declared for route '/test/hello/'`)
t.is(e.message, 'Method \'GET\' already declared for route \'/test/hello/\'')
}
})
})

@@ -20,3 +20,3 @@ 'use strict'

deriveVersion: (req, ctx) => {
return req.headers['accept']
return req.headers.accept
}

@@ -23,0 +23,0 @@ }

Sorry, the diff of this file is not supported yet

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