also looking at this
chore(deps): update all non-major dependencies
#2997
29 files
+1047
-444
| @@ -20,6 +20,7 @@ import { bench, run, summary } from 'mitata' | ||
| 20 | 20 | import { isolatedDeclarationSync } from 'oxc-transform' |
| 21 | 21 | import ts from 'typescript' |
| 22 | 22 | import { clearSourceFileCache } from '../packages/dtsx/src/extractor' |
| 23 | import { clearDeclarationCache } from '../packages/dtsx/src/extractor/extract' | |
| 23 | 24 | import { processSource } from '../packages/dtsx/src/generator' |
| 24 | 25 | import { clearProcessorCaches } from '../packages/dtsx/src/processor' |
| 25 | 26 | |
| @@ -218,6 +219,7 @@ for (const { name, filename, source } of inputs) { | ||
| 218 | 219 | summary(() => { |
| 219 | 220 | bench(`dtsx (no-cache) — ${name}`, () => { |
| 220 | 221 | clearSourceFileCache() |
| 222 | clearDeclarationCache() | |
| 221 | 223 | clearProcessorCaches() |
| 222 | 224 | processSource(source, filename) |
| 223 | 225 | }) |