Format + bump runtime transpiler cache version

This commit is contained in:
Jarred Sumner
2025-10-18 18:40:31 -07:00
parent 4a06991d3b
commit acefbe2421
2 changed files with 3 additions and 4 deletions

View File

@@ -13,7 +13,8 @@
/// Version 14: Updated global defines table list.
/// Version 15: Updated global defines table list.
/// Version 16: Added typeof undefined minification optimization.
const expected_version = 16;
/// Version 17: Removed transpiler import rewrite for bun:test. Not bumping it causes test/js/bun/http/req-url-leak.test.ts to fail with SyntaxError: Export named 'expect' not found in module 'bun:test'.
const expected_version = 17;
const debug = Output.scoped(.cache, .visible);
const MINIMUM_CACHE_SIZE = 50 * 1024;

View File

@@ -1,9 +1,7 @@
import { describe, expect, it, test } from "bun:test";
import fs, { mkdirSync } from "fs";
import { bunEnv, bunExe, exampleHtml, exampleSite, gcTick, isWindows, withoutAggressiveGC, tempDir } from "harness";
import { tmpdir } from "os";
import { bunEnv, bunExe, exampleHtml, exampleSite, gcTick, isWindows, tempDir, withoutAggressiveGC } from "harness";
import path, { join } from "path";
import { beforeEach, afterEach } from "bun:test";
let i = 0;
const IS_UV_FS_COPYFILE_DISABLED =