node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

42
server/node_modules/lunr/perf/token_set_perf.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
suite('lunr.TokenSet', function () {
var tokenSet = lunr.TokenSet.fromArray([
'january', 'february', 'march', 'april',
'may', 'june', 'july', 'august',
'september', 'october', 'november', 'december'
].sort())
var noWildcard = lunr.TokenSet.fromString('september')
var withWildcard = lunr.TokenSet.fromString('*ber')
this.add('.fromArray', function () {
lunr.TokenSet.fromArray(words)
})
this.add('.fromString (no wildcard)', function () {
lunr.TokenSet.fromString('javascript')
})
this.add('.fromString (with wildcard)', function () {
lunr.TokenSet.fromString('java*cript')
})
this.add('.fromFuzzyString', function () {
lunr.TokenSet.fromFuzzyString('javascript', 2)
})
this.add('#toArray', function () {
tokenSet.toArray()
})
this.add('#toString', function () {
tokenSet.toString()
})
this.add('#intersect (no wildcard)', function () {
tokenSet.intersect(noWildcard)
})
this.add('#intersect (with wildcard)', function () {
tokenSet.intersect(withWildcard)
})
})