@rushstack/lookup-by-path
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "0.2.0", | ||
"tag": "@rushstack/lookup-by-path_v0.2.0", | ||
"date": "Tue, 27 Aug 2024 15:12:33 GMT", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"comment": "Return a linked list of matches in `findLongestPrefixMatch` in the event that multiple prefixes match. The head of the list is the most specific match." | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "0.1.2", | ||
@@ -7,0 +19,0 @@ "tag": "@rushstack/lookup-by-path_v0.1.2", |
# Change Log - @rushstack/lookup-by-path | ||
This log was last generated on Wed, 21 Aug 2024 05:43:04 GMT and should not be manually modified. | ||
This log was last generated on Tue, 27 Aug 2024 15:12:33 GMT and should not be manually modified. | ||
## 0.2.0 | ||
Tue, 27 Aug 2024 15:12:33 GMT | ||
### Minor changes | ||
- Return a linked list of matches in `findLongestPrefixMatch` in the event that multiple prefixes match. The head of the list is the most specific match. | ||
## 0.1.2 | ||
@@ -6,0 +13,0 @@ Wed, 21 Aug 2024 05:43:04 GMT |
@@ -21,2 +21,6 @@ /** | ||
index: number; | ||
/** | ||
* The last match found (with a shorter prefix), if any | ||
*/ | ||
lastMatch?: IPrefixMatch<TItem>; | ||
} | ||
@@ -23,0 +27,0 @@ |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.47.6" | ||
"packageVersion": "7.47.7" | ||
} | ||
] | ||
} |
@@ -15,2 +15,6 @@ /** | ||
index: number; | ||
/** | ||
* The last match found (with a shorter prefix), if any | ||
*/ | ||
lastMatch?: IPrefixMatch<TItem>; | ||
} | ||
@@ -17,0 +21,0 @@ /** |
@@ -193,3 +193,4 @@ "use strict"; | ||
value: node.value, | ||
index: 0 | ||
index: 0, | ||
lastMatch: undefined | ||
} | ||
@@ -208,3 +209,4 @@ : undefined; | ||
value: node.value, | ||
index | ||
index, | ||
lastMatch: best | ||
}; | ||
@@ -211,0 +213,0 @@ } |
{ | ||
"name": "@rushstack/lookup-by-path", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Strongly typed trie data structure for path and URL-like strings.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49736
569