multi-path-matcher
Advanced tools
Comparing version 1.4.0 to 2.0.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11161
84