mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Format + bump runtime transpiler cache version
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user