Skip to content

Commit 1cc5bcd

Browse files
authored
chore: clarify fuzzyset adaption (#15491)
it was BSD in 2016 but has undergone some license changes since then - clarify in the comment that the adaption was from the 2016 BSD version
1 parent dbd4617 commit 1cc5bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/src/compiler/phases/1-parse/utils/fuzzymatch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export default function fuzzymatch(name, names) {
1212
return matches && matches[0][0] > 0.7 ? matches[0][1] : null;
1313
}
1414

15-
// adapted from https://github.com/Glench/fuzzyset.js/blob/master/lib/fuzzyset.js
16-
// BSD Licensed
15+
// adapted from https://github.com/Glench/fuzzyset.js/blob/master/lib/fuzzyset.js in 2016
16+
// BSD Licensed (see https://github.com/Glench/fuzzyset.js/issues/10)
1717

1818
const GRAM_SIZE_LOWER = 2;
1919
const GRAM_SIZE_UPPER = 3;

0 commit comments

Comments
 (0)