SYMBOL INDEX (746 symbols across 96 files) FILE: docs/.vitepress/theme/index.js method Layout (line 9) | Layout() { FILE: docs/components/starCount.ts constant FALLBACK_INITIAL_COUNT (line 1) | const FALLBACK_INITIAL_COUNT = 5_000 function localStorageCache (line 3) | async function localStorageCache( function starCount (line 28) | async function starCount(currentCount) { function fetchStarCount (line 35) | async function fetchStarCount(currentCount) { FILE: docs/count.data.ts method load (line 4) | async load() { FILE: docs/extensions/extensions.data.ts type Tag (line 644) | type Tag = (typeof tags)[number] type Extension (line 646) | interface Extension { method load (line 664) | async load() { FILE: examples/react/src/App.tsx function App (line 14) | function App() { FILE: examples/react/src/MyPGliteComponent.tsx function MyPGliteComponent (line 17) | function MyPGliteComponent() { FILE: examples/react/src/MyPGliteItemsComponent.tsx function MyPGliteItemsComponent (line 3) | function MyPGliteItemsComponent() { FILE: examples/unixSocket/src/index.ts constant SOCKET_PATH (line 7) | const SOCKET_PATH = '/tmp/.s.PGSQL.5432'; function cleanup (line 9) | async function cleanup() { function run (line 18) | async function run() { FILE: packages/benchmark/baseline.ts type Result (line 32) | interface Result { function runSQLite (line 49) | function runSQLite(fileName: string) { function runPostgres (line 71) | async function runPostgres() { function resultsTable (line 100) | function resultsTable() { function main (line 116) | async function main() { FILE: packages/benchmark/src/benchmark1.sql type t1 (line 1) | CREATE TABLE t1(a INTEGER, b INTEGER, c VARCHAR(100)) FILE: packages/benchmark/src/benchmark2.1.sql type t2_1 (line 2) | CREATE TABLE t2_1(a INTEGER, b INTEGER, c VARCHAR(100)) FILE: packages/benchmark/src/benchmark2.sql type t2 (line 2) | CREATE TABLE t2(a INTEGER, b INTEGER, c VARCHAR(100)) FILE: packages/benchmark/src/benchmark3.1.sql type t3_1 (line 2) | CREATE TABLE t3_1(a INTEGER, b INTEGER, c VARCHAR(100)) type i3_1 (line 3) | CREATE INDEX i3_1 ON t3(c) FILE: packages/benchmark/src/benchmark3.sql type t3 (line 2) | CREATE TABLE t3(a INTEGER, b INTEGER, c VARCHAR(100)) type i3 (line 3) | CREATE INDEX i3 ON t3(c) FILE: packages/benchmark/src/benchmark6.sql type i2a (line 1) | CREATE INDEX i2a ON t2(a) type i2b (line 2) | CREATE INDEX i2b ON t2(b) FILE: packages/benchmark/src/benchmarks-worker.js function open (line 13) | async function open(config) { FILE: packages/benchmark/src/benchmarks.js constant CONFIGURATIONS (line 6) | const CONFIGURATIONS = new Map( function addEntry (line 165) | function addEntry(parent, text) { FILE: packages/benchmark/src/rtt-worker.js constant WA_SQLITE (line 9) | const WA_SQLITE = './wa-sqlite/dist/wa-sqlite.mjs' constant WA_SQLITE_ASYNC (line 10) | const WA_SQLITE_ASYNC = './wa-sqlite/dist/wa-sqlite-async.mjs' function open (line 15) | async function open(config) { function openPGlite (line 25) | async function openPGlite(config) { function openSQLite (line 40) | async function openSQLite(config) { FILE: packages/benchmark/src/rtt.js constant CONFIGURATIONS (line 6) | const CONFIGURATIONS = new Map( constant ITERATIONS (line 125) | const ITERATIONS = 100 function addEntry (line 232) | function addEntry(parent, text) { FILE: packages/pg-protocol/src/buffer-reader.ts class BufferReader (line 3) | class BufferReader { method constructor (line 12) | constructor(offset: number = 0) { method setBuffer (line 16) | public setBuffer(offset: number, buffer: ArrayBuffer): void { method int16 (line 21) | public int16(): number { method byte (line 28) | public byte(): number { method int32 (line 35) | public int32(): number { method string (line 42) | public string(length: number): string { method cstring (line 54) | public cstring(): string { method bytes (line 69) | public bytes(length: number): Uint8Array { FILE: packages/pg-protocol/src/buffer-writer.ts class Writer (line 3) | class Writer { method constructor (line 10) | constructor(private size = 256) { method #allocateBuffer (line 14) | #allocateBuffer(size: number): DataView { method #ensure (line 18) | #ensure(size: number): void { method addInt32 (line 30) | public addInt32(num: number): Writer { method addInt16 (line 37) | public addInt16(num: number): Writer { method addCString (line 44) | public addCString(string: string): Writer { method addString (line 58) | public addString(string: string = ''): Writer { method add (line 69) | public add(otherBuffer: ArrayBuffer): Writer { method #join (line 80) | #join(code?: number): ArrayBuffer { method flush (line 94) | public flush(code?: number): Uint8Array { FILE: packages/pg-protocol/src/messages.ts type MessageName (line 3) | type MessageName = type BackendMessage (line 32) | type BackendMessage = { class AuthenticationOk (line 77) | class AuthenticationOk implements BackendMessage { method constructor (line 79) | constructor(public readonly length: number) {} class AuthenticationCleartextPassword (line 82) | class AuthenticationCleartextPassword implements BackendMessage { method constructor (line 84) | constructor(public readonly length: number) {} class AuthenticationMD5Password (line 87) | class AuthenticationMD5Password implements BackendMessage { method constructor (line 89) | constructor( class AuthenticationSASL (line 95) | class AuthenticationSASL implements BackendMessage { method constructor (line 97) | constructor( class AuthenticationSASLContinue (line 103) | class AuthenticationSASLContinue implements BackendMessage { method constructor (line 105) | constructor( class AuthenticationSASLFinal (line 111) | class AuthenticationSASLFinal implements BackendMessage { method constructor (line 113) | constructor( type AuthenticationMessage (line 119) | type AuthenticationMessage = type NoticeOrError (line 127) | interface NoticeOrError { class DatabaseError (line 147) | class DatabaseError extends Error implements NoticeOrError { method constructor (line 164) | constructor( class CopyDataMessage (line 173) | class CopyDataMessage implements BackendMessage { method constructor (line 175) | constructor( class CopyResponse (line 181) | class CopyResponse implements BackendMessage { method constructor (line 183) | constructor( class Field (line 193) | class Field { method constructor (line 194) | constructor( class RowDescriptionMessage (line 205) | class RowDescriptionMessage implements BackendMessage { method constructor (line 208) | constructor( class ParameterDescriptionMessage (line 216) | class ParameterDescriptionMessage implements BackendMessage { method constructor (line 219) | constructor( class ParameterStatusMessage (line 227) | class ParameterStatusMessage implements BackendMessage { method constructor (line 229) | constructor( class BackendKeyDataMessage (line 236) | class BackendKeyDataMessage implements BackendMessage { method constructor (line 238) | constructor( class NotificationResponseMessage (line 245) | class NotificationResponseMessage implements BackendMessage { method constructor (line 247) | constructor( class ReadyForQueryMessage (line 255) | class ReadyForQueryMessage implements BackendMessage { method constructor (line 257) | constructor( class CommandCompleteMessage (line 263) | class CommandCompleteMessage implements BackendMessage { method constructor (line 265) | constructor( class DataRowMessage (line 271) | class DataRowMessage implements BackendMessage { method constructor (line 274) | constructor( class NoticeMessage (line 282) | class NoticeMessage implements BackendMessage, NoticeOrError { method constructor (line 283) | constructor( FILE: packages/pg-protocol/src/parser.ts constant CODE_LENGTH (line 37) | const CODE_LENGTH = 1 as const constant LEN_LENGTH (line 40) | const LEN_LENGTH = 4 as const constant HEADER_LENGTH (line 42) | const HEADER_LENGTH = CODE_LENGTH + LEN_LENGTH type Packet (line 44) | type Packet = { type MessageCodes (line 51) | const enum MessageCodes { type MessageCallback (line 76) | type MessageCallback = (msg: BackendMessage) => void class Parser (line 78) | class Parser { method parse (line 84) | public parse(buffer: BufferParameter, callback: MessageCallback) { method #mergeBuffer (line 126) | #mergeBuffer(buffer: ArrayBuffer): void { method #handlePacket (line 172) | #handlePacket( method #parseReadyForQueryMessage (line 232) | #parseReadyForQueryMessage( method #parseCommandCompleteMessage (line 242) | #parseCommandCompleteMessage( method #parseCopyData (line 252) | #parseCopyData(offset: number, length: number, bytes: ArrayBuffer) { method #parseCopyInMessage (line 257) | #parseCopyInMessage(offset: number, length: number, bytes: ArrayBuffer) { method #parseCopyOutMessage (line 261) | #parseCopyOutMessage(offset: number, length: number, bytes: ArrayBuffe... method #parseCopyMessage (line 265) | #parseCopyMessage( method #parseNotificationMessage (line 281) | #parseNotificationMessage( method #parseRowDescriptionMessage (line 293) | #parseRowDescriptionMessage( method #parseField (line 307) | #parseField(): Field { method #parseParameterDescriptionMessage (line 326) | #parseParameterDescriptionMessage( method #parseDataRowMessage (line 340) | #parseDataRowMessage(offset: number, length: number, bytes: ArrayBuffe... method #parseParameterStatusMessage (line 352) | #parseParameterStatusMessage( method #parseBackendKeyData (line 363) | #parseBackendKeyData(offset: number, length: number, bytes: ArrayBuffe... method #parseAuthenticationResponse (line 370) | #parseAuthenticationResponse( method #parseErrorMessage (line 413) | #parseErrorMessage( FILE: packages/pg-protocol/src/serializer.ts type code (line 4) | const enum code { type LegalValue (line 20) | type LegalValue = string | ArrayBuffer | ArrayBufferView | null type ParseOpts (line 73) | type ParseOpts = { type ValueMapper (line 111) | type ValueMapper = (param: unknown, index: number) => LegalValue type BindOpts (line 113) | type BindOpts = { type ParamType (line 125) | const enum ParamType { type ExecOpts (line 183) | type ExecOpts = { type PortalOpts (line 232) | type PortalOpts = { FILE: packages/pg-protocol/src/string-utils.ts function byteLengthUtf8 (line 7) | function byteLengthUtf8(str: string): number { FILE: packages/pg-protocol/src/types.ts type Mode (line 6) | type Mode = (typeof Modes)[keyof typeof Modes] type BufferParameter (line 8) | type BufferParameter = ArrayBuffer | ArrayBufferView FILE: packages/pg-protocol/test/inbound-parser.test.ts function testForMessage (line 169) | function testForMessage( function concatBuffers (line 249) | function concatBuffers(views: ArrayBufferView[]): Uint8Array { function verifyMessages (line 574) | function verifyMessages(messages: BackendMessage[]) { FILE: packages/pg-protocol/test/testing/buffer-list.ts class BufferList (line 3) | class BufferList { method constructor (line 4) | constructor(public buffers: ArrayBuffer[] = []) {} method add (line 6) | public add(buffer: ArrayBuffer, front?: boolean) { method addInt16 (line 11) | public addInt16(val: number, front?: boolean) { method getByteLength (line 15) | public getByteLength(initial?: number) { method addInt32 (line 21) | public addInt32(val: number, first?: boolean) { method addCString (line 33) | public addCString(val: string, front?: boolean) { method addString (line 41) | public addString(val: string, front?: boolean) { method addChar (line 48) | public addChar(char: string, first?: boolean) { method addByte (line 53) | public addByte(byte: number) { method join (line 57) | public join(appendLength?: boolean, char?: string): Uint8Array { method concat (line 76) | public static concat(...args: ArrayBuffer[]): Uint8Array { FILE: packages/pglite-postgis/scripts/bundle-wasm.ts function findAndReplaceInFile (line 4) | async function findAndReplaceInFile( function findAndReplaceInDir (line 14) | async function findAndReplaceInDir( function main (line 53) | async function main() { FILE: packages/pglite-react/src/hooks.ts function paramsEqual (line 6) | function paramsEqual( function useLiveQueryImpl (line 20) | function useLiveQueryImpl( function useLiveQuery (line 114) | function useLiveQuery( function useLiveIncrementalQuery (line 131) | function useLiveIncrementalQuery( FILE: packages/pglite-react/src/provider.tsx type Props (line 4) | interface Props { type PGliteProvider (line 9) | type PGliteProvider = ( type UsePGlite (line 12) | type UsePGlite = (db?: T) => T type PGliteProviderSet (line 14) | interface PGliteProviderSet { function makePGliteProvider (line 22) | function makePGliteProvider(): PGliteProviderS... FILE: packages/pglite-react/test/hooks.test.tsx function testLiveQuery (line 73) | function testLiveQuery(queryHook: 'useLiveQuery' | 'useLiveIncrementalQu... FILE: packages/pglite-repl/src-webcomponent/main.tsx class PGliteREPL (line 25) | class PGliteREPL extends HTMLElement { method constructor (line 32) | constructor() { method observedAttributes (line 44) | static get observedAttributes() { method connectedCallback (line 48) | connectedCallback() { method attributeChangedCallback (line 52) | attributeChangedCallback( method disconnectedCallback (line 62) | disconnectedCallback() { method pg (line 66) | get pg() { method pg (line 70) | set pg(pg: PGlite | undefined) { method lightTheme (line 75) | get lightTheme() { method lightTheme (line 79) | set lightTheme(lightTheme: Extension | undefined) { method darkTheme (line 84) | get darkTheme() { method darkTheme (line 88) | set darkTheme(darkTheme: Extension | undefined) { method render (line 93) | render() { FILE: packages/pglite-repl/src/App.tsx function App (line 7) | function App() { FILE: packages/pglite-repl/src/Repl.tsx type ReplTheme (line 33) | type ReplTheme = 'light' | 'dark' | 'auto' type ThemeInit (line 35) | type ThemeInit = (options?: Partial) => Extension type ReplProps (line 42) | interface ReplProps { function Repl (line 52) | function Repl({ FILE: packages/pglite-repl/src/ReplResponse.tsx function OutLine (line 4) | function OutLine({ result }: { result: Results }) { function ReplResponse (line 16) | function ReplResponse({ FILE: packages/pglite-repl/src/ReplTable.tsx function cellClass (line 7) | function cellClass(value: unknown) { function cellValue (line 19) | function cellValue(value: unknown) { function ReplTable (line 43) | function ReplTable({ result }: { result: Results }) { FILE: packages/pglite-repl/src/sqlSupport.ts function describeCompletionsAutoComplete (line 291) | function describeCompletionsAutoComplete( function makeSqlExt (line 304) | function makeSqlExt(config: SQLConfig = {}) { FILE: packages/pglite-repl/src/types.ts type Results (line 3) | type Results = BaseResults<{ [key: string]: unknown }[]> type Response (line 5) | interface Response { FILE: packages/pglite-repl/src/utils.ts function runQuery (line 5) | async function runQuery( function runDescribe (line 32) | async function runDescribe( function getSchema (line 87) | async function getSchema( FILE: packages/pglite-socket/examples/basic-server.ts constant UNIX (line 36) | const UNIX = process.env.UNIX constant PORT (line 37) | const PORT = process.env.PORT ? parseInt(process.env.PORT) : 5432 constant HOST (line 38) | const HOST = process.env.HOST ?? '127.0.0.1' constant DEBUG (line 39) | const DEBUG = process.env.DEBUG FILE: packages/pglite-socket/src/index.ts constant CONNECTION_QUEUE_TIMEOUT (line 5) | const CONNECTION_QUEUE_TIMEOUT = 60000 // 60 seconds type QueuedQuery (line 10) | interface QueuedQuery { class QueryQueueManager (line 23) | class QueryQueueManager { method constructor (line 30) | constructor(db: PGlite, debug = false) { method log (line 35) | private log(message: string, ...args: any[]): void { method enqueue (line 41) | async enqueue( method processQueue (line 68) | private async processQueue(): Promise { method getQueueLength (line 130) | getQueueLength(): number { method clearQueueForHandler (line 134) | clearQueueForHandler(handlerId: number): void { method clearTransactionIfNeeded (line 149) | async clearTransactionIfNeeded(handlerId: number): Promise { type PGLiteSocketHandlerOptions (line 161) | interface PGLiteSocketHandlerOptions { class PGLiteSocketHandler (line 178) | class PGLiteSocketHandler extends EventTarget { method constructor (line 194) | constructor(options: PGLiteSocketHandlerOptions) { method handlerId (line 206) | public get handlerId(): number { method log (line 210) | private log(message: string, ...args: any[]): void { method attach (line 216) | public async attach(socket: Socket): Promise { method resetIdleTimer (line 266) | private resetIdleTimer(): void { method detach (line 280) | public async detach(close?: boolean): Promise { method isAttached (line 324) | public get isAttached(): boolean { method handleData (line 328) | private async handleData(data: Buffer): Promise { method handleError (line 444) | private handleError(err: Error): void { method handleClose (line 470) | private handleClose(): void { method inspectData (line 477) | private inspectData( type PGLiteSocketServerOptions (line 518) | interface PGLiteSocketServerOptions { class PGLiteSocketServer (line 541) | class PGLiteSocketServer extends EventTarget { method constructor (line 555) | constructor(options: PGLiteSocketServerOptions) { method log (line 584) | private log(message: string, ...args: any[]): void { method start (line 590) | public async start(): Promise { method getServerConn (line 650) | public getServerConn(): string { method stop (line 655) | public async stop(): Promise { method handleConnection (line 684) | private async handleConnection(socket: Socket): Promise { method getStats (line 764) | public getStats() { FILE: packages/pglite-socket/src/scripts/server.ts type ServerConfig (line 97) | interface ServerConfig { class PGLiteServerRunner (line 110) | class PGLiteServerRunner { method constructor (line 116) | constructor(config: ServerConfig) { method parseConfig (line 120) | static parseConfig(): ServerConfig { method createDatabaseUrl (line 138) | private createDatabaseUrl(): string { method importExtensions (line 153) | private async importExtensions(): Promise { method initializeDatabase (line 225) | private async initializeDatabase(): Promise { method setupServerEventHandlers (line 239) | private setupServerEventHandlers(): void { method setupSignalHandlers (line 274) | private setupSignalHandlers(): void { method start (line 279) | async start(): Promise { method shutdown (line 315) | async shutdown(exitCode: number = 0): Promise { class SubprocessManager (line 338) | class SubprocessManager { method constructor (line 342) | constructor(onExit: (code: number) => void) { method process (line 346) | get process(): ChildProcess | null { method spawn (line 350) | spawn( method terminate (line 392) | terminate(timeout: number): void { function main (line 409) | async function main() { FILE: packages/pglite-socket/tests/index.test.ts function testSocket (line 26) | async function testSocket( method emit (line 71) | emit(event: string, data: any) { FILE: packages/pglite-socket/tests/query-with-node-pg.test.ts constant DEBUG_TESTS (line 31) | const DEBUG_TESTS = process.env.DEBUG_TESTS === 'true' constant DEBUG_TESTS_REAL_SERVER (line 32) | const DEBUG_TESTS_REAL_SERVER = constant TEST_PORT (line 35) | const TEST_PORT = 5434 FILE: packages/pglite-socket/tests/query-with-postgres-js.test.ts constant DEBUG_LOCAL (line 31) | const DEBUG_LOCAL = process.env.DEBUG_LOCAL === 'true' constant DEBUG_TESTS (line 32) | const DEBUG_TESTS = process.env.DEBUG_TESTS === 'true' constant DEBUG_TESTS_REAL_SERVER (line 33) | const DEBUG_TESTS_REAL_SERVER = constant TEST_PORT (line 36) | const TEST_PORT = 5434 FILE: packages/pglite-socket/tests/server.test.ts function waitForPort (line 11) | async function waitForPort(port: number, timeout = 15000): Promise type MapColumnsFn (line 13) | type MapColumnsFn = (message: ChangeMessage) => Record type MapColumns (line 14) | type MapColumns = MapColumnsMap | MapColumnsFn type SubscriptionKey (line 15) | type SubscriptionKey = string type InitialInsertMethod (line 16) | type InitialInsertMethod = 'insert' | 'csv' | 'json' | 'useCopy' type ShapeToTableOptions (line 18) | interface ShapeToTableOptions { type SyncShapesToTablesOptions (line 27) | interface SyncShapesToTablesOptions { type SyncShapesToTablesResult (line 36) | interface SyncShapesToTablesResult { type SyncShapeToTableOptions (line 42) | interface SyncShapeToTableOptions { type SyncShapeToTableResult (line 56) | interface SyncShapeToTableResult { type ElectricSyncOptions (line 62) | interface ElectricSyncOptions { type InsertChangeMessage (line 67) | type InsertChangeMessage = ChangeMessage & { FILE: packages/pglite-sync/test-e2e/sync-e2e.test.ts constant DATABASE_URL (line 16) | const DATABASE_URL = constant ELECTRIC_URL (line 19) | const ELECTRIC_URL = constant DEBUG (line 24) | const DEBUG = false constant LOG_FETCH (line 25) | const LOG_FETCH = DEBUG type DataTypeRow (line 2297) | type DataTypeRow = { FILE: packages/pglite-sync/test/sync.test.ts type MultiShapeMessage (line 8) | type MultiShapeMessage = MultiShapeMessages FILE: packages/pglite-tools/src/pgDumpModFactory.ts type IDBFS (line 3) | type IDBFS = Emscripten.FileSystemType & { type FS (line 8) | type FS = typeof FS & { type PgDumpMod (line 17) | interface PgDumpMod type PgDumpFactory (line 37) | type PgDumpFactory = ( FILE: packages/pglite-tools/src/pg_dump.ts function concat (line 14) | function concat(buffer1: ArrayBuffer, buffer2: ArrayBuffer) { type ExecResult (line 21) | interface ExecResult { function execPgDump (line 31) | async function execPgDump({ type PgDumpOptions (line 109) | interface PgDumpOptions { function pgDump (line 124) | async function pgDump({ FILE: packages/pglite-vue/src/dependency-injection.ts type PGliteDependencyInjection (line 4) | interface PGliteDependencyInjection { function makePGliteDependencyInjector (line 28) | function makePGliteDependencyInjector< FILE: packages/pglite-vue/src/hooks.ts type UnsubscribeFn (line 19) | type UnsubscribeFn = () => Promise type QueryParams (line 20) | type QueryParams = unknown[] | undefined | null type QueryResult (line 21) | type QueryResult = type LiveQueryResults (line 24) | type LiveQueryResults = ToRefs>> function useLiveQueryImpl (line 26) | function useLiveQueryImpl( function useLiveQuery (line 98) | function useLiveQuery( function useLiveIncrementalQuery (line 113) | function useLiveIncrementalQuery( FILE: packages/pglite-vue/test/hooks.test.ts function flushPromises (line 7) | function flushPromises(timeoutMs = 0): Promise { function testLiveQuery (line 129) | function testLiveQuery(queryHook: 'useLiveQuery' | 'useLiveIncrementalQu... FILE: packages/pglite-vue/test/injection.test.ts method setup (line 26) | setup() { method setup (line 34) | setup() { method setup (line 64) | setup() { method setup (line 77) | setup() { FILE: packages/pglite/examples/opfs-worker.js method init (line 5) | async init() { FILE: packages/pglite/examples/worker-process.js method init (line 6) | async init() { FILE: packages/pglite/scripts/bundle-wasm.ts function findAndReplaceInFile (line 4) | async function findAndReplaceInFile( function findAndReplaceInDir (line 14) | async function findAndReplaceInDir( function main (line 53) | async function main() { FILE: packages/pglite/src/argsParser.ts constant CONTROL (line 3) | const CONTROL = constant META (line 19) | const META = '|&;()<> \\t' constant SINGLE_QUOTE (line 20) | const SINGLE_QUOTE = '"((\\\\"|[^"])*?)"' constant DOUBLE_QUOTE (line 21) | const DOUBLE_QUOTE = "'((\\\\'|[^'])*?)'" constant TOKEN (line 28) | let TOKEN = '' type Env (line 35) | type Env = Record | ((key: string) => unknown) type OpToken (line 37) | interface OpToken { type CommentToken (line 42) | interface CommentToken { type ParsedToken (line 46) | type ParsedToken = string | OpToken | CommentToken type ParseOpts (line 48) | interface ParseOpts { function matchAll (line 52) | function matchAll(s: string, r: RegExp): RegExpExecArray[] { function getVar (line 70) | function getVar(env: Env, pre: string, key: string): string { function parseInternal (line 84) | function parseInternal( function parse (line 234) | function parse( FILE: packages/pglite/src/base.ts method _initArrayTypes (line 144) | async _initArrayTypes({ force = false } = {}) { method #execProtocolNoSync (line 165) | async #execProtocolNoSync( method refreshArrayTypes (line 181) | async refreshArrayTypes() { method query (line 192) | async query( method sql (line 223) | async sql( method exec (line 237) | async exec(query: string, options?: QueryOptions): Promise( method #runExec (line 340) | async #runExec( method describeQuery (line 392) | async describeQuery( method transaction (line 453) | async transaction(callback: (tx: Transaction) => Promise): Promise... method runExclusive (line 538) | async runExclusive(fn: () => Promise): Promise { method #log (line 545) | #log(...args: any[]) { FILE: packages/pglite/src/definitions/tinytar.d.ts type TarFile (line 2) | interface TarFile { type UntarOptions (line 24) | interface UntarOptions { FILE: packages/pglite/src/errors.ts type PGliteError (line 4) | interface PGliteError extends DatabaseError { function makePGliteError (line 10) | function makePGliteError(data: { FILE: packages/pglite/src/extensionUtils.ts function loadExtensionBundle (line 5) | async function loadExtensionBundle( function loadExtensions (line 53) | async function loadExtensions( function loadExtension (line 76) | function loadExtension( function copyToFS (line 140) | function copyToFS(filePath: string, mod: PostgresMod, entry: any) { function dirname (line 152) | function dirname(path: string) { FILE: packages/pglite/src/fs/base.ts constant WASM_PREFIX (line 6) | const WASM_PREFIX = '/pglite' type FsType (line 8) | type FsType = 'nodefs' | 'idbfs' | 'memoryfs' | 'opfs-ahp' type Filesystem (line 15) | interface Filesystem { class EmscriptenBuiltinFilesystem (line 51) | class EmscriptenBuiltinFilesystem implements Filesystem { method constructor (line 55) | constructor(dataDir?: string) { method init (line 59) | async init(pg: PGlite, emscriptenOptions: Partial) { method syncToFs (line 64) | async syncToFs(_relaxedDurability?: boolean) {} method initialSyncFs (line 66) | async initialSyncFs() {} method closeFs (line 68) | async closeFs() {} method dumpTar (line 70) | async dumpTar(dbname: string, compression?: DumpTarCompressionOptions) { method constructor (line 84) | constructor(dataDir?: string, { debug = false }: { debug?: boolean } = {... method syncToFs (line 89) | async syncToFs(_relaxedDurability?: boolean) {} method initialSyncFs (line 91) | async initialSyncFs() {} method closeFs (line 93) | async closeFs() {} method dumpTar (line 95) | async dumpTar(dbname: string, compression?: DumpTarCompressionOptions) { method init (line 99) | async init(pg: PGlite, emscriptenOptions: Partial) { type FsStats (line 156) | type FsStats = { type EmscriptenFileSystem (line 172) | type EmscriptenFileSystem = Emscripten.FileSystemType & { type FSNode (line 199) | type FSNode = FS.FSNode & { type FSStream (line 204) | type FSStream = FS.FSStream & { type FSMount (line 211) | type FSMount = FS.Mount & { type EmscriptenFS (line 217) | type EmscriptenFS = PostgresMod['FS'] & { constant ERRNO_CODES (line 226) | const ERRNO_CODES = { method tryFSOperation (line 248) | tryFSOperation(f: () => T): T { method mount (line 257) | mount(_mount: FSMount): FSNode { method syncfs (line 260) | syncfs( method createNode (line 267) | createNode( method getattr (line 299) | getattr(node: FSNode): FS.Stats { method setattr (line 316) | setattr(node: FSNode, attr: FS.Stats): void { method lookup (line 334) | lookup(parent: FSNode, name: string): FSNode { method mknod (line 340) | mknod(parent: FSNode, name: string, mode: number, dev: unknown): FSNode { method rename (line 354) | rename(oldNode: FSNode, newDir: FSNode, newName: string): void { method unlink (line 363) | unlink(parent: FSNode, name: string): void { method rmdir (line 372) | rmdir(parent: FSNode, name: string): void { method readdir (line 379) | readdir(node: FSNode): string[] { method symlink (line 386) | symlink(parent: FSNode, newName: string, oldPath: string): void { method readlink (line 391) | readlink(node: FSNode): string { method open (line 398) | open(stream: FSStream): void { method close (line 408) | close(stream: FSStream): void { method dup (line 420) | dup(stream: FSStream) { method read (line 424) | read( method write (line 450) | write( method llseek (line 474) | llseek(stream: FSStream, offset: number, whence: number): number { method mmap (line 492) | mmap( method msync (line 522) | msync( FILE: packages/pglite/src/fs/idbfs.ts class IdbFs (line 6) | class IdbFs extends EmscriptenBuiltinFilesystem { method init (line 7) | async init(pg: PGlite, opts: Partial) { method initialSyncFs (line 34) | initialSyncFs() { method syncToFs (line 46) | syncToFs(_relaxedDurability?: boolean) { method closeFs (line 58) | async closeFs(): Promise { FILE: packages/pglite/src/fs/index.ts function parseDataDir (line 14) | function parseDataDir(dataDir?: string) { function loadFs (line 41) | async function loadFs(dataDir?: string, fsType?: FsType) { FILE: packages/pglite/src/fs/memoryfs.ts class MemoryFS (line 3) | class MemoryFS extends EmscriptenBuiltinFilesystem { method closeFs (line 4) | async closeFs(): Promise { FILE: packages/pglite/src/fs/nodefs.ts class NodeFS (line 8) | class NodeFS extends EmscriptenBuiltinFilesystem { method constructor (line 11) | constructor(dataDir: string) { method init (line 19) | async init(pg: PGlite, opts: Partial) { method closeFs (line 35) | async closeFs(): Promise { FILE: packages/pglite/src/fs/opfs-ahp.ts type OpfsAhpOptions (line 5) | interface OpfsAhpOptions { type FileSystemSyncAccessHandle (line 12) | interface FileSystemSyncAccessHandle { constant STATE_FILE (line 23) | const STATE_FILE = 'state.txt' constant DATA_DIR (line 24) | const DATA_DIR = 'data' constant INITIAL_MODE (line 25) | const INITIAL_MODE = { type State (line 30) | interface State { type PoolFilenames (line 35) | type PoolFilenames = Array type WALEntry (line 39) | interface WALEntry { type NodeType (line 46) | type NodeType = 'file' | 'directory' type BaseNode (line 48) | interface BaseNode { type FileNode (line 54) | interface FileNode extends BaseNode { type DirectoryNode (line 59) | interface DirectoryNode extends BaseNode { type Node (line 64) | type Node = FileNode | DirectoryNode class OpfsAhpFS (line 70) | class OpfsAhpFS extends BaseFilesystem { method constructor (line 96) | constructor( method init (line 109) | async init(pg: PGlite, opts: Partial) { method syncToFs (line 114) | async syncToFs(relaxedDurability = false) { method closeFs (line 122) | async closeFs(): Promise { method #init (line 131) | async #init() { method maintainPool (line 242) | async maintainPool(size?: number) { method _createPoolFileState (line 291) | _createPoolFileState(filename: string) { method _deletePoolFileState (line 295) | _deletePoolFileState(filename: string) { method maybeCheckpointState (line 302) | async maybeCheckpointState() { method checkpointState (line 308) | async checkpointState() { method flush (line 316) | flush() { method chmod (line 329) | chmod(path: string, mode: number): void { method _chmodState (line 335) | _chmodState(path: string, mode: number): void { method close (line 340) | close(fd: number): void { method fstat (line 346) | fstat(fd: number): FsStats { method lstat (line 351) | lstat(path: string): FsStats { method mkdir (line 373) | mkdir(path: string, options?: { recursive?: boolean; mode?: number }):... method _mkdirState (line 379) | _mkdirState( method open (line 413) | open(path: string, _flags?: string, _mode?: number): number { method readdir (line 424) | readdir(path: string): string[] { method read (line 432) | read( method rename (line 450) | rename(oldPath: string, newPath: string): void { method _renameState (line 456) | _renameState(oldPath: string, newPath: string, doFileOps = false): void { method rmdir (line 482) | rmdir(path: string): void { method _rmdirState (line 488) | _rmdirState(path: string): void { method truncate (line 505) | truncate(path: string, len = 0): void { method unlink (line 518) | unlink(path: string): void { method _unlinkState (line 524) | _unlinkState(path: string, doFileOps = false): void { method utimes (line 549) | utimes(path: string, atime: number, mtime: number): void { method _utimesState (line 555) | _utimesState(path: string, _atime: number, mtime: number): void { method writeFile (line 560) | writeFile( method _createFileNodeState (line 608) | _createFileNodeState(path: string, node: FileNode): FileNode { method _setLastModifiedState (line 621) | _setLastModifiedState(path: string, lastModified: number): void { method write (line 626) | write( method #tryWithWAL (line 653) | #tryWithWAL(entry: WALEntry, fn: () => void) { method #logWAL (line 664) | #logWAL(entry: WALEntry) { method #pathParts (line 673) | #pathParts(path: string): string[] { method #resolvePath (line 677) | #resolvePath(path: string, from?: DirectoryNode): Node { method #getPathFromFd (line 692) | #getPathFromFd(fd: number): string { method #nextHandleId (line 700) | #nextHandleId(): number { method #resolveOpfsDirectory (line 708) | async #resolveOpfsDirectory( class FsError (line 724) | class FsError extends Error { method constructor (line 726) | constructor(code: number | keyof typeof ERRNO_CODES | null, message: s... FILE: packages/pglite/src/fs/tarUtils.ts type DumpTarCompressionOptions (line 4) | type DumpTarCompressionOptions = 'none' | 'gzip' | 'auto' function dumpTar (line 6) | async function dumpTar( function loadTar (line 34) | async function loadTar( function readDirectory (line 89) | function readDirectory(FS: FS, path: string) { function createTarball (line 121) | function createTarball(FS: FS, directoryPath: string) { function maybeZip (line 127) | async function maybeZip( function zipBrowser (line 148) | async function zipBrowser(file: Uint8Array): Promise { function zipNode (line 176) | async function zipNode(file: Uint8Array): Promise { function unzip (line 183) | async function unzip(file: Uint8Array): Promise { function unzipBrowser (line 197) | async function unzipBrowser(file: Uint8Array): Promise { function unzipNode (line 225) | async function unzipNode(file: Uint8Array): Promise { function dateToUnixTimestamp (line 232) | function dateToUnixTimestamp(date: Date | number | undefined): number { FILE: packages/pglite/src/initdb.ts function assert (line 4) | function assert(condition: unknown, message?: string): asserts condition { constant PG_ROOT (line 10) | const PG_ROOT = '/pglite' constant PGDATA (line 11) | const PGDATA = PG_ROOT + '/data' type PGliteForInitdb (line 21) | interface PGliteForInitdb { type ExecResult (line 31) | interface ExecResult { function log (line 38) | function log(debug?: number, ...args: any[]) { function execInitdb (line 44) | async function execInitdb({ type InitdbOptions (line 194) | interface InitdbOptions { function getArgs (line 200) | function getArgs(cmd: string) { function initdb (line 214) | async function initdb({ FILE: packages/pglite/src/initdbModFactory.ts type IDBFS (line 3) | type IDBFS = Emscripten.FileSystemType & { type FS (line 8) | type FS = typeof FS & { type InitdbMod (line 17) | interface InitdbMod type PgDumpFactory (line 57) | type PgDumpFactory = ( FILE: packages/pglite/src/interface.ts type FilesystemType (line 9) | type FilesystemType = 'nodefs' | 'idbfs' | 'memoryfs' type DebugLevel (line 11) | type DebugLevel = 0 | 1 | 2 | 3 | 4 | 5 type RowMode (line 13) | type RowMode = 'array' | 'object' type ParserOptions (line 15) | interface ParserOptions { type SerializerOptions (line 19) | interface SerializerOptions { type QueryOptions (line 23) | interface QueryOptions { type ExecProtocolOptions (line 32) | interface ExecProtocolOptions { type ExecProtocolOptionsStream (line 38) | interface ExecProtocolOptionsStream { type ExtensionSetupResult (line 43) | interface ExtensionSetupResult { type ExtensionSetup (line 51) | type ExtensionSetup = ( type Extension (line 57) | interface Extension { type ExtensionNamespace (line 62) | type ExtensionNamespace = type Extensions (line 65) | type Extensions = { type InitializedExtensions (line 69) | type InitializedExtensions = type ExecProtocolResult (line 74) | interface ExecProtocolResult { type DumpDataDirResult (line 79) | interface DumpDataDirResult { type PGliteOptions (line 85) | interface PGliteOptions { type PGliteInterface (line 103) | type PGliteInterface = type PGliteInterfaceExtensions (line 154) | type PGliteInterfaceExtensions = E extends Extensions type Row (line 166) | type Row = T type Results (line 168) | type Results = { type Transaction (line 175) | interface Transaction { type DescribeQueryResult (line 194) | type DescribeQueryResult = { FILE: packages/pglite/src/live/index.ts constant MAX_RETRIES (line 27) | const MAX_RETRIES = 5 method query (line 35) | async query( method changes (line 284) | async changes( method incrementalQuery (line 557) | async incrementalQuery( type PGliteWithLive (line 708) | type PGliteWithLive = PGliteInterface & { function getTablesForView (line 718) | async function getTablesForView( function addNotifyTriggersToTables (line 796) | async function addNotifyTriggersToTables( FILE: packages/pglite/src/live/interface.ts type LiveQueryOptions (line 3) | interface LiveQueryOptions { type LiveChangesOptions (line 12) | interface LiveChangesOptions { type LiveIncrementalQueryOptions (line 20) | interface LiveIncrementalQueryOptions { type LiveNamespace (line 28) | interface LiveNamespace { type LiveQueryResults (line 104) | interface LiveQueryResults extends Results { type LiveQuery (line 110) | interface LiveQuery { type LiveChanges (line 119) | interface LiveChanges { type ChangeInsert (line 127) | type ChangeInsert = { type ChangeDelete (line 133) | type ChangeDelete = { type ChangeUpdate (line 139) | type ChangeUpdate = { type ChangeReset (line 145) | type ChangeReset = { type Change (line 149) | type Change = FILE: packages/pglite/src/parse.ts function parseResults (line 15) | function parseResults( function retrieveRowCount (line 89) | function retrieveRowCount(msg: CommandCompleteMessage): number { function parseDescribeStatementResults (line 105) | function parseDescribeStatementResults( FILE: packages/pglite/src/pglite.ts class PGlite (line 44) | class PGlite method ENV (line 55) | get ENV(): any { method constructor (line 147) | constructor( method create (line 214) | static async create( method #print (line 231) | #print(text: string): void { method #printErr (line 237) | #printErr(text: string): void { method handleExternalCmd (line 243) | handleExternalCmd(cmd: string, mode: string) { method #init (line 256) | async #init(options: PGliteOptions) { method #onRuntimeInitialized (line 545) | #onRuntimeInitialized(mod: PostgresMod) { method Module (line 650) | get Module() { method ready (line 657) | get ready() { method closed (line 664) | get closed() { method close (line 672) | async close() { method _handleBlob (line 733) | async _handleBlob(blob?: File | Blob) { method _cleanupBlob (line 740) | async _cleanupBlob() { method _getWrittenBlob (line 748) | async _getWrittenBlob(): Promise { method _checkReady (line 760) | async _checkReady() { method execProtocolRawSync (line 779) | execProtocolRawSync(message: Uint8Array) { method execProtocolRaw (line 858) | async execProtocolRaw( method execProtocolRawStream (line 880) | async execProtocolRawStream( method execProtocol (line 896) | async execProtocol( method execProtocolStream (line 931) | async execProtocolStream( method #parse (line 961) | #parse(msg: BackendMessage) { method isInTransaction (line 1003) | isInTransaction() { method syncToFs (line 1012) | async syncToFs() { method #log (line 1035) | #log(...args: any[]) { method listen (line 1046) | async listen( method #listen (line 1054) | async #listen( method unlisten (line 1084) | async unlisten( method #unlisten (line 1092) | async #unlisten( method onNotification (line 1121) | onNotification( method offNotification (line 1134) | offNotification(callback: (channel: string, payload: string) => void) { method dumpDataDir (line 1143) | async dumpDataDir( method _runExclusiveQuery (line 1156) | _runExclusiveQuery(fn: () => Promise): Promise { method _runExclusiveTransaction (line 1165) | _runExclusiveTransaction(fn: () => Promise): Promise { method clone (line 1170) | async clone(): Promise { method _runExclusiveListen (line 1175) | _runExclusiveListen(fn: () => Promise): Promise { method callMain (line 1179) | callMain(args: string[]): number { method #setPGliteActive (line 1183) | #setPGliteActive(): void { method #startInSingleMode (line 1192) | #startInSingleMode(opts: { method #processStartupPacket (line 1208) | #processStartupPacket(message: Uint8Array): Uint8Array { method [Symbol.asyncDispose] (line 725) | async [Symbol.asyncDispose]() { FILE: packages/pglite/src/postgresMod.ts type IDBFS (line 3) | type IDBFS = Emscripten.FileSystemType & { type FS (line 8) | type FS = typeof FS & { type PostgresMod (line 17) | interface PostgresMod type PostgresFactory (line 67) | type PostgresFactory = ( FILE: packages/pglite/src/templating.ts type TemplatePart (line 6) | interface TemplatePart { type TemplateContainer (line 11) | interface TemplateContainer { type TemplatedQuery (line 17) | interface TemplatedQuery { function addToLastAndPushWithSuffix (line 22) | function addToLastAndPushWithSuffix( function sql (line 57) | function sql( function identifier (line 125) | function identifier( function raw (line 146) | function raw( function query (line 170) | function query( FILE: packages/pglite/src/types.ts constant BOOL (line 13) | const BOOL = 16, constant BYTEA (line 13) | const BOOL = 16, constant CHAR (line 13) | const BOOL = 16, constant INT8 (line 13) | const BOOL = 16, constant INT2 (line 13) | const BOOL = 16, constant INT4 (line 13) | const BOOL = 16, constant REGPROC (line 13) | const BOOL = 16, constant TEXT (line 13) | const BOOL = 16, constant OID (line 13) | const BOOL = 16, constant TID (line 13) | const BOOL = 16, constant XID (line 13) | const BOOL = 16, constant CID (line 13) | const BOOL = 16, constant JSON (line 13) | const BOOL = 16, constant XML (line 13) | const BOOL = 16, constant PG_NODE_TREE (line 13) | const BOOL = 16, constant SMGR (line 13) | const BOOL = 16, constant PATH (line 13) | const BOOL = 16, constant POLYGON (line 13) | const BOOL = 16, constant CIDR (line 13) | const BOOL = 16, constant FLOAT4 (line 13) | const BOOL = 16, constant FLOAT8 (line 13) | const BOOL = 16, constant ABSTIME (line 13) | const BOOL = 16, constant RELTIME (line 13) | const BOOL = 16, constant TINTERVAL (line 13) | const BOOL = 16, constant CIRCLE (line 13) | const BOOL = 16, constant MACADDR8 (line 13) | const BOOL = 16, constant MONEY (line 13) | const BOOL = 16, constant MACADDR (line 13) | const BOOL = 16, constant INET (line 13) | const BOOL = 16, constant ACLITEM (line 13) | const BOOL = 16, constant BPCHAR (line 13) | const BOOL = 16, constant VARCHAR (line 13) | const BOOL = 16, constant DATE (line 13) | const BOOL = 16, constant TIME (line 13) | const BOOL = 16, constant TIMESTAMP (line 13) | const BOOL = 16, constant TIMESTAMPTZ (line 13) | const BOOL = 16, constant INTERVAL (line 13) | const BOOL = 16, constant TIMETZ (line 13) | const BOOL = 16, constant BIT (line 13) | const BOOL = 16, constant VARBIT (line 13) | const BOOL = 16, constant NUMERIC (line 13) | const BOOL = 16, constant REFCURSOR (line 13) | const BOOL = 16, constant REGPROCEDURE (line 13) | const BOOL = 16, constant REGOPER (line 13) | const BOOL = 16, constant REGOPERATOR (line 13) | const BOOL = 16, constant REGCLASS (line 13) | const BOOL = 16, constant REGTYPE (line 13) | const BOOL = 16, constant UUID (line 13) | const BOOL = 16, constant TXID_SNAPSHOT (line 13) | const BOOL = 16, constant PG_LSN (line 13) | const BOOL = 16, constant PG_NDISTINCT (line 13) | const BOOL = 16, constant PG_DEPENDENCIES (line 13) | const BOOL = 16, constant TSVECTOR (line 13) | const BOOL = 16, constant TSQUERY (line 13) | const BOOL = 16, constant GTSVECTOR (line 13) | const BOOL = 16, constant REGCONFIG (line 13) | const BOOL = 16, constant REGDICTIONARY (line 13) | const BOOL = 16, constant JSONB (line 13) | const BOOL = 16, constant REGNAMESPACE (line 13) | const BOOL = 16, constant REGROLE (line 13) | const BOOL = 16, type Parser (line 170) | type Parser = (x: string, typeId?: number) => any type Serializer (line 171) | type Serializer = (x: any) => string type TypeHandler (line 173) | type TypeHandler = { type TypeHandlers (line 180) | type TypeHandlers = { function parseType (line 189) | function parseType( function typeHandlers (line 205) | function typeHandlers(types: TypeHandlers) { function arrayEscape (line 237) | function arrayEscape(x: string) { function arraySerializer (line 241) | function arraySerializer( function arrayParser (line 280) | function arrayParser(x: string, parser: Parser, typarray: number) { function arrayParserLoop (line 285) | function arrayParserLoop( FILE: packages/pglite/src/utils.ts constant IN_NODE (line 6) | const IN_NODE = function startWasmDownload (line 13) | async function startWasmDownload() { function instantiateWasm (line 25) | async function instantiateWasm( function getFsBundle (line 69) | async function getFsBundle(): Promise { function formatQuery (line 131) | async function formatQuery( function debounceMutex (line 191) | function debounceMutex( function toPostgresName (line 239) | function toPostgresName(input: string): string { FILE: packages/pglite/src/worker/index.ts type PGliteWorkerOptions (line 16) | type PGliteWorkerOptions = class PGliteWorker (line 22) | class PGliteWorker method constructor (line 54) | constructor(worker: Worker, options?: PGliteWorkerOptions) { method create (line 97) | static async create( method #init (line 106) | async #init(options: PGliteWorkerOptions = {}) { method #leaderNotifyLoop (line 198) | async #leaderNotifyLoop() { method #rpc (line 208) | async #rpc( method waitReady (line 257) | get waitReady() { method debug (line 275) | get debug() { method ready (line 282) | get ready() { method closed (line 289) | get closed() { method isLeader (line 296) | get isLeader() { method close (line 304) | async close() { method execProtocolRaw (line 335) | async execProtocolRaw(message: Uint8Array): Promise { method execProtocol (line 344) | async execProtocol(message: Uint8Array): Promise { method execProtocolStream (line 353) | async execProtocolStream(message: Uint8Array): Promise void) { method offNotification (line 443) | offNotification(callback: (channel: string, payload: string) => void) { method #receiveNotification (line 447) | #receiveNotification(channel: string, payload: string) { method dumpDataDir (line 459) | async dumpDataDir( method onLeaderChange (line 465) | onLeaderChange(callback: () => void) { method offLeaderChange (line 472) | offLeaderChange(callback: () => void) { method _handleBlob (line 476) | async _handleBlob(blob?: File | Blob): Promise { method _getWrittenBlob (line 480) | async _getWrittenBlob(): Promise { method _cleanupBlob (line 484) | async _cleanupBlob(): Promise { method _checkReady (line 488) | async _checkReady() { method _runExclusiveQuery (line 492) | async _runExclusiveQuery(fn: () => Promise): Promise { method _runExclusiveTransaction (line 501) | async _runExclusiveTransaction(fn: () => Promise): Promise { method [Symbol.asyncDispose] (line 320) | async [Symbol.asyncDispose]() { type WorkerOptions (line 511) | interface WorkerOptions { function worker (line 515) | async function worker({ init }: WorkerOptions) { function connectTab (line 581) | function connectTab(tabId: string, pg: PGlite, connectedTabs: Set type WorkerRpcMethod (line 760) | type WorkerRpcMethod = keyof WorkerApi type WorkerRpcCall (line 762) | type WorkerRpcCall = { type WorkerRpcResult (line 769) | type WorkerRpcResult = { type WorkerRpcError (line 775) | type WorkerRpcError = { type WorkerRpcResponse (line 781) | type WorkerRpcResponse = FILE: packages/pglite/tests/array-types.test.ts function getSize (line 84) | function getSize(obj) { FILE: packages/pglite/tests/instantiation.test.ts function testInstatiationMethod (line 9) | function testInstatiationMethod( FILE: packages/pglite/tests/message-context-leak.test.ts function makeJsonBlob (line 13) | function makeJsonBlob(size: number): string { FILE: packages/pglite/tests/query-sizes.test.ts function createStringOfSize (line 4) | function createStringOfSize(sizeInBytes: number): string { function testEachSize (line 28) | function testEachSize( function testRowCountAndSize (line 42) | function testRowCountAndSize( FILE: packages/pglite/tests/targets/runtimes/base.js function tests (line 4) | function tests(env, dbFilename, target) { FILE: packages/pglite/tests/targets/web/base.js constant BASE_URL (line 6) | const BASE_URL = `http://localhost:${wsPort}/tests/targets/web/blank.html` constant PGLITE_PATH (line 8) | const PGLITE_PATH = '../../../dist/index.js' constant PGLITE_WORKER_PATH (line 9) | const PGLITE_WORKER_PATH = '../../../dist/worker/index.js' constant PGLITE_LIVE_PATH (line 10) | const PGLITE_LIVE_PATH = '../../../dist/live/index.js' constant WORKER_PATH (line 11) | const WORKER_PATH = '/tests/targets/web/worker.js' function tests (line 15) | function tests(env, dbFilename, target) { FILE: packages/pglite/tests/targets/web/worker.js method init (line 5) | async init(options) { FILE: packages/pglite/tests/test-utils.ts function expectToThrowAsync (line 7) | async function expectToThrowAsync( function testEsmCjsAndDTC (line 29) | async function testEsmCjsAndDTC( FILE: packages/pglite/tsup.config.ts method setup (line 11) | setup(build: any) {