Phase 1: lock cron, reload chaud, argon2, providers, IMDb lookup, cache LRU, /health, /metrics, rate limit, UI dark, biome

This commit is contained in:
unfr
2026-04-24 07:35:10 +02:00
parent f9745a2390
commit a184a21f57
36 changed files with 2060 additions and 364 deletions

View File

@@ -1,9 +1,9 @@
import { test } from 'node:test';
import assert from 'node:assert/strict';
import { test } from 'node:test';
import { mbLevenshtein, mbStrlen } from '../lib/mbLevenshtein.js';
import { filterTitle, filterAndLower, translit } from '../lib/titleFilter.js';
import { parseQuery } from '../lib/queryParser.js';
import { bucket, entryPath } from '../lib/paths.js';
import { parseQuery } from '../lib/queryParser.js';
import { filterAndLower, filterTitle, translit } from '../lib/titleFilter.js';
test('mbLevenshtein basic', () => {
assert.equal(mbLevenshtein('kitten', 'sitting'), 3);