@assetval/fuzzyset
Advanced tools
Comparing version 1.1.1 to 1.3.0
@@ -0,1 +1,3 @@ | ||
type MatchDictEntry = [number, number]; | ||
type ItemsEntry = [number, string]; | ||
declare class FuzzySearch { | ||
@@ -6,4 +8,4 @@ gramSizeLower: number; | ||
exactSet: Record<string, string>; | ||
matchDict: Record<string, Array<[number, number]>>; | ||
items: Record<number, Array<[number, string]>>; | ||
matchDict: Record<string, MatchDictEntry[]>; | ||
items: Record<number, ItemsEntry[]>; | ||
constructor(arr: string[], useLevenshtein?: boolean, gramSizeLower?: number, gramSizeUpper?: number); | ||
@@ -10,0 +12,0 @@ private levenshtein; |
{ | ||
"name": "@assetval/fuzzyset", | ||
"description": "A fast fuzzy string set for JavaScript", | ||
"version": "1.1.1", | ||
"sideEffects": false, | ||
"homepage": "http://Glench.github.com/fuzzyset.js", | ||
"repository": "git://github.com/Glench/fuzzyset.js.git", | ||
"author": "Glen Chiacchieri (http://glench.com/)", | ||
"license": "see LICENSE.md", | ||
"funding": { | ||
"type": "License Zero", | ||
"url": "https://licensezero.com/offers/562c0ffe-df98-4348-87b7-e60e3c37c534" | ||
}, | ||
"exports": { | ||
".": { | ||
"types": "./dist/fuzzyset.d.ts", | ||
"import": "./dist/fuzzyset.mjs", | ||
"require": "./dist/fuzzyset.cjs" | ||
} | ||
}, | ||
"types": "dist/fuzzyset.d.ts", | ||
"main": "dist/fuzzyset.cjs", | ||
"module": "dist/fuzzyset.mjs", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "npx unbuild" | ||
}, | ||
"engines": { | ||
"node": ">= 0.4.0" | ||
} | ||
"name": "@assetval/fuzzyset", | ||
"description": "A fast fuzzy string set for JavaScript", | ||
"version": "1.3.0", | ||
"sideEffects": false, | ||
"type": "module", | ||
"homepage": "http://Glench.github.com/fuzzyset.js", | ||
"repository": "git://github.com/Glench/fuzzyset.js.git", | ||
"author": "Glen Chiacchieri (http://glench.com/)", | ||
"license": "see LICENSE.md", | ||
"funding": { | ||
"type": "License Zero", | ||
"url": "https://licensezero.com/offers/562c0ffe-df98-4348-87b7-e60e3c37c534" | ||
}, | ||
"exports": { | ||
".": { | ||
"types": "./dist/fuzzyset.d.ts", | ||
"import": "./dist/fuzzyset.mjs", | ||
"require": "./dist/fuzzyset.cjs" | ||
} | ||
}, | ||
"types": "dist/fuzzyset.d.ts", | ||
"main": "dist/fuzzyset.cjs", | ||
"module": "dist/fuzzyset.mjs", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "npx unbuild" | ||
}, | ||
"engines": { | ||
"node": ">= 0.4.0" | ||
}, | ||
"devDependencies": { | ||
"@assetval/confs": "^1.0.0", | ||
"@magik_io/lint_golem": "^2.3.0", | ||
"eslint": "^9.9.0", | ||
"typescript-eslint": "^8.1.0" | ||
} | ||
} |
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
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
24946
Yes
10
1
2
1
10
4
451