@quenty/fzy 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +3 -3
- package/src/Shared/Fzy.lua +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/fzy@5.0.0...@quenty/fzy@5.1.0) (2024-03-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/fzy
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [5.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/fzy@4.0.0...@quenty/fzy@5.0.0) (2024-02-14)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/fzy
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/fzy",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Lua implementation of fzy string search algorithm",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"Quenty"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@quenty/loader": "^10.
|
|
27
|
+
"@quenty/loader": "^10.1.0"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "e0148dde5ca3864389a0faa2da66153a776acc1e"
|
|
33
33
|
}
|
package/src/Shared/Fzy.lua
CHANGED
|
@@ -334,7 +334,7 @@ end
|
|
|
334
334
|
@param haystacks { string }
|
|
335
335
|
@return {{idx, positions, score}, ...}
|
|
336
336
|
]=]
|
|
337
|
-
function Fzy.filter(config, needle: string, haystacks: string)
|
|
337
|
+
function Fzy.filter(config, needle: string, haystacks: { string })
|
|
338
338
|
local result = {}
|
|
339
339
|
|
|
340
340
|
for i, line in ipairs(haystacks) do
|