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

multi-path-matcher

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-path-matcher - npm Package Compare versions

Comparing version 1.4.0 to 2.0.0

2

package.json
{
"name": "multi-path-matcher",
"version": "1.4.0",
"version": "2.0.0",
"type": "module",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -94,3 +94,3 @@ [![npm](https://img.shields.io/npm/v/multi-path-matcher.svg)](https://www.npmjs.com/package/multi-path-matcher)

- `priority` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**
- `keys` **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `keys` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**
- `regex` **RegEx**

@@ -100,3 +100,3 @@

one single route
One single route

@@ -132,8 +132,8 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)

result of a path compilation
Result of a path compilation
priorities for each path component
- :param -> 0
- match \* or ? -> 1
- literal -> 2
- :param -> 0
- match \* or ? -> 1
- plain -> 2

@@ -150,3 +150,3 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)

Generate as regex with priority
Generate regex with priority

@@ -153,0 +153,0 @@ ### Parameters

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