diff options
Diffstat (limited to 'test')
126 files changed, 34544 insertions, 657 deletions
diff --git a/test/bun.lockb b/test/bun.lockb Binary files differindex fc86845e1..01afbfa4e 100755 --- a/test/bun.lockb +++ b/test/bun.lockb diff --git a/test/bundler/__snapshots__/bun-build-api.test.ts.snap b/test/bundler/__snapshots__/bun-build-api.test.ts.snap index 45932d789..1076dc34f 100644 --- a/test/bundler/__snapshots__/bun-build-api.test.ts.snap +++ b/test/bundler/__snapshots__/bun-build-api.test.ts.snap @@ -72,11 +72,11 @@ NS.then(({ fn: fn2 }) => { " `; -exports[`Bun.build BuildArtifact properties: hash 1`] = `"6d09d5a2f0a15119"`; +exports[`Bun.build BuildArtifact properties: hash 1`] = `"eed0054b0aa2037b"`; exports[`Bun.build BuildArtifact properties + entry.naming: hash 1`] = `"82b2e1b4a1117627"`; -exports[`Bun.build BuildArtifact properties sourcemap: hash index.js 1`] = `"6d09d5a2f0a15119"`; +exports[`Bun.build BuildArtifact properties sourcemap: hash index.js 1`] = `"eed0054b0aa2037b"`; exports[`Bun.build BuildArtifact properties sourcemap: hash index.js.map 1`] = `"0000000000000000"`; diff --git a/test/bundler/bundler_edgecase.test.ts b/test/bundler/bundler_edgecase.test.ts index 1b9b60a68..bbbe4270b 100644 --- a/test/bundler/bundler_edgecase.test.ts +++ b/test/bundler/bundler_edgecase.test.ts @@ -320,7 +320,6 @@ describe("bundler", () => { }, }); itBundled("edgecase/JSONDefaultAndNamedImport", { - // We don't support rewriting default import to property acceses yet todo: true, files: { "/entry.js": /* js */ ` @@ -397,24 +396,25 @@ describe("bundler", () => { }, }); itBundled("edgecase/PackageJSONDefaultConditionImport", { - todo: true, files: { "/entry.js": /* js */ ` - import React from 'react' + import React from 'boop' console.log(React) `, - "/node_modules/react/package.json": /* json */ ` + // NOTE: this test fails if the package name is "react" + // most likely an issue with commonjs unwrapping. + "/node_modules/boop/package.json": /* json */ ` { - "name": "react", + "name": "boop", "exports": { ".": { "react-server": "./ignore.js", - "default": "./react.js" + "default": "./boop.js" } } } `, - "/node_modules/react/react.js": /* js */ ` + "/node_modules/boop/boop.js": /* js */ ` export default 123 `, }, @@ -661,7 +661,6 @@ describe("bundler", () => { target: "bun", }); itBundled("edgecase/RuntimeExternalRequire", { - todo: true, files: { "/entry.ts": /* ts */ ` console.log(require("hello-1").type); diff --git a/test/bundler/esbuild/default.test.ts b/test/bundler/esbuild/default.test.ts index 0d1775606..ac820848a 100644 --- a/test/bundler/esbuild/default.test.ts +++ b/test/bundler/esbuild/default.test.ts @@ -1,8 +1,8 @@ import assert from "assert"; import dedent from "dedent"; + import { ESBUILD_PATH, RUN_UNCHECKED_TESTS, itBundled, testForFile } from "../expectBundled"; var { describe, test, expect } = testForFile(import.meta.path); - // Tests ported from: // https://github.com/evanw/esbuild/blob/main/internal/bundler_tests/bundler_default_test.go @@ -375,7 +375,10 @@ describe("bundler", () => { // assert bundles weird as of writing "/test.js": /* js */ ` - globalThis.assert = import.meta.require('assert'); + globalThis.assert = require('assert'); + if (typeof assert.deepEqual !== 'function') { + throw new Error('assert.deepEqual is not a function'); + } require('./out.js'); `, }, @@ -1335,8 +1338,8 @@ describe("bundler", () => { import fs from "fs"; import assert from "assert"; import * as module from './out.js'; - assert(module.fs === fs, 'export * as fs from "fs"; works') - assert(module.readFileSync === fs.readFileSync, 'export {readFileSync} from "fs"; works') + assert(module.fs.default === fs, 'export * as fs from "fs"; works') + assert(module.fs.default.readFileSync === fs.readFileSync, 'export {readFileSync} from "fs"; works') `, }, target: "node", @@ -1356,10 +1359,10 @@ describe("bundler", () => { `, "/test.js": /* js */ ` - import fs from "fs"; + import * as fs from "fs"; import assert from "assert"; import * as module from './out.js'; - assert(module.f === fs, 'export {fs as f} works') + assert(module.f.default === fs.default, 'export {fs as f} works') assert(module.rfs === fs.readFileSync, 'export {rfs} works') `, }, @@ -1379,7 +1382,7 @@ describe("bundler", () => { `, "/test.js": /* js */ ` - import fs from "fs"; + import * as fs from "fs"; import assert from "assert"; import * as mod from './out.js'; assert(mod.fs === fs, 'exports.fs') @@ -6562,4 +6565,275 @@ describe("bundler", () => { api.expectFile("/out.js").not.toContain("data = 123"); }, }); + itBundled("default/BundlerUsesModuleFieldForEsm", { + files: { + "/entry.js": ` + import { foo } from 'foo'; + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js", + "main": "index.cjs.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + run: { + stdout: "hello index.esm.js", + }, + }); + itBundled("default/BundlerUsesMainFieldForCjs", { + files: { + "/entry.js": ` + const { foo } = require('foo'); + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js", + "main": "index.cjs.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + run: { + stdout: "hello index.cjs.js", + }, + }); + itBundled("default/RuntimeUsesMainFieldForCjs", { + files: { + "/entry.js": ` + const { foo } = require('foo'); + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js", + "main": "index.cjs.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + bundling: false, + run: { + stdout: "hello index.cjs.js", + }, + }); + itBundled("default/RuntimeUsesMainFieldForEsm", { + files: { + "/entry.js": ` + import { foo } from 'foo'; + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js", + "main": "index.cjs.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + bundling: false, + run: { + stdout: "hello index.cjs.js", + }, + }); + itBundled("default/BundlerUsesModuleFieldIfMainDoesNotExistCjs", { + files: { + "/entry.js": ` + const { foo } = require('foo'); + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + run: { + stdout: "hello index.esm.js", + }, + }); + itBundled("default/BundlerUsesModuleFieldIfMainDoesNotExistEsm", { + files: { + "/entry.js": ` + import { foo } from 'foo'; + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + run: { + stdout: "hello index.esm.js", + }, + }); + itBundled("default/RuntimeUsesModuleFieldIfMainDoesNotExistCjs", { + files: { + "/entry.js": ` + const { foo } = require('foo'); + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + bundling: false, + run: { + stdout: "hello index.esm.js", + }, + }); + itBundled("default/RuntimeUsesModuleFieldIfMainDoesNotExistEsm", { + files: { + "/entry.js": ` + import { foo } from 'foo'; + console.log(foo); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0", + "module": "index.esm.js" + } + `, + "/node_modules/foo/index.cjs.js": ` + module.exports.foo = "hello index.cjs.js"; + `, + "/node_modules/foo/index.esm.js": ` + export const foo = "hello index.esm.js"; + `, + }, + bundling: false, + run: { + stdout: "hello index.esm.js", + }, + }); + itBundled("default/RequireProperlyHandlesNamedExportDeclsInCjsModule", { + files: { + "/entry.js": ` + const { a, b, c, d } = require('foo'); + console.log(a, b, c, d); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0" + } + `, + "/node_modules/foo/index.js": ` + if (!exports.d) { + exports.d = 7; + } + if (exports.hasOwnProperty("d")) { + exports.a = 5; + } + + exports.b; + exports.b = 8; + exports.b = 9; + + var c; + c = 2; + exports.c = c; + `, + }, + run: { + stdout: "5 9 2 7", + }, + onAfterBundle(api) { + const contents = api.readFile("out.js"); + expect(contents).not.toContain("undefined"); + expect(contents).not.toContain("$"); + }, + }); + itBundled("default/EsmImportProperlyHandlesNamedExportDeclsInUnwrappedCjsModule", { + files: { + "/entry.js": ` + import { a, b, c, d } from 'foo'; + console.log(a, b, c, d); + `, + "/node_modules/foo/package.json": ` + { + "name": "foo", + "version": "2.0.0" + } + `, + "/node_modules/foo/index.js": ` + if (!exports.d) { + exports.d = 7; + } + if (exports.hasOwnProperty("d")) { + exports.a = 5; + } + + exports.b; + exports.b = 8; + exports.b = 9; + + var c; + c = 2; + exports.c = c; + `, + }, + run: { + stdout: "5 9 2 7", + }, + }); }); diff --git a/test/cli/install/bun-add.test.ts b/test/cli/install/bun-add.test.ts index 79804f0e0..9dd38c8cd 100644 --- a/test/cli/install/bun-add.test.ts +++ b/test/cli/install/bun-add.test.ts @@ -303,6 +303,61 @@ it("should add dependency with capital letters", async () => { await access(join(package_dir, "bun.lockb")); }); +it("should add exact version", async () => { + const urls: string[] = []; + setHandler(dummyRegistry(urls)); + await writeFile( + join(package_dir, "package.json"), + JSON.stringify({ + name: "foo", + version: "0.0.1", + }), + ); + const { stdout, stderr, exited } = spawn({ + cmd: [bunExe(), "add", "--exact", "BaR"], + cwd: package_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env, + }); + expect(stderr).toBeDefined(); + const err = await new Response(stderr).text(); + expect(err).toContain("Saved lockfile"); + expect(stdout).toBeDefined(); + const out = await new Response(stdout).text(); + expect(out.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ + "", + " installed BaR@0.0.2", + "", + "", + " 1 packages installed", + ]); + expect(await exited).toBe(0); + expect(urls.sort()).toEqual([`${root_url}/BaR`, `${root_url}/BaR-0.0.2.tgz`]); + expect(requested).toBe(2); + expect(await readdirSorted(join(package_dir, "node_modules"))).toEqual([".cache", "BaR"]); + expect(await readdirSorted(join(package_dir, "node_modules", "BaR"))).toEqual(["package.json"]); + expect(await file(join(package_dir, "node_modules", "BaR", "package.json")).json()).toEqual({ + name: "bar", + version: "0.0.2", + }); + expect(await file(join(package_dir, "package.json")).text()).toEqual( + JSON.stringify( + { + name: "foo", + version: "0.0.1", + dependencies: { + BaR: "0.0.2", + }, + }, + null, + 2, + ), + ); + await access(join(package_dir, "bun.lockb")); +}); + it("should add dependency with specified semver", async () => { const urls: string[] = []; setHandler( diff --git a/test/cli/install/bun-install.test.ts b/test/cli/install/bun-install.test.ts index f44dc5a7e..f2483c8d2 100644 --- a/test/cli/install/bun-install.test.ts +++ b/test/cli/install/bun-install.test.ts @@ -1,7 +1,7 @@ import { file, listen, Socket, spawn } from "bun"; import { afterAll, afterEach, beforeAll, beforeEach, expect, it } from "bun:test"; import { bunExe, bunEnv as env } from "harness"; -import { access, mkdir, readlink, rm, writeFile } from "fs/promises"; +import { access, mkdir, readlink, realpath, rm, writeFile } from "fs/promises"; import { join } from "path"; import { dummyAfterAll, @@ -292,6 +292,50 @@ it("should handle workspaces", async () => { await access(join(package_dir, "bun.lockb")); }); +it("should handle `workspace:` specifier", async () => { + await writeFile( + join(package_dir, "package.json"), + JSON.stringify({ + name: "Foo", + version: "0.0.1", + dependencies: { + Bar: "workspace:path/to/bar", + }, + }), + ); + await mkdir(join(package_dir, "path", "to", "bar"), { recursive: true }); + await writeFile( + join(package_dir, "path", "to", "bar", "package.json"), + JSON.stringify({ + name: "Bar", + version: "0.0.2", + }), + ); + const { stdout, stderr, exited } = spawn({ + cmd: [bunExe(), "install"], + cwd: package_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env, + }); + expect(stderr).toBeDefined(); + const err = await new Response(stderr).text(); + expect(err).toContain("Saved lockfile"); + expect(stdout).toBeDefined(); + const out = await new Response(stdout).text(); + expect(out.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ + " + Bar@workspace:path/to/bar", + "", + " 1 packages installed", + ]); + expect(await exited).toBe(0); + expect(requested).toBe(0); + expect(await readdirSorted(join(package_dir, "node_modules"))).toEqual([".cache", "Bar"]); + expect(await readlink(join(package_dir, "node_modules", "Bar"))).toBe(join("..", "path", "to", "bar")); + await access(join(package_dir, "bun.lockb")); +}); + it("should handle workspaces with packages array", async () => { await writeFile( join(package_dir, "package.json"), @@ -4241,6 +4285,55 @@ it("should handle --cwd", async () => { }); }); +it("should handle --frozen-lockfile", async () => { + await writeFile( + join(package_dir, "package.json"), + JSON.stringify({ name: "foo", version: "0.0.1", dependencies: { bar: "0.0.2" } }), + ); + + const { stderr, exited } = spawn({ + cmd: [bunExe(), "install", "--frozen-lockfile"], + cwd: package_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env, + }); + + expect(stderr).toBeDefined(); + const err = await new Response(stderr).text(); + expect(err).toContain("error: lockfile had changes, but lockfile is frozen"); + expect(await exited).toBe(1); +}); + +it("should handle frozenLockfile in config file", async () => { + await writeFile( + join(package_dir, "package.json"), + JSON.stringify({ name: "foo", version: "0.0.1", dependencies: { bar: "0.0.2" } }), + ); + await writeFile( + join(package_dir, "bunfig.toml"), + ` +[install] +frozenLockfile = true +`, + ); + + const { stderr, exited } = spawn({ + cmd: [bunExe(), "install"], + cwd: package_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env, + }); + + expect(stderr).toBeDefined(); + const err = await new Response(stderr).text(); + expect(err).toContain("error: lockfile had changes, but lockfile is frozen"); + expect(await exited).toBe(1); +}); + it("should perform bin-linking across multiple dependencies", async () => { const foo_package = JSON.stringify({ name: "foo", @@ -4259,7 +4352,11 @@ it("should perform bin-linking across multiple dependencies", async () => { cache = false `, ); - const { stdout, stderr, exited } = spawn({ + const { + stdout: stdout1, + stderr: stderr1, + exited: exited1, + } = spawn({ cmd: [bunExe(), "install"], cwd: package_dir, stdout: null, @@ -4267,13 +4364,13 @@ cache = false stderr: "pipe", env, }); - expect(stderr).toBeDefined(); - const err = await new Response(stderr).text(); - expect(err).toContain("Saved lockfile"); - expect(err).not.toContain("error:"); - expect(stdout).toBeDefined(); - const out = await new Response(stdout).text(); - expect(out.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ + expect(stderr1).toBeDefined(); + const err1 = await new Response(stderr1).text(); + expect(err1).toContain("Saved lockfile"); + expect(err1).not.toContain("error:"); + expect(stdout1).toBeDefined(); + const out1 = await new Response(stdout1).text(); + expect(out1.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ " + conditional-type-checks@1.0.6", " + prettier@2.8.8", " + tsd@0.22.0", @@ -4281,7 +4378,7 @@ cache = false "", " 119 packages installed", ]); - expect(await exited).toBe(0); + expect(await exited1).toBe(0); expect(await readdirSorted(package_dir)).toEqual(["bun.lockb", "bunfig.toml", "node_modules", "package.json"]); expect(await file(join(package_dir, "package.json")).text()).toEqual(foo_package); expect(await readdirSorted(join(package_dir, "node_modules"))).toEqual([ @@ -4394,4 +4491,101 @@ cache = false "tsd", "tsserver", ]); -}, 10000); + // Perform `bun install --production` with lockfile from before + await rm(join(package_dir, "node_modules"), { force: true, recursive: true }); + const { + stdout: stdout2, + stderr: stderr2, + exited: exited2, + } = spawn({ + cmd: [bunExe(), "install", "--production"], + cwd: package_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env, + }); + expect(stderr2).toBeDefined(); + const err2 = await new Response(stderr2).text(); + expect(err2).not.toContain("Saved lockfile"); + expect(err2).not.toContain("error:"); + expect(stdout2).toBeDefined(); + const out2 = await new Response(stdout2).text(); + expect(out2.replace(/\[[0-9\.]+m?s\]/, "[]").split(/\r?\n/)).toEqual(["[] done", ""]); + expect(await exited2).toBe(0); + expect(await readdirSorted(package_dir)).toEqual(["bun.lockb", "bunfig.toml", "node_modules", "package.json"]); + expect(await file(join(package_dir, "package.json")).text()).toEqual(foo_package); + expect(await readdirSorted(join(package_dir, "node_modules"))).toEqual([]); +}, 20000); + +it("should handle trustedDependencies", async () => { + const scripts = { + preinstall: `${bunExe()} echo.js preinstall`, + install: `${bunExe()} echo.js install`, + postinstall: `${bunExe()} echo.js postinstall`, + preprepare: `${bunExe()} echo.js preprepare`, + prepare: `${bunExe()} echo.js prepare`, + postprepare: `${bunExe()} echo.js postprepare`, + }; + await writeFile( + join(package_dir, "package.json"), + JSON.stringify({ + name: "foo", + version: "0.1.0", + dependencies: { + bar: "file:./bar", + moo: "file:./moo", + }, + trustedDependencies: ["moo"], + }), + ); + await mkdir(join(package_dir, "bar")); + const bar_package = JSON.stringify({ + name: "bar", + version: "0.2.0", + scripts, + }); + await writeFile(join(package_dir, "bar", "package.json"), bar_package); + await writeFile(join(package_dir, "bar", "echo.js"), "console.log(`bar|${process.argv[2]}|${import.meta.dir}`);"); + await mkdir(join(package_dir, "moo")); + const moo_package = JSON.stringify({ + name: "moo", + version: "0.3.0", + scripts, + }); + await writeFile(join(package_dir, "moo", "package.json"), moo_package); + await writeFile(join(package_dir, "moo", "echo.js"), "console.log(`moo|${process.argv[2]}|${import.meta.dir}`);"); + const { stdout, stderr, exited } = spawn({ + cmd: [bunExe(), "install"], + cwd: package_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env, + }); + expect(stderr).toBeDefined(); + const err = await new Response(stderr).text(); + expect(err).toContain("Saved lockfile"); + expect(stdout).toBeDefined(); + const out = await new Response(stdout).text(); + const moo_dir = await realpath(join(package_dir, "node_modules", "moo")); + expect(out.replace(/\s*\[[0-9\.]+m?s\]\s*$/, "").split(/\r?\n/)).toEqual([ + `moo|preinstall|${moo_dir}`, + " + bar@bar", + " + moo@moo", + `moo|install|${moo_dir}`, + `moo|postinstall|${moo_dir}`, + `moo|preprepare|${moo_dir}`, + `moo|prepare|${moo_dir}`, + `moo|postprepare|${moo_dir}`, + "", + " 2 packages installed", + ]); + expect(await exited).toBe(0); + expect(await readdirSorted(join(package_dir, "node_modules"))).toEqual([".cache", "bar", "moo"]); + expect(await readdirSorted(join(package_dir, "node_modules", "bar"))).toEqual(["echo.js", "package.json"]); + expect(await file(join(package_dir, "node_modules", "bar", "package.json")).text()).toEqual(bar_package); + expect(await readdirSorted(join(package_dir, "node_modules", "moo"))).toEqual(["echo.js", "package.json"]); + expect(await file(join(package_dir, "node_modules", "moo", "package.json")).text()).toEqual(moo_package); + await access(join(package_dir, "bun.lockb")); +}); diff --git a/test/cli/install/bun-run.test.ts b/test/cli/install/bun-run.test.ts new file mode 100644 index 000000000..95f33ebb8 --- /dev/null +++ b/test/cli/install/bun-run.test.ts @@ -0,0 +1,172 @@ +import { file, spawn } from "bun"; +import { afterEach, beforeEach, expect, it } from "bun:test"; +import { bunExe, bunEnv as env } from "harness"; +import { mkdtemp, realpath, rm, writeFile } from "fs/promises"; +import { tmpdir } from "os"; +import { join } from "path"; +import { readdirSorted } from "./dummy.registry"; + +let run_dir: string; + +beforeEach(async () => { + run_dir = await realpath(await mkdtemp(join(tmpdir(), "bun-run.test"))); +}); +afterEach(async () => { + await rm(run_dir, { force: true, recursive: true }); +}); + +it("should download dependency to run local file", async () => { + await writeFile( + join(run_dir, "test.js"), + ` +const { minify } = require("uglify-js@3.17.4"); + +console.log(minify("print(6 * 7)").code); + `, + ); + const { + stdout: stdout1, + stderr: stderr1, + exited: exited1, + } = spawn({ + cmd: [bunExe(), "run", "test.js"], + cwd: run_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env: { + ...env, + BUN_INSTALL_CACHE_DIR: join(run_dir, ".cache"), + }, + }); + expect(stderr1).toBeDefined(); + const err1 = await new Response(stderr1).text(); + expect(err1).toBe(""); + expect(await readdirSorted(run_dir)).toEqual([".cache", "test.js"]); + expect(await readdirSorted(join(run_dir, ".cache"))).toContain("uglify-js"); + expect(await readdirSorted(join(run_dir, ".cache", "uglify-js"))).toEqual(["3.17.4"]); + expect(stdout1).toBeDefined(); + const out1 = await new Response(stdout1).text(); + expect(out1.split(/\r?\n/)).toEqual(["print(42);", ""]); + expect(await exited1).toBe(0); + // Perform `bun test.js` with cached dependencies + const { + stdout: stdout2, + stderr: stderr2, + exited: exited2, + } = spawn({ + cmd: [bunExe(), "test.js"], + cwd: run_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env: { + ...env, + BUN_INSTALL_CACHE_DIR: join(run_dir, ".cache"), + }, + }); + expect(stderr2).toBeDefined(); + const err2 = await new Response(stderr2).text(); + expect(err2).toBe(""); + expect(await readdirSorted(run_dir)).toEqual([".cache", "test.js"]); + expect(await readdirSorted(join(run_dir, ".cache"))).toContain("uglify-js"); + expect(await readdirSorted(join(run_dir, ".cache", "uglify-js"))).toEqual(["3.17.4"]); + expect(stdout2).toBeDefined(); + const out2 = await new Response(stdout2).text(); + expect(out2.split(/\r?\n/)).toEqual(["print(42);", ""]); + expect(await exited2).toBe(0); +}); + +it("should download dependencies to run local file", async () => { + await writeFile( + join(run_dir, "test.js"), + ` +import { file } from "bun"; +import decompress from "decompress@4.2.1"; + +const buffer = await file("${join(import.meta.dir, "baz-0.0.3.tgz")}").arrayBuffer(); +for (const entry of await decompress(Buffer.from(buffer))) { + console.log(\`\${entry.type}: \${entry.path}\`); +} + `, + ); + const { + stdout: stdout1, + stderr: stderr1, + exited: exited1, + } = spawn({ + cmd: [bunExe(), "test.js"], + cwd: run_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env: { + ...env, + BUN_INSTALL_CACHE_DIR: join(run_dir, ".cache"), + }, + }); + expect(stderr1).toBeDefined(); + const err1 = await new Response(stderr1).text(); + expect(err1).toBe(""); + expect(await readdirSorted(run_dir)).toEqual([".cache", "test.js"]); + expect(await readdirSorted(join(run_dir, ".cache"))).toContain("decompress"); + expect(await readdirSorted(join(run_dir, ".cache", "decompress"))).toEqual(["4.2.1"]); + expect(await readdirSorted(join(run_dir, ".cache", "decompress", "4.2.1"))).toEqual([ + "index.js", + "license", + "package.json", + "readme.md", + ]); + expect(await file(join(run_dir, ".cache", "decompress", "4.2.1", "index.js")).text()).toContain( + "\nmodule.exports = ", + ); + expect(stdout1).toBeDefined(); + const out1 = await new Response(stdout1).text(); + expect(out1.split(/\r?\n/)).toEqual([ + "directory: package/", + "file: package/index.js", + "file: package/package.json", + "", + ]); + expect(await exited1).toBe(0); + // Perform `bun run test.js` with cached dependencies + const { + stdout: stdout2, + stderr: stderr2, + exited: exited2, + } = spawn({ + cmd: [bunExe(), "run", "test.js"], + cwd: run_dir, + stdout: null, + stdin: "pipe", + stderr: "pipe", + env: { + ...env, + BUN_INSTALL_CACHE_DIR: join(run_dir, ".cache"), + }, + }); + expect(stderr2).toBeDefined(); + const err2 = await new Response(stderr2).text(); + expect(err2).toBe(""); + expect(await readdirSorted(run_dir)).toEqual([".cache", "test.js"]); + expect(await readdirSorted(join(run_dir, ".cache"))).toContain("decompress"); + expect(await readdirSorted(join(run_dir, ".cache", "decompress"))).toEqual(["4.2.1"]); + expect(await readdirSorted(join(run_dir, ".cache", "decompress", "4.2.1"))).toEqual([ + "index.js", + "license", + "package.json", + "readme.md", + ]); + expect(await file(join(run_dir, ".cache", "decompress", "4.2.1", "index.js")).text()).toContain( + "\nmodule.exports = ", + ); + expect(stdout2).toBeDefined(); + const out2 = await new Response(stdout2).text(); + expect(out2.split(/\r?\n/)).toEqual([ + "directory: package/", + "file: package/index.js", + "file: package/package.json", + "", + ]); + expect(await exited2).toBe(0); +}); diff --git a/test/cli/install/bunx.test.ts b/test/cli/install/bunx.test.ts index 87ad2f8b4..70d7aac29 100644 --- a/test/cli/install/bunx.test.ts +++ b/test/cli/install/bunx.test.ts @@ -1,7 +1,6 @@ import { spawn } from "bun"; import { afterEach, beforeEach, expect, it } from "bun:test"; import { bunExe, bunEnv as env } from "harness"; -import { realpathSync } from "fs"; import { mkdtemp, realpath, rm, writeFile } from "fs/promises"; import { tmpdir } from "os"; import { join } from "path"; @@ -10,7 +9,7 @@ import { readdirSorted } from "./dummy.registry"; let x_dir: string; beforeEach(async () => { - x_dir = realpathSync(await mkdtemp(join(tmpdir(), "bun-x.test"))); + x_dir = await realpath(await mkdtemp(join(tmpdir(), "bun-x.test"))); }); afterEach(async () => { await rm(x_dir, { force: true, recursive: true }); @@ -110,75 +109,6 @@ it("should work for @scoped packages", async () => { expect(await cached.exited).toBe(0); }); -it("should download dependency to run local file", async () => { - await writeFile( - join(x_dir, "test.js"), - ` -const { minify } = require("uglify-js@3.17.4"); - -console.log(minify("print(6 * 7)").code); -`, - ); - const { stdout, stderr, exited } = spawn({ - cmd: [bunExe(), "test.js"], - cwd: x_dir, - stdout: null, - stdin: "pipe", - stderr: "pipe", - env: { - ...env, - BUN_INSTALL_CACHE_DIR: join(x_dir, ".cache"), - }, - }); - expect(stderr).toBeDefined(); - const err = await new Response(stderr).text(); - expect(err).toBe(""); - expect(stdout).toBeDefined(); - const out = await new Response(stdout).text(); - expect(out.split(/\r?\n/)).toEqual(["print(42);", ""]); - expect(await exited).toBe(0); - expect(await readdirSorted(x_dir)).toEqual([".cache", "test.js"]); -}); - -it("should download dependencies to run local file", async () => { - await writeFile( - join(x_dir, "test.js"), - ` -import { file } from "bun"; -import decompress from "decompress@4.2.1"; - -const buffer = await file("${join(import.meta.dir, "baz-0.0.3.tgz")}").arrayBuffer(); -for (const entry of await decompress(Buffer.from(buffer))) { - console.log(\`\${entry.type}: \${entry.path}\`); -} -`, - ); - const { stdout, stderr, exited } = spawn({ - cmd: [bunExe(), "test.js"], - cwd: x_dir, - stdout: null, - stdin: "pipe", - stderr: "pipe", - env: { - ...env, - BUN_INSTALL_CACHE_DIR: join(x_dir, ".cache"), - }, - }); - expect(stderr).toBeDefined(); - const err = await new Response(stderr).text(); - expect(err).toBe(""); - expect(stdout).toBeDefined(); - const out = await new Response(stdout).text(); - expect(out.split(/\r?\n/)).toEqual([ - "directory: package/", - "file: package/index.js", - "file: package/package.json", - "", - ]); - expect(await exited).toBe(0); - expect(await readdirSorted(x_dir)).toEqual([".cache", "test.js"]); -}); - it("should execute from current working directory", async () => { await writeFile( join(x_dir, "test.js"), diff --git a/test/cli/run/env.test.ts b/test/cli/run/env.test.ts index ddc316f05..e6ee99dd2 100644 --- a/test/cli/run/env.test.ts +++ b/test/cli/run/env.test.ts @@ -194,6 +194,51 @@ describe("dotenv priority", () => { }); }); +test(".env colon assign", () => { + const dir = tempDirWithFiles("dotenv-colon", { + ".env": "FOO: foo", + "index.ts": "console.log(process.env.FOO);", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("foo"); +}); + +test(".env export assign", () => { + const dir = tempDirWithFiles("dotenv-export", { + ".env": "export FOO = foo\nexport = bar", + "index.ts": "console.log(process.env.FOO, process.env.export);", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("foo bar"); +}); + +test(".env value expansion", () => { + const dir = tempDirWithFiles("dotenv-expand", { + ".env": "FOO=foo\nBAR=$FOO bar\nMOO=${FOO} ${BAR:-fail} ${MOZ:-moo}", + "index.ts": "console.log([process.env.FOO, process.env.BAR, process.env.MOO].join('|'));", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("foo|foo bar|foo foo bar moo"); +}); + +test(".env comments", () => { + const dir = tempDirWithFiles("dotenv-comments", { + ".env": "#FOZ\nFOO = foo#FAIL\nBAR='bar' #BAZ", + "index.ts": "console.log(process.env.FOO, process.env.BAR);", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("foo bar"); +}); + +test(".env escaped dollar sign", () => { + const dir = tempDirWithFiles("dotenv-dollar", { + ".env": "FOO=foo\nBAR=\\$FOO", + "index.ts": "console.log(process.env.FOO, process.env.BAR);", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("foo $FOO"); +}); + test(".env doesnt crash with 159 bytes", () => { const dir = tempDirWithFiles("dotenv-159", { ".env": @@ -217,28 +262,59 @@ test(".env doesnt crash with 159 bytes", () => { ); }); -test.todo(".env space edgecase (issue #411)", () => { +test(".env with >768 entries", () => { + const dir = tempDirWithFiles("dotenv-many-entries", { + ".env": new Array(2000) + .fill(null) + .map((_, i) => `TEST_VAR${i}=TEST_VAL${i}`) + .join("\n"), + "index.ts": "console.log(process.env.TEST_VAR47);", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("TEST_VAL47"); +}); + +test(".env space edgecase (issue #411)", () => { const dir = tempDirWithFiles("dotenv-issue-411", { ".env": "VARNAME=A B", - "index.ts": "console.log('[' + process.env.VARNAME + ']'); ", + "index.ts": "console.log('[' + process.env.VARNAME + ']');", }); const { stdout } = bunRun(`${dir}/index.ts`); expect(stdout).toBe("[A B]"); }); -test.todo(".env special characters 1 (issue #2823)", () => { - const dir = tempDirWithFiles("dotenv-issue-411", { - ".env": 'A="a$t"\n', - "index.ts": "console.log('[' + process.env.A + ']'); ", +test(".env special characters 1 (issue #2823)", () => { + const dir = tempDirWithFiles("dotenv-issue-2823", { + ".env": 'A="a$t"\nC=`c\\$v`', + "index.ts": "console.log('[' + process.env.A + ']', '[' + process.env.C + ']');", }); const { stdout } = bunRun(`${dir}/index.ts`); - expect(stdout).toBe("[a$t]"); + expect(stdout).toBe("[a] [c$v]"); }); test.todo("env escaped quote (issue #2484)", () => { - const dir = tempDirWithFiles("dotenv-issue-411", { + const dir = tempDirWithFiles("env-issue-2484", { "index.ts": "console.log(process.env.VALUE, process.env.VALUE2);", }); const { stdout } = bunRun(`${dir}/index.ts`, { VALUE: `\\"`, VALUE2: `\\\\"` }); expect(stdout).toBe('\\" \\\\"'); }); + +test(".env Windows-style newline (issue #3042)", () => { + const dir = tempDirWithFiles("dotenv-issue-3042", { + ".env": "FOO=\rBAR='bar\r\rbaz'\r\nMOO=moo\r", + "index.ts": "console.log([process.env.FOO, process.env.BAR, process.env.MOO].join('|'));", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("|bar\n\nbaz|moo"); +}); + +test(".env with zero length strings", () => { + const dir = tempDirWithFiles("dotenv-issue-zerolength", { + ".env": "FOO=''\n", + "index.ts": + "function i(a){return a}\nconsole.log([process.env.FOO,i(process.env).FOO,process.env.FOO.length,i(process.env).FOO.length].join('|'));", + }); + const { stdout } = bunRun(`${dir}/index.ts`); + expect(stdout).toBe("||0|0"); +}); diff --git a/test/cli/run/require-cache-fixture-b.cjs b/test/cli/run/require-cache-fixture-b.cjs index 8f8e40ff0..c3f2c8a26 100644 --- a/test/cli/run/require-cache-fixture-b.cjs +++ b/test/cli/run/require-cache-fixture-b.cjs @@ -1,3 +1,8 @@ exports.foo = 123; exports.bar = 456; exports.baz = 789; + +if (require.main === module) { + console.error(__filename, module.id); + throw new Error("require.main === module"); +} diff --git a/test/cli/run/require-cache-fixture.cjs b/test/cli/run/require-cache-fixture.cjs index b04e751ac..838be9ceb 100644 --- a/test/cli/run/require-cache-fixture.cjs +++ b/test/cli/run/require-cache-fixture.cjs @@ -3,6 +3,16 @@ const Bun = (globalThis.Bun ??= { gc() {} }); const { resolve } = require("path"); +if (require.main !== module) { + console.error(__filename, module.id); + throw new Error("require.main !== module"); +} + +if (process.mainModule !== module) { + console.error(__filename, module.id); + throw new Error("process.mainModule !== module"); +} + if (__filename !== resolve(module.filename)) { console.error(__filename, module.id); throw new Error("__filename !== module.id"); diff --git a/test/cli/test/bun-test.test.ts b/test/cli/test/bun-test.test.ts index 47ea17db3..534c17513 100644 --- a/test/cli/test/bun-test.test.ts +++ b/test/cli/test/bun-test.test.ts @@ -192,14 +192,34 @@ describe("bun test", () => { }); expect(stderr).toContain("Invalid timeout"); }); + test("timeout can be set to 0ms", () => { + const stderr = runTest({ + args: ["--timeout", "0"], + input: ` + import { test, expect } from "bun:test"; + import { sleep } from "bun"; + test("ok", async () => { + await expect(Promise.resolve()).resolves.toBeUndefined(); + await expect(Promise.reject()).rejects.toBeUndefined(); + }); + test("timeout", async () => { + await expect(sleep(1)).resolves.toBeUndefined(); + }); + `, + }); + expect(stderr).toContain("timed out after 0ms"); + }); test("timeout can be set to 1ms", () => { const stderr = runTest({ args: ["--timeout", "1"], input: ` import { test, expect } from "bun:test"; import { sleep } from "bun"; + test("ok", async () => { + await expect(sleep(1)).resolves.toBeUndefined(); + }); test("timeout", async () => { - await sleep(2); + await expect(sleep(2)).resolves.toBeUndefined(); }); `, }); diff --git a/test/exports/bun-exports.bun-v0.6.11.json b/test/exports/bun-exports.bun-v0.6.11.json new file mode 100644 index 000000000..8e2cb23d2 --- /dev/null +++ b/test/exports/bun-exports.bun-v0.6.11.json @@ -0,0 +1,8598 @@ +{ + "import": { + "buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "default": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "bun:events_native": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "captureRejectionSymbol": "symbol", + "default": { + "EventEmitter": { + "EventEmitter": "function", + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "bun:ffi": { + "CFunction": "function", + "CString": "function", + "FFIType": { + "0": "number", + "1": "number", + "2": "number", + "3": "number", + "4": "number", + "5": "number", + "6": "number", + "7": "number", + "8": "number", + "9": "number", + "10": "number", + "11": "number", + "12": "number", + "13": "number", + "14": "number", + "15": "number", + "16": "number", + "17": "number", + "bool": "number", + "c_int": "number", + "c_uint": "number", + "callback": "number", + "char*": "number", + "char": "number", + "cstring": "number", + "double": "number", + "f32": "number", + "f64": "number", + "float": "number", + "fn": "number", + "function": "number", + "i16": "number", + "i32": "number", + "i64": "number", + "i64_fast": "number", + "i8": "number", + "int": "number", + "int16_t": "number", + "int32_t": "number", + "int64_t": "number", + "int8_t": "number", + "isize": "number", + "pointer": "number", + "ptr": "number", + "u16": "number", + "u32": "number", + "u64": "number", + "u64_fast": "number", + "u8": "number", + "uint16_t": "number", + "uint32_t": "number", + "uint64_t": "number", + "uint8_t": "number", + "usize": "number", + "void*": "number", + "void": "number" + }, + "JSCallback": "function", + "dlopen": "function", + "linkSymbols": "function", + "native": { + "callback": "function", + "dlopen": "function" + }, + "ptr": "function", + "read": { + "f32": "function", + "f64": "function", + "i16": "function", + "i32": "function", + "i64": "function", + "i8": "function", + "intptr": "function", + "ptr": "function", + "u16": "function", + "u32": "function", + "u64": "function", + "u8": "function" + }, + "suffix": "string", + "toArrayBuffer": "function", + "toBuffer": "function", + "viewSource": "function" + }, + "bun:jsc": { + "callerSourceOrigin": "function", + "default": { + "callerSourceOrigin": "function", + "describe": "function", + "describeArray": "function", + "drainMicrotasks": "function", + "edenGC": "function", + "fullGC": "function", + "gcAndSweep": "function", + "generateHeapSnapshotForDebugging": "function", + "getProtectedObjects": "function", + "getRandomSeed": "function", + "heapSize": "function", + "heapStats": "function", + "isRope": "function", + "memoryUsage": "function", + "noFTL": "function", + "noInline": "function", + "noOSRExitFuzzing": "function", + "numberOfDFGCompiles": "function", + "optimizeNextInvocation": "function", + "profile": "function", + "releaseWeakRefs": "function", + "reoptimizationRetryCount": "function", + "samplingProfilerStackTraces": "function", + "setRandomSeed": "function", + "setTimeZone": "function", + "startRemoteDebugger": "function", + "startSamplingProfiler": "function", + "totalCompileTime": "function" + }, + "describe": "function", + "describeArray": "function", + "drainMicrotasks": "function", + "edenGC": "function", + "fullGC": "function", + "gcAndSweep": "function", + "generateHeapSnapshotForDebugging": "function", + "getProtectedObjects": "function", + "getRandomSeed": "function", + "heapSize": "function", + "heapStats": "function", + "isRope": "function", + "jscDescribe": "function", + "jscDescribeArray": "function", + "memoryUsage": "function", + "noFTL": "function", + "noInline": "function", + "noOSRExitFuzzing": "function", + "numberOfDFGCompiles": "function", + "optimizeNextInvocation": "function", + "profile": "function", + "releaseWeakRefs": "function", + "reoptimizationRetryCount": "function", + "samplingProfilerStackTraces": "function", + "setRandomSeed": "function", + "setTimeZone": "function", + "setTimezone": "function", + "startRemoteDebugger": "function", + "startSamplingProfiler": "function", + "totalCompileTime": "function" + }, + "bun:main": {}, + "bun:sqlite": { + "Database": { + "MAX_QUERY_CACHE_SIZE": "number" + }, + "Statement": "function", + "constants": { + "SQLITE_OPEN_AUTOPROXY": "number", + "SQLITE_OPEN_CREATE": "number", + "SQLITE_OPEN_DELETEONCLOSE": "number", + "SQLITE_OPEN_EXCLUSIVE": "number", + "SQLITE_OPEN_EXRESCODE": "number", + "SQLITE_OPEN_FULLMUTEX": "number", + "SQLITE_OPEN_MAIN_DB": "number", + "SQLITE_OPEN_MAIN_JOURNAL": "number", + "SQLITE_OPEN_MEMORY": "number", + "SQLITE_OPEN_NOFOLLOW": "number", + "SQLITE_OPEN_NOMUTEX": "number", + "SQLITE_OPEN_PRIVATECACHE": "number", + "SQLITE_OPEN_READONLY": "number", + "SQLITE_OPEN_READWRITE": "number", + "SQLITE_OPEN_SHAREDCACHE": "number", + "SQLITE_OPEN_SUBJOURNAL": "number", + "SQLITE_OPEN_SUPER_JOURNAL": "number", + "SQLITE_OPEN_TEMP_DB": "number", + "SQLITE_OPEN_TEMP_JOURNAL": "number", + "SQLITE_OPEN_TRANSIENT_DB": "number", + "SQLITE_OPEN_URI": "number", + "SQLITE_OPEN_WAL": "number", + "SQLITE_PREPARE_NORMALIZE": "number", + "SQLITE_PREPARE_NO_VTAB": "number", + "SQLITE_PREPARE_PERSISTENT": "number" + }, + "default": { + "MAX_QUERY_CACHE_SIZE": "number" + }, + "native": "undefined" + }, + "detect-libc": { + "GLIBC": "string", + "MUSL": "string", + "family": "function", + "familySync": "function", + "isNonGlibcLinux": "function", + "isNonGlibcLinuxSync": "function", + "version": "function", + "versionAsync": "function" + }, + "node:assert": { + "AssertionError": "function", + "assert": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "default": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:assert/strict": { + "AssertionError": "function", + "CallTracker": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "default": { + "AssertionError": "function", + "CallTracker": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "undefined", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strictEqual": "function", + "throws": "function" + }, + "doesNotMatch": "undefined", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:async_hooks": { + "AsyncLocalStorage": "function", + "AsyncResource": { + "allowedRunInAsyncScope": "object" + }, + "asyncWrapProviders": { + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FIXEDSIZEBLOBCOPY": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "default": { + "AsyncLocalStorage": "function", + "AsyncResource": { + "allowedRunInAsyncScope": "object" + }, + "asyncWrapProviders": { + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FIXEDSIZEBLOBCOPY": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "node:buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "default": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "node:child_process": { + "ChildProcess": "function", + "default": { + "ChildProcess": "function", + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "node:cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "Worker": "function", + "cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "schedulingPolicy": "number", + "settings": "object", + "workers": "object" + }, + "default": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "schedulingPolicy": "number", + "settings": "object", + "workers": "object" + }, + "isMaster": "boolean", + "isPrimary": "boolean", + "isWorker": "boolean", + "schedulingPolicy": "number" + }, + "node:crypto": { + "Cipher": "function", + "Cipheriv": "function", + "DEFAULT_ENCODING": "string", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "Hash": "function", + "Hmac": "function", + "Sign": "function", + "Verify": "function", + "constants": { + "ALPN_ENABLED": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "NPN_ENABLED": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number" + }, + "createCipher": "function", + "createCipheriv": "function", + "createCredentials": "function", + "createDecipher": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": { + "Hash": "function", + "createHash": { + "Hash": "function", + "createHash": "function" + } + }, + "createHmac": "function", + "createSign": "function", + "createVerify": "function", + "default": { + "Cipher": "function", + "Cipheriv": "function", + "DEFAULT_ENCODING": "string", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "Hash": "function", + "Hmac": "function", + "Sign": "function", + "Verify": "function", + "constants": { + "ALPN_ENABLED": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "NPN_ENABLED": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number" + }, + "createCipher": "function", + "createCipheriv": "function", + "createCredentials": "function", + "createDecipher": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": { + "Hash": "function", + "createHash": "function" + }, + "createHmac": "function", + "createSign": "function", + "createVerify": "function", + "getCiphers": "function", + "getDiffieHellman": "function", + "getHashes": "function", + "getRandomValues": "function", + "listCiphers": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "prng": "function", + "pseudoRandomBytes": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "rng": "function", + "scrypt": "function", + "scryptSync": "function", + "subtle": "object", + "timingSafeEqual": "function", + "webcrypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + } + }, + "getCiphers": "function", + "getDiffieHellman": "function", + "getHashes": "function", + "getRandomValues": "function", + "listCiphers": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "prng": "function", + "pseudoRandomBytes": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomUUID": "function", + "rng": "function", + "scrypt": "function", + "scryptSync": "function", + "timingSafeEqual": "function", + "webcrypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + } + }, + "node:dgram": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function", + "default": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function" + } + }, + "node:diagnostics_channel": { + "Channel": "function", + "channel": "function", + "default": { + "Channel": "function", + "channel": "function", + "hasSubscribers": "function", + "subscribe": "function", + "unsubscribe": "function" + }, + "hasSubscribers": "function", + "subscribe": "function", + "unsubscribe": "function" + }, + "node:dns": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "default": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "lookup": "function", + "lookupService": "function", + "promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "lookup": "function", + "lookupService": "function", + "promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:dns/promises": { + "Resolver": "function", + "default": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "undefined", + "setServers": "undefined" + }, + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "undefined", + "setServers": "undefined" + }, + "node:events": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "captureRejectionSymbol": "symbol", + "default": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "node:fs": { + "Dirent": "function", + "ReadStream": "function", + "Stats": "function", + "WriteStream": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "default": { + "Dirent": "function", + "FSWatcher": "function", + "ReadStream": "function", + "Stats": "function", + "WriteStream": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": "object", + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": "function" + }, + "realpathSync": { + "native": "function" + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": { + "native": "function" + } + }, + "realpathSync": { + "native": { + "native": "function" + } + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "node:fs/promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "default": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "node:http": { + "Agent": "function", + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "default": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "request": "function" + }, + "node:http2": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "default": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "node:https": { + "Agent": "function", + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "default": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "request": "function" + }, + "node:inspector": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": { + "console": "object" + }, + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "default": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "object", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:module": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": { + "exports": "object" + }, + "bun:events_native": { + "exports": "function" + }, + "bun:ffi": { + "exports": "object" + }, + "bun:jsc": { + "exports": "object" + }, + "bun:main": { + "exports": "object" + }, + "bun:sqlite": { + "exports": "object" + }, + "detect-libc": { + "exports": "object" + }, + "node:assert": { + "exports": "function" + }, + "node:assert/strict": { + "exports": "object" + }, + "node:async_hooks": { + "exports": "object" + }, + "node:buffer": { + "exports": "object" + }, + "node:child_process": { + "exports": "object" + }, + "node:cluster": { + "exports": "object" + }, + "node:crypto": { + "exports": "object" + }, + "node:dgram": { + "exports": "object" + }, + "node:diagnostics_channel": { + "exports": "object" + }, + "node:dns": { + "exports": "object" + }, + "node:dns/promises": { + "exports": "object" + }, + "node:events": { + "exports": "function" + }, + "node:fs": { + "exports": "object" + }, + "node:fs/promises": { + "exports": "object" + }, + "node:http": { + "exports": "object" + }, + "node:http2": { + "exports": "object" + }, + "node:https": { + "exports": "object" + }, + "node:inspector": { + "exports": "object" + }, + "node:module": { + "exports": "object" + }, + "node:os": { + "exports": "object" + }, + "node:process": { + "exports": "object" + }, + "node:stream": { + "exports": "function" + }, + "node:string_decoder": { + "exports": "object" + }, + "node:util": { + "exports": "object" + }, + "node:util/types": { + "exports": "object" + } + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "default": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": "object", + "bun:events_native": "object", + "bun:ffi": "object", + "bun:jsc": "object", + "bun:main": "object", + "bun:sqlite": "object", + "detect-libc": "object", + "node:assert": "object", + "node:assert/strict": "object", + "node:async_hooks": "object", + "node:buffer": "object", + "node:child_process": "object", + "node:cluster": "object", + "node:crypto": "object", + "node:dgram": "object", + "node:diagnostics_channel": "object", + "node:dns": "object", + "node:dns/promises": "object", + "node:events": "object", + "node:fs": "object", + "node:fs/promises": "object", + "node:http": "object", + "node:http2": "object", + "node:https": "object", + "node:inspector": "object", + "node:module": "object", + "node:os": "object", + "node:process": "object", + "node:stream": "object", + "node:string_decoder": "object", + "node:util": "object", + "node:util/types": "object" + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "node:net": { + "Server": "function", + "Socket": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "default": { + "Server": "function", + "Socket": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function" + }, + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function" + }, + "node:os": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": { + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number" + }, + "errno": { + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EXDEV": "number" + }, + "priority": { + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number" + }, + "signals": { + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPOLL": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number" + } + }, + "cpus": "function", + "default": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": "object", + "errno": "object", + "priority": "object", + "signals": "object" + }, + "cpus": "function", + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "node:path": { + "__esModule": "undefined", + "basename": "function", + "createModule": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "node:path/posix": { + "basename": "function", + "default": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:path/win32": { + "basename": "function", + "default": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:perf_hooks": { + "PerformanceEntry": "function", + "PerformanceNodeTiming": "function", + "PerformanceObserver": "function", + "default": { + "PerformanceEntry": "function", + "PerformanceNodeTiming": "function", + "performance": { + "now": "function", + "timeOrigin": "number" + } + }, + "performance": { + "now": "function", + "timeOrigin": "number" + } + }, + "node:process": { + "abort": "function", + "addListener": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string", + "2": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": { + "v8_enable_i8n_support": "number" + } + }, + "cwd": "function", + "default": { + "abort": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string", + "2": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": "object" + }, + "cwd": "function", + "dlopen": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "nextTick": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "revision": "string", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": "object", + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "dlopen": "function", + "emit": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "eventNames": "function", + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "getMaxListeners": "function", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "listenerCount": "function", + "listeners": "function", + "nextTick": "function", + "off": "function", + "on": "function", + "once": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "prepend": "function", + "prependOnce": "function", + "rawListeners": "function", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "removeAllListeners": "function", + "removeListener": "function", + "revision": "string", + "setMaxListeners": "function", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "node:readline": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "default": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:readline/promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function", + "default": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:repl": { + "REPLServer": "function", + "REPL_MODE_SLOPPY": "number", + "REPL_MODE_STRICT": "number", + "Recoverable": "function", + "default": { + "_domain": "undefined", + "_initialPrompt": "string", + "allowBlockingCompletions": "boolean", + "breakEvalOnSigint": "boolean", + "completer": "function", + "context": { + "AbortController": "function", + "AbortSignal": "function", + "Blob": "function", + "Buffer": "function", + "BuildError": "function", + "BuildMessage": "function", + "Bun": "function", + "ByteLengthQueuingStrategy": "function", + "CloseEvent": "function", + "CountQueuingStrategy": "function", + "Crypto": "function", + "CryptoKey": "function", + "CustomEvent": "function", + "DOMException": "function", + "ErrorEvent": "function", + "Event": "function", + "EventSource": "function", + "EventTarget": "function", + "FormData": "function", + "HTMLRewriter": "object", + "Headers": "function", + "MessageEvent": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "Request": "function", + "ResolveError": "function", + "ResolveMessage": "function", + "Response": "function", + "SubtleCrypto": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "URL": "function", + "URLSearchParams": "function", + "WebSocket": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "__IDS_TO_TRACK": "object", + "addEventListener": "function", + "alert": "function", + "atob": "function", + "btoa": "function", + "bunJSX": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "confirm": "function", + "crypto": "function", + "fetch": "function", + "navigator": "object", + "performance": "object", + "process": "object", + "prompt": "function", + "queueMicrotask": "function", + "reportError": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "crlfDelay": "number", + "cursor": "number", + "escapeCodeTimeout": "number", + "eval": "function", + "history": "object", + "historyIndex": "number", + "historySize": "number", + "input": "object", + "isCompletionEnabled": "boolean", + "last": "undefined", + "line": "string", + "lines": "object", + "output": "object", + "removeHistoryDuplicates": "boolean", + "tabSize": "number", + "terminal": "boolean", + "underscoreAssigned": "boolean", + "useColors": "boolean", + "useGlobal": "boolean" + }, + "repl": { + "_domain": "undefined", + "_initialPrompt": "string", + "allowBlockingCompletions": "boolean", + "breakEvalOnSigint": "boolean", + "completer": "function", + "context": { + "AbortController": "function", + "AbortSignal": "function", + "Blob": "function", + "Buffer": "function", + "BuildError": "function", + "BuildMessage": "function", + "Bun": "function", + "ByteLengthQueuingStrategy": "function", + "CloseEvent": "function", + "CountQueuingStrategy": "function", + "Crypto": "function", + "CryptoKey": "function", + "CustomEvent": "function", + "DOMException": "function", + "ErrorEvent": "function", + "Event": "function", + "EventSource": "function", + "EventTarget": "function", + "FormData": "function", + "HTMLRewriter": "object", + "Headers": "function", + "MessageEvent": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "Request": "function", + "ResolveError": "function", + "ResolveMessage": "function", + "Response": "function", + "SubtleCrypto": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "URL": "function", + "URLSearchParams": "function", + "WebSocket": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "__IDS_TO_TRACK": "object", + "addEventListener": "function", + "alert": "function", + "atob": "function", + "btoa": "function", + "bunJSX": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "confirm": "function", + "crypto": "function", + "fetch": "function", + "navigator": "object", + "performance": "object", + "process": "object", + "prompt": "function", + "queueMicrotask": "function", + "reportError": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "crlfDelay": "number", + "cursor": "number", + "escapeCodeTimeout": "number", + "eval": "function", + "history": "object", + "historyIndex": "number", + "historySize": "number", + "input": "object", + "isCompletionEnabled": "boolean", + "last": "undefined", + "line": "string", + "lines": "object", + "output": "object", + "removeHistoryDuplicates": "boolean", + "tabSize": "number", + "terminal": "boolean", + "underscoreAssigned": "boolean", + "useColors": "boolean", + "useGlobal": "boolean" + }, + "start": "function" + }, + "node:stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "node:stream/consumers": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "default": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "json": "function", + "text": "function" + }, + "json": "function", + "text": "function" + }, + "node:stream/promises": { + "default": { + "finished": "function", + "pipeline": "function" + }, + "finished": "function", + "pipeline": "function" + }, + "node:stream/web": { + "ByteLengthQueuingStrategy": "function", + "CountQueuingStrategy": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "default": { + "ByteLengthQueuingStrategy": "function", + "CountQueuingStrategy": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function" + } + }, + "node:string_decoder": { + "StringDecoder": "function", + "default": { + "StringDecoder": "function" + } + }, + "node:timers": { + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "default": { + "clearInterval": "function", + "clearTimeout": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:timers/promises": { + "default": { + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:tls": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "function", + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createConnection": "function", + "createSecureContext": "function", + "createServer": "function", + "default": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "function", + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createConnection": "function", + "createSecureContext": "function", + "createServer": "function", + "getCiphers": "function", + "getCurves": "function", + "parseCertString": "function" + }, + "getCiphers": "function", + "getCurves": "function", + "parseCertString": "function" + }, + "node:trace_events": { + "createTracing": "function", + "default": { + "createTracing": "function", + "getEnabledCategories": "function" + }, + "getEnabledCategories": "function" + }, + "node:tty": { + "ReadStream": "function", + "WriteStream": "function", + "default": { + "ReadStream": "function", + "WriteStream": "function", + "isatty": "function" + }, + "isatty": "function" + }, + "node:url": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "default": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "node:util": { + "TextDecoder": "function", + "TextEncoder": "function", + "callbackify": "function", + "debuglog": "function", + "default": { + "TextDecoder": "function", + "TextEncoder": "function", + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "default": "object", + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": { + "black": "object", + "blue": "object", + "bold": "object", + "cyan": "object", + "green": "object", + "grey": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "red": "object", + "underline": "object", + "white": "object", + "yellow": "object" + }, + "styles": { + "boolean": "string", + "date": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:util/types": { + "default": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "node:v8": { + "DefaultDeserializer": "function", + "DefaultSerializer": "function", + "Deserializer": "function", + "GCProfiler": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "default": { + "Deserializer": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "node:vm": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "default": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "node:zlib": { + "Deflate": { + "super_": { + "super_": "function" + } + }, + "DeflateRaw": { + "super_": { + "super_": "function" + } + }, + "Gunzip": { + "super_": { + "super_": "function" + } + }, + "Gzip": { + "super_": { + "super_": "function" + } + }, + "Inflate": { + "super_": { + "super_": "function" + } + }, + "InflateRaw": { + "super_": { + "super_": "function" + } + }, + "Unzip": { + "super_": { + "super_": "function" + } + }, + "constants": { + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number" + }, + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "default": { + "Deflate": { + "super_": "function" + }, + "DeflateRaw": { + "super_": "function" + }, + "Gunzip": { + "super_": "function" + }, + "Gzip": { + "super_": "function" + }, + "Inflate": { + "super_": "function" + }, + "InflateRaw": { + "super_": "function" + }, + "Unzip": { + "super_": "function" + }, + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number", + "Zlib": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-5": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "undefined", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "undefined", + "undefined": "string" + }, + "constants": { + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number" + }, + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + }, + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + } + }, + "require": { + "buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "bun:events_native": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "captureRejectionSymbol": "symbol", + "defaultMaxListeners": "number", + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function" + }, + "bun:ffi": { + "CFunction": "function", + "CString": "function", + "FFIType": { + "0": "number", + "1": "number", + "2": "number", + "3": "number", + "4": "number", + "5": "number", + "6": "number", + "7": "number", + "8": "number", + "9": "number", + "10": "number", + "11": "number", + "12": "number", + "13": "number", + "14": "number", + "15": "number", + "16": "number", + "17": "number", + "bool": "number", + "c_int": "number", + "c_uint": "number", + "callback": "number", + "char*": "number", + "char": "number", + "cstring": "number", + "double": "number", + "f32": "number", + "f64": "number", + "float": "number", + "fn": "number", + "function": "number", + "i16": "number", + "i32": "number", + "i64": "number", + "i64_fast": "number", + "i8": "number", + "int": "number", + "int16_t": "number", + "int32_t": "number", + "int64_t": "number", + "int8_t": "number", + "isize": "number", + "pointer": "number", + "ptr": "number", + "u16": "number", + "u32": "number", + "u64": "number", + "u64_fast": "number", + "u8": "number", + "uint16_t": "number", + "uint32_t": "number", + "uint64_t": "number", + "uint8_t": "number", + "usize": "number", + "void*": "number", + "void": "number" + }, + "JSCallback": "function", + "dlopen": "function", + "linkSymbols": "function", + "native": { + "callback": "function", + "dlopen": "function" + }, + "ptr": "function", + "read": { + "f32": "function", + "f64": "function", + "i16": "function", + "i32": "function", + "i64": "function", + "i8": "function", + "intptr": "function", + "ptr": "function", + "u16": "function", + "u32": "function", + "u64": "function", + "u8": "function" + }, + "suffix": "string", + "toArrayBuffer": "function", + "toBuffer": "function", + "viewSource": "function" + }, + "bun:jsc": { + "callerSourceOrigin": "function", + "default": { + "callerSourceOrigin": "function", + "describe": "function", + "describeArray": "function", + "drainMicrotasks": "function", + "edenGC": "function", + "fullGC": "function", + "gcAndSweep": "function", + "generateHeapSnapshotForDebugging": "function", + "getProtectedObjects": "function", + "getRandomSeed": "function", + "heapSize": "function", + "heapStats": "function", + "isRope": "function", + "memoryUsage": "function", + "noFTL": "function", + "noInline": "function", + "noOSRExitFuzzing": "function", + "numberOfDFGCompiles": "function", + "optimizeNextInvocation": "function", + "profile": "function", + "releaseWeakRefs": "function", + "reoptimizationRetryCount": "function", + "samplingProfilerStackTraces": "function", + "setRandomSeed": "function", + "setTimeZone": "function", + "startRemoteDebugger": "function", + "startSamplingProfiler": "function", + "totalCompileTime": "function" + }, + "describe": "function", + "describeArray": "function", + "drainMicrotasks": "function", + "edenGC": "function", + "fullGC": "function", + "gcAndSweep": "function", + "generateHeapSnapshotForDebugging": "function", + "getProtectedObjects": "function", + "getRandomSeed": "function", + "heapSize": "function", + "heapStats": "function", + "isRope": "function", + "jscDescribe": "function", + "jscDescribeArray": "function", + "memoryUsage": "function", + "noFTL": "function", + "noInline": "function", + "noOSRExitFuzzing": "function", + "numberOfDFGCompiles": "function", + "optimizeNextInvocation": "function", + "profile": "function", + "releaseWeakRefs": "function", + "reoptimizationRetryCount": "function", + "samplingProfilerStackTraces": "function", + "setRandomSeed": "function", + "setTimeZone": "function", + "setTimezone": "function", + "startRemoteDebugger": "function", + "startSamplingProfiler": "function", + "totalCompileTime": "function" + }, + "bun:main": {}, + "bun:sqlite": { + "Database": { + "MAX_QUERY_CACHE_SIZE": "number" + }, + "Statement": "function", + "constants": { + "SQLITE_OPEN_AUTOPROXY": "number", + "SQLITE_OPEN_CREATE": "number", + "SQLITE_OPEN_DELETEONCLOSE": "number", + "SQLITE_OPEN_EXCLUSIVE": "number", + "SQLITE_OPEN_EXRESCODE": "number", + "SQLITE_OPEN_FULLMUTEX": "number", + "SQLITE_OPEN_MAIN_DB": "number", + "SQLITE_OPEN_MAIN_JOURNAL": "number", + "SQLITE_OPEN_MEMORY": "number", + "SQLITE_OPEN_NOFOLLOW": "number", + "SQLITE_OPEN_NOMUTEX": "number", + "SQLITE_OPEN_PRIVATECACHE": "number", + "SQLITE_OPEN_READONLY": "number", + "SQLITE_OPEN_READWRITE": "number", + "SQLITE_OPEN_SHAREDCACHE": "number", + "SQLITE_OPEN_SUBJOURNAL": "number", + "SQLITE_OPEN_SUPER_JOURNAL": "number", + "SQLITE_OPEN_TEMP_DB": "number", + "SQLITE_OPEN_TEMP_JOURNAL": "number", + "SQLITE_OPEN_TRANSIENT_DB": "number", + "SQLITE_OPEN_URI": "number", + "SQLITE_OPEN_WAL": "number", + "SQLITE_PREPARE_NORMALIZE": "number", + "SQLITE_PREPARE_NO_VTAB": "number", + "SQLITE_PREPARE_PERSISTENT": "number" + }, + "default": { + "MAX_QUERY_CACHE_SIZE": "number" + }, + "native": "undefined" + }, + "detect-libc": { + "GLIBC": "string", + "MUSL": "string", + "family": "function", + "familySync": "function", + "isNonGlibcLinux": "function", + "isNonGlibcLinuxSync": "function", + "version": "function", + "versionAsync": "function" + }, + "node:assert": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:assert/strict": { + "AssertionError": "function", + "CallTracker": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "undefined", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strictEqual": "function", + "throws": "function" + }, + "node:async_hooks": { + "AsyncLocalStorage": "function", + "AsyncResource": { + "allowedRunInAsyncScope": "object" + }, + "asyncWrapProviders": { + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FIXEDSIZEBLOBCOPY": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "node:buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "node:child_process": { + "ChildProcess": "function", + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "node:cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "schedulingPolicy": "number", + "settings": "object", + "workers": "object" + }, + "node:crypto": { + "Cipher": "function", + "Cipheriv": "function", + "DEFAULT_ENCODING": "string", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "Hash": "function", + "Hmac": "function", + "Sign": "function", + "Verify": "function", + "constants": { + "ALPN_ENABLED": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "NPN_ENABLED": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number" + }, + "createCipher": "function", + "createCipheriv": "function", + "createCredentials": "function", + "createDecipher": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": { + "Hash": "function", + "createHash": { + "Hash": "function", + "createHash": "function" + } + }, + "createHmac": "function", + "createSign": "function", + "createVerify": "function", + "getCiphers": "function", + "getDiffieHellman": "function", + "getHashes": "function", + "getRandomValues": "function", + "listCiphers": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "prng": "function", + "pseudoRandomBytes": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "rng": "function", + "scrypt": "function", + "scryptSync": "function", + "subtle": "object", + "timingSafeEqual": "function", + "webcrypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + } + }, + "node:dgram": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function" + }, + "node:diagnostics_channel": { + "Channel": "function", + "channel": "function", + "hasSubscribers": "function", + "subscribe": "function", + "unsubscribe": "function" + }, + "node:dns": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "lookup": "function", + "lookupService": "function", + "promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:dns/promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "undefined", + "setServers": "undefined" + }, + "node:events": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "node:fs": { + "Dirent": "function", + "FSWatcher": "function", + "ReadStream": "function", + "Stats": "function", + "WriteStream": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": { + "native": "function" + } + }, + "realpathSync": { + "native": { + "native": "function" + } + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "node:fs/promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "node:http": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "node:http2": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "node:https": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "node:inspector": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": { + "console": "object" + }, + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:module": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": { + "exports": "object" + }, + "bun:events_native": { + "exports": "function" + }, + "bun:ffi": { + "exports": "object" + }, + "bun:jsc": { + "exports": "object" + }, + "bun:main": { + "exports": "object" + }, + "bun:sqlite": { + "exports": "object" + }, + "detect-libc": { + "exports": "object" + }, + "node:assert": { + "exports": "function" + }, + "node:assert/strict": { + "exports": "object" + }, + "node:async_hooks": { + "exports": "object" + }, + "node:buffer": { + "exports": "object" + }, + "node:child_process": { + "exports": "object" + }, + "node:cluster": { + "exports": "object" + }, + "node:crypto": { + "exports": "object" + }, + "node:dgram": { + "exports": "object" + }, + "node:diagnostics_channel": { + "exports": "object" + }, + "node:dns": { + "exports": "object" + }, + "node:dns/promises": { + "exports": "object" + }, + "node:events": { + "exports": "function" + }, + "node:fs": { + "exports": "object" + }, + "node:fs/promises": { + "exports": "object" + }, + "node:http": { + "exports": "object" + }, + "node:http2": { + "exports": "object" + }, + "node:https": { + "exports": "object" + }, + "node:inspector": { + "exports": "object" + }, + "node:module": { + "exports": "object" + }, + "node:os": { + "exports": "object" + }, + "node:process": { + "exports": "object" + }, + "node:stream": { + "exports": "function" + }, + "node:string_decoder": { + "exports": "object" + }, + "node:util": { + "exports": "object" + }, + "node:util/types": { + "exports": "object" + } + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "default": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": "object", + "bun:events_native": "object", + "bun:ffi": "object", + "bun:jsc": "object", + "bun:main": "object", + "bun:sqlite": "object", + "detect-libc": "object", + "node:assert": "object", + "node:assert/strict": "object", + "node:async_hooks": "object", + "node:buffer": "object", + "node:child_process": "object", + "node:cluster": "object", + "node:crypto": "object", + "node:dgram": "object", + "node:diagnostics_channel": "object", + "node:dns": "object", + "node:dns/promises": "object", + "node:events": "object", + "node:fs": "object", + "node:fs/promises": "object", + "node:http": "object", + "node:http2": "object", + "node:https": "object", + "node:inspector": "object", + "node:module": "object", + "node:os": "object", + "node:process": "object", + "node:stream": "object", + "node:string_decoder": "object", + "node:util": "object", + "node:util/types": "object" + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "node:net": { + "Server": "function", + "Socket": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function" + }, + "node:os": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": { + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number" + }, + "errno": { + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EXDEV": "number" + }, + "priority": { + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number" + }, + "signals": { + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPOLL": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number" + } + }, + "cpus": "function", + "default": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": "object", + "errno": "object", + "priority": "object", + "signals": "object" + }, + "cpus": "function", + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "node:path": { + "__esModule": "boolean", + "basename": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "node:path/posix": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:path/win32": { + "basename": "function", + "default": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:perf_hooks": { + "PerformanceEntry": "function", + "PerformanceNodeTiming": "function", + "performance": { + "now": "function", + "timeOrigin": "number" + } + }, + "node:process": { + "abort": "function", + "addListener": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string", + "2": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": { + "v8_enable_i8n_support": "number" + } + }, + "cwd": "function", + "default": { + "abort": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string", + "2": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": "object" + }, + "cwd": "function", + "dlopen": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "nextTick": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "revision": "string", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": "object", + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "dlopen": "function", + "emit": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "eventNames": "function", + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "getMaxListeners": "function", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "listenerCount": "function", + "listeners": "function", + "nextTick": "function", + "off": "function", + "on": "function", + "once": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "prepend": "function", + "prependOnce": "function", + "rawListeners": "function", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "removeAllListeners": "function", + "removeListener": "function", + "revision": "string", + "setMaxListeners": "function", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "node:readline": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:readline/promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + }, + "node:repl": { + "_domain": "undefined", + "_initialPrompt": "string", + "allowBlockingCompletions": "boolean", + "breakEvalOnSigint": "boolean", + "completer": "function", + "context": { + "AbortController": "function", + "AbortSignal": { + "abort": "function", + "timeout": "function", + "whenSignalAborted": "function" + }, + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "BuildError": "function", + "BuildMessage": "function", + "Bun": { + "ArrayBufferSink": "function", + "concatArrayBuffers": "function", + "deepEquals": "function", + "deepMatch": "function", + "dns": "object", + "env": "object", + "escapeHTML": "function", + "fetch": "function", + "fileURLToPath": "function", + "nanoseconds": "function", + "password": "object", + "pathToFileURL": "function", + "peek": "function", + "plugin": "function", + "readableStreamToArray": "function", + "readableStreamToArrayBuffer": "function", + "readableStreamToBlob": "function", + "readableStreamToJSON": "function", + "readableStreamToText": "function", + "revision": "string", + "sleep": "function", + "stringHashCode": "function", + "version": "string" + }, + "ByteLengthQueuingStrategy": "function", + "CloseEvent": "function", + "CountQueuingStrategy": "function", + "Crypto": "function", + "CryptoKey": "function", + "CustomEvent": "function", + "DOMException": { + "ABORT_ERR": "number", + "DATA_CLONE_ERR": "number", + "DOMSTRING_SIZE_ERR": "number", + "HIERARCHY_REQUEST_ERR": "number", + "INDEX_SIZE_ERR": "number", + "INUSE_ATTRIBUTE_ERR": "number", + "INVALID_ACCESS_ERR": "number", + "INVALID_CHARACTER_ERR": "number", + "INVALID_MODIFICATION_ERR": "number", + "INVALID_NODE_TYPE_ERR": "number", + "INVALID_STATE_ERR": "number", + "NAMESPACE_ERR": "number", + "NETWORK_ERR": "number", + "NOT_FOUND_ERR": "number", + "NOT_SUPPORTED_ERR": "number", + "NO_DATA_ALLOWED_ERR": "number", + "NO_MODIFICATION_ALLOWED_ERR": "number", + "QUOTA_EXCEEDED_ERR": "number", + "SECURITY_ERR": "number", + "SYNTAX_ERR": "number", + "TIMEOUT_ERR": "number", + "TYPE_MISMATCH_ERR": "number", + "URL_MISMATCH_ERR": "number", + "VALIDATION_ERR": "number", + "WRONG_DOCUMENT_ERR": "number" + }, + "ErrorEvent": "function", + "Event": { + "AT_TARGET": "number", + "BUBBLING_PHASE": "number", + "CAPTURING_PHASE": "number", + "NONE": "number" + }, + "EventSource": "function", + "EventTarget": "function", + "FormData": "function", + "HTMLRewriter": "object", + "Headers": "function", + "MessageEvent": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "Request": "function", + "ResolveError": "function", + "ResolveMessage": "function", + "Response": { + "error": "function", + "json": "function", + "redirect": "function" + }, + "SubtleCrypto": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "WebSocket": { + "CLOSED": "number", + "CLOSING": "number", + "CONNECTING": "number", + "OPEN": "number" + }, + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "__IDS_TO_TRACK": "object", + "addEventListener": "function", + "alert": "function", + "atob": "function", + "btoa": "function", + "bunJSX": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "confirm": "function", + "crypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + }, + "fetch": "function", + "navigator": { + "hardwareConcurrency": "number", + "userAgent": "string" + }, + "performance": { + "now": "function", + "timeOrigin": "number" + }, + "process": { + "abort": "function", + "arch": "string", + "argv": "object", + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": "object", + "cwd": "function", + "dlopen": "function", + "emitWarning": "function", + "env": "object", + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "hrtime": "function", + "isBun": "number", + "nextTick": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "release": "object", + "revision": "string", + "stderr": "object", + "stdin": "object", + "stdout": "object", + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": "object" + }, + "prompt": "function", + "queueMicrotask": "function", + "reportError": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "crlfDelay": "number", + "cursor": "number", + "escapeCodeTimeout": "number", + "eval": "function", + "history": "object", + "historyIndex": "number", + "historySize": "number", + "input": "object", + "isCompletionEnabled": "boolean", + "last": "undefined", + "line": "string", + "lines": "object", + "output": "object", + "removeHistoryDuplicates": "boolean", + "tabSize": "number", + "terminal": "boolean", + "underscoreAssigned": "boolean", + "useColors": "boolean", + "useGlobal": "boolean" + }, + "node:stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "node:stream/consumers": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "json": "function", + "text": "function" + }, + "node:stream/promises": { + "finished": "function", + "pipeline": "function" + }, + "node:stream/web": { + "ByteLengthQueuingStrategy": "function", + "CountQueuingStrategy": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function" + }, + "node:string_decoder": { + "StringDecoder": "function", + "default": { + "StringDecoder": "function" + } + }, + "node:timers": { + "clearInterval": "function", + "clearTimeout": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:timers/promises": { + "default": { + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:tls": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "function", + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createConnection": "function", + "createSecureContext": "function", + "createServer": "function", + "getCiphers": "function", + "getCurves": "function", + "parseCertString": "function" + }, + "node:trace_events": { + "createTracing": "function", + "getEnabledCategories": "function" + }, + "node:tty": { + "ReadStream": "function", + "WriteStream": "function", + "isatty": "function" + }, + "node:url": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "default": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "node:util": { + "TextDecoder": "function", + "TextEncoder": "function", + "callbackify": "function", + "debuglog": "function", + "default": { + "TextDecoder": "function", + "TextEncoder": "function", + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "default": "object", + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": { + "black": "object", + "blue": "object", + "bold": "object", + "cyan": "object", + "green": "object", + "grey": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "red": "object", + "underline": "object", + "white": "object", + "yellow": "object" + }, + "styles": { + "boolean": "string", + "date": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:util/types": { + "default": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "node:v8": { + "Deserializer": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "node:vm": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "node:zlib": { + "Deflate": { + "super_": { + "super_": "function" + } + }, + "DeflateRaw": { + "super_": { + "super_": "function" + } + }, + "Gunzip": { + "super_": { + "super_": "function" + } + }, + "Gzip": { + "super_": { + "super_": "function" + } + }, + "Inflate": { + "super_": { + "super_": "function" + } + }, + "InflateRaw": { + "super_": { + "super_": "function" + } + }, + "Unzip": { + "super_": { + "super_": "function" + } + }, + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number", + "Zlib": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-5": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "undefined", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "undefined", + "undefined": "string" + }, + "constants": { + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number" + }, + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + } + }, + "runtime": "bun", + "version": "0.6.11", + "errors": { + "node:wasi": { + "name": "ReferenceError", + "message": "Can't find variable: constants" + } + } +}
\ No newline at end of file diff --git a/test/exports/generate-exports.mjs b/test/exports/generate-exports.mjs new file mode 100644 index 000000000..04565ac15 --- /dev/null +++ b/test/exports/generate-exports.mjs @@ -0,0 +1,211 @@ +// This generates a list of all the shapes of all builtin modules and their typeof values. +// +// To run: +// +// bun generate-exports.mjs > node-exports.bun-${version}.json +// bun generate-exports.mjs bun > bun-exports.bun-${version}.json +// node generate-exports.mjs > node-exports.node-$(node --version).json +// +import { createRequire } from "node:module"; +import process from "node:process"; + +const nodeBuiltins = [ + "_http_agent", + "_http_client", + "_http_common", + "_http_incoming", + "_http_outgoing", + "_http_server", + "_stream_duplex", + "_stream_passthrough", + "_stream_readable", + "_stream_transform", + "_stream_wrap", + "_stream_writable", + "_tls_common", + "_tls_wrap", + "assert", + "assert/strict", + "async_hooks", + "buffer", + "child_process", + "cluster", + "console", + "constants", + "crypto", + "dgram", + "diagnostics_channel", + "dns", + "dns/promises", + "domain", + "events", + "fs", + "fs/promises", + "http", + "http2", + "https", + "inspector", + "inspector/promises", + "module", + "net", + "os", + "path", + "path/posix", + "path/win32", + "perf_hooks", + "process", + "punycode", + "querystring", + "readline", + "readline/promises", + "repl", + "stream", + "stream/consumers", + "stream/promises", + "stream/web", + "string_decoder", + "sys", + "test/reporters", + "timers", + "timers/promises", + "tls", + "trace_events", + "tty", + "url", + "util", + "util/types", + "v8", + "vm", + "wasi", + "worker_threads", + "zlib", +] + .map(a => "node:" + a) + .sort(); + +const bunBuiltins = [ + "buffer", + "bun:ffi", + "bun:jsc", + "bun:main", + "bun:sqlite", + "bun:events_native", + "detect-libc", + "node:assert", + "node:assert/strict", + "node:async_hooks", + "node:buffer", + "node:child_process", + "node:cluster", + "node:crypto", + "node:dgram", + "node:diagnostics_channel", + "node:dns", + "node:dns/promises", + "node:events", + "node:fs", + "node:fs/promises", + "node:http", + "node:http2", + "node:https", + "node:inspector", + "node:module", + "node:net", + "node:os", + "node:path", + "node:path/posix", + "node:path/win32", + "node:perf_hooks", + "node:process", + "node:readline", + "node:readline/promises", + "node:repl", + "node:stream", + "node:stream/consumers", + "node:stream/promises", + "node:stream/web", + "node:string_decoder", + "node:timers", + "node:timers/promises", + "node:tls", + "node:trace_events", + "node:tty", + "node:url", + "node:util", + "node:util/types", + "node:v8", + "node:vm", + "node:wasi", + "node:zlib", +].sort(); + +const require = createRequire(import.meta.url); + +const imported = {}; +const required = {}; +const errors = {}; + +function resolveNested([key, v], stop) { + let nested; + if ((v && typeof v === "object") || typeof v === "function") { + const entries = Object.fromEntries( + Object.entries(v) + .map(([ak, av]) => { + var display = typeof av; + + if (av && (typeof av === "function" || typeof av === "object")) { + const list = Object.fromEntries( + Object.entries(av) + .map(([ak2, av2]) => [ak2, typeof av2]) + .sort(), + ); + + for (let key in list) { + display = list; + break; + } + } + + return [ak, display]; + }) + .sort(), + ); + + for (let key in entries) { + nested = entries; + break; + } + } + + return [key, nested || typeof v]; +} + +async function processBuiltins(builtins) { + for (const builtin of builtins) { + try { + imported[builtin] = Object.fromEntries( + Object.entries(await import(builtin)) + .map(resolveNested) + .sort(), + ); + required[builtin] = Object.fromEntries(Object.entries(require(builtin)).map(resolveNested).sort()); + } catch ({ name, message }) { + errors[builtin] = { name, message }; + } + } +} + +process.stdout.write( + JSON.stringify( + { + builtins: await processBuiltins(process.argv.at(-1) === "bun" ? bunBuiltins : nodeBuiltins), + import: imported, + require: required, + runtime: typeof Bun !== "undefined" ? "bun" : "node", + version: typeof Bun !== "undefined" ? Bun.version : process.version, + errors, + }, + null, + 2, + ), +); diff --git a/test/exports/node-exports.bun-v0.6.11.json b/test/exports/node-exports.bun-v0.6.11.json new file mode 100644 index 000000000..91422fa97 --- /dev/null +++ b/test/exports/node-exports.bun-v0.6.11.json @@ -0,0 +1,8559 @@ +{ + "import": { + "node:assert": { + "AssertionError": "function", + "assert": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "default": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:assert/strict": { + "AssertionError": "function", + "CallTracker": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "default": { + "AssertionError": "function", + "CallTracker": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "undefined", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strictEqual": "function", + "throws": "function" + }, + "doesNotMatch": "undefined", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:async_hooks": { + "AsyncLocalStorage": "function", + "AsyncResource": { + "allowedRunInAsyncScope": "object" + }, + "asyncWrapProviders": { + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FIXEDSIZEBLOBCOPY": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "default": { + "AsyncLocalStorage": "function", + "AsyncResource": { + "allowedRunInAsyncScope": "object" + }, + "asyncWrapProviders": { + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FIXEDSIZEBLOBCOPY": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "node:buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "default": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "node:child_process": { + "ChildProcess": "function", + "default": { + "ChildProcess": "function", + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "node:cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "Worker": "function", + "cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "schedulingPolicy": "number", + "settings": "object", + "workers": "object" + }, + "default": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "schedulingPolicy": "number", + "settings": "object", + "workers": "object" + }, + "isMaster": "boolean", + "isPrimary": "boolean", + "isWorker": "boolean", + "schedulingPolicy": "number" + }, + "node:console": { + "default": { + "assert": "function", + "clear": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + } + }, + "node:constants": {}, + "node:crypto": { + "Cipher": "function", + "Cipheriv": "function", + "DEFAULT_ENCODING": "string", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "Hash": "function", + "Hmac": "function", + "Sign": "function", + "Verify": "function", + "constants": { + "ALPN_ENABLED": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "NPN_ENABLED": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number" + }, + "createCipher": "function", + "createCipheriv": "function", + "createCredentials": "function", + "createDecipher": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": { + "Hash": "function", + "createHash": { + "Hash": "function", + "createHash": "function" + } + }, + "createHmac": "function", + "createSign": "function", + "createVerify": "function", + "default": { + "Cipher": "function", + "Cipheriv": "function", + "DEFAULT_ENCODING": "string", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "Hash": "function", + "Hmac": "function", + "Sign": "function", + "Verify": "function", + "constants": { + "ALPN_ENABLED": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "NPN_ENABLED": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number" + }, + "createCipher": "function", + "createCipheriv": "function", + "createCredentials": "function", + "createDecipher": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": { + "Hash": "function", + "createHash": "function" + }, + "createHmac": "function", + "createSign": "function", + "createVerify": "function", + "getCiphers": "function", + "getDiffieHellman": "function", + "getHashes": "function", + "getRandomValues": "function", + "listCiphers": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "prng": "function", + "pseudoRandomBytes": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "rng": "function", + "scrypt": "function", + "scryptSync": "function", + "subtle": "object", + "timingSafeEqual": "function", + "webcrypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + } + }, + "getCiphers": "function", + "getDiffieHellman": "function", + "getHashes": "function", + "getRandomValues": "function", + "listCiphers": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "prng": "function", + "pseudoRandomBytes": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomUUID": "function", + "rng": "function", + "scrypt": "function", + "scryptSync": "function", + "timingSafeEqual": "function", + "webcrypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + } + }, + "node:dgram": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function", + "default": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function" + } + }, + "node:diagnostics_channel": { + "Channel": "function", + "channel": "function", + "default": { + "Channel": "function", + "channel": "function", + "hasSubscribers": "function", + "subscribe": "function", + "unsubscribe": "function" + }, + "hasSubscribers": "function", + "subscribe": "function", + "unsubscribe": "function" + }, + "node:dns": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "default": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "lookup": "function", + "lookupService": "function", + "promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "lookup": "function", + "lookupService": "function", + "promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:dns/promises": { + "Resolver": "function", + "default": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "undefined", + "setServers": "undefined" + }, + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "undefined", + "setServers": "undefined" + }, + "node:domain": { + "create": "function", + "createDomain": "function", + "default": { + "create": "function", + "createDomain": "function" + } + }, + "node:events": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "captureRejectionSymbol": "symbol", + "default": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "getEventListeners": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "node:fs": { + "Dirent": "function", + "ReadStream": "function", + "Stats": "function", + "WriteStream": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "default": { + "Dirent": "function", + "FSWatcher": "function", + "ReadStream": "function", + "Stats": "function", + "WriteStream": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": "object", + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": "function" + }, + "realpathSync": { + "native": "function" + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": { + "native": "function" + } + }, + "realpathSync": { + "native": { + "native": "function" + } + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "node:fs/promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "default": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "node:http": { + "Agent": "function", + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "default": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "request": "function" + }, + "node:http2": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "default": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "node:https": { + "Agent": "function", + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "default": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "request": "function" + }, + "node:inspector": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": { + "console": "object" + }, + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "default": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "object", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:inspector/promises": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": { + "console": "object" + }, + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "default": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "object", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:module": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": { + "exports": "object" + }, + "/bun-vfs/node_modules/console/index.js": { + "exports": "object" + }, + "/bun-vfs/node_modules/constants/index.js": { + "exports": "object" + }, + "/bun-vfs/node_modules/domain/index.js": { + "exports": "object" + }, + "bun:events_native": { + "exports": "object" + }, + "bun:jsc": { + "exports": "object" + }, + "bun:main": { + "exports": "object" + }, + "node:assert": { + "exports": "function" + }, + "node:assert/strict": { + "exports": "object" + }, + "node:async_hooks": { + "exports": "object" + }, + "node:buffer": { + "exports": "object" + }, + "node:child_process": { + "exports": "object" + }, + "node:cluster": { + "exports": "object" + }, + "node:crypto": { + "exports": "object" + }, + "node:dgram": { + "exports": "object" + }, + "node:diagnostics_channel": { + "exports": "object" + }, + "node:dns": { + "exports": "object" + }, + "node:dns/promises": { + "exports": "object" + }, + "node:events": { + "exports": "function" + }, + "node:fs": { + "exports": "object" + }, + "node:fs/promises": { + "exports": "object" + }, + "node:http": { + "exports": "object" + }, + "node:http2": { + "exports": "object" + }, + "node:https": { + "exports": "object" + }, + "node:inspector": { + "exports": "object" + }, + "node:module": { + "exports": "object" + }, + "node:os": { + "exports": "object" + }, + "node:process": { + "exports": "object" + }, + "node:stream": { + "exports": "function" + }, + "node:string_decoder": { + "exports": "object" + }, + "node:util": { + "exports": "object" + }, + "node:util/types": { + "exports": "object" + } + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "default": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": "object", + "/bun-vfs/node_modules/console/index.js": "object", + "/bun-vfs/node_modules/constants/index.js": "object", + "/bun-vfs/node_modules/domain/index.js": "object", + "bun:events_native": "object", + "bun:jsc": "object", + "bun:main": "object", + "node:assert": "object", + "node:assert/strict": "object", + "node:async_hooks": "object", + "node:buffer": "object", + "node:child_process": "object", + "node:cluster": "object", + "node:crypto": "object", + "node:dgram": "object", + "node:diagnostics_channel": "object", + "node:dns": "object", + "node:dns/promises": "object", + "node:events": "object", + "node:fs": "object", + "node:fs/promises": "object", + "node:http": "object", + "node:http2": "object", + "node:https": "object", + "node:inspector": "object", + "node:module": "object", + "node:os": "object", + "node:process": "object", + "node:stream": "object", + "node:string_decoder": "object", + "node:util": "object", + "node:util/types": "object" + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "node:net": { + "Server": "function", + "Socket": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "default": { + "Server": "function", + "Socket": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function" + }, + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function" + }, + "node:os": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": { + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number" + }, + "errno": { + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EXDEV": "number" + }, + "priority": { + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number" + }, + "signals": { + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPOLL": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number" + } + }, + "cpus": "function", + "default": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": "object", + "errno": "object", + "priority": "object", + "signals": "object" + }, + "cpus": "function", + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "node:path": { + "__esModule": "undefined", + "basename": "function", + "createModule": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "node:path/posix": { + "basename": "function", + "default": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:path/win32": { + "basename": "function", + "default": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:perf_hooks": { + "PerformanceEntry": "function", + "PerformanceNodeTiming": "function", + "PerformanceObserver": "function", + "default": { + "PerformanceEntry": "function", + "PerformanceNodeTiming": "function", + "performance": { + "now": "function", + "timeOrigin": "number" + } + }, + "performance": { + "now": "function", + "timeOrigin": "number" + } + }, + "node:process": { + "abort": "function", + "addListener": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": { + "v8_enable_i8n_support": "number" + } + }, + "cwd": "function", + "default": { + "abort": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": "object" + }, + "cwd": "function", + "dlopen": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "nextTick": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "revision": "string", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": "object", + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "dlopen": "function", + "emit": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "eventNames": "function", + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "getMaxListeners": "function", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "listenerCount": "function", + "listeners": "function", + "nextTick": "function", + "off": "function", + "on": "function", + "once": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "prepend": "function", + "prependOnce": "function", + "rawListeners": "function", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "removeAllListeners": "function", + "removeListener": "function", + "revision": "string", + "setMaxListeners": "function", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "node:punycode": { + "decode": "function", + "encode": "function", + "toASCII": "function", + "toUnicode": "function", + "ucs2decode": "function", + "ucs2encode": "function" + }, + "node:querystring": { + "decode": "function", + "default": { + "decode": "function", + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "node:readline": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "default": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:readline/promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function", + "default": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:repl": { + "REPLServer": "function", + "REPL_MODE_SLOPPY": "number", + "REPL_MODE_STRICT": "number", + "Recoverable": "function", + "default": { + "_domain": "undefined", + "_initialPrompt": "string", + "allowBlockingCompletions": "boolean", + "breakEvalOnSigint": "boolean", + "completer": "function", + "context": { + "AbortController": "function", + "AbortSignal": "function", + "Blob": "function", + "Buffer": "function", + "BuildError": "function", + "BuildMessage": "function", + "Bun": "function", + "ByteLengthQueuingStrategy": "function", + "CloseEvent": "function", + "CountQueuingStrategy": "function", + "Crypto": "function", + "CryptoKey": "function", + "CustomEvent": "function", + "DOMException": "function", + "ErrorEvent": "function", + "Event": "function", + "EventSource": "function", + "EventTarget": "function", + "FormData": "function", + "HTMLRewriter": "object", + "Headers": "function", + "MessageEvent": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "Request": "function", + "ResolveError": "function", + "ResolveMessage": "function", + "Response": "function", + "SubtleCrypto": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "URL": "function", + "URLSearchParams": "function", + "WebSocket": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "__IDS_TO_TRACK": "object", + "addEventListener": "function", + "alert": "function", + "atob": "function", + "btoa": "function", + "bunJSX": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "confirm": "function", + "crypto": "function", + "fetch": "function", + "navigator": "object", + "performance": "object", + "process": "object", + "prompt": "function", + "queueMicrotask": "function", + "reportError": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "crlfDelay": "number", + "cursor": "number", + "escapeCodeTimeout": "number", + "eval": "function", + "history": "object", + "historyIndex": "number", + "historySize": "number", + "input": "object", + "isCompletionEnabled": "boolean", + "last": "undefined", + "line": "string", + "lines": "object", + "output": "object", + "removeHistoryDuplicates": "boolean", + "tabSize": "number", + "terminal": "boolean", + "underscoreAssigned": "boolean", + "useColors": "boolean", + "useGlobal": "boolean" + }, + "repl": { + "_domain": "undefined", + "_initialPrompt": "string", + "allowBlockingCompletions": "boolean", + "breakEvalOnSigint": "boolean", + "completer": "function", + "context": { + "AbortController": "function", + "AbortSignal": "function", + "Blob": "function", + "Buffer": "function", + "BuildError": "function", + "BuildMessage": "function", + "Bun": "function", + "ByteLengthQueuingStrategy": "function", + "CloseEvent": "function", + "CountQueuingStrategy": "function", + "Crypto": "function", + "CryptoKey": "function", + "CustomEvent": "function", + "DOMException": "function", + "ErrorEvent": "function", + "Event": "function", + "EventSource": "function", + "EventTarget": "function", + "FormData": "function", + "HTMLRewriter": "object", + "Headers": "function", + "MessageEvent": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "Request": "function", + "ResolveError": "function", + "ResolveMessage": "function", + "Response": "function", + "SubtleCrypto": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "URL": "function", + "URLSearchParams": "function", + "WebSocket": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "__IDS_TO_TRACK": "object", + "addEventListener": "function", + "alert": "function", + "atob": "function", + "btoa": "function", + "bunJSX": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "confirm": "function", + "crypto": "function", + "fetch": "function", + "navigator": "object", + "performance": "object", + "process": "object", + "prompt": "function", + "queueMicrotask": "function", + "reportError": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "crlfDelay": "number", + "cursor": "number", + "escapeCodeTimeout": "number", + "eval": "function", + "history": "object", + "historyIndex": "number", + "historySize": "number", + "input": "object", + "isCompletionEnabled": "boolean", + "last": "undefined", + "line": "string", + "lines": "object", + "output": "object", + "removeHistoryDuplicates": "boolean", + "tabSize": "number", + "terminal": "boolean", + "underscoreAssigned": "boolean", + "useColors": "boolean", + "useGlobal": "boolean" + }, + "start": "function" + }, + "node:stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "node:stream/consumers": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "default": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "json": "function", + "text": "function" + }, + "json": "function", + "text": "function" + }, + "node:stream/promises": { + "default": { + "finished": "function", + "pipeline": "function" + }, + "finished": "function", + "pipeline": "function" + }, + "node:stream/web": { + "ByteLengthQueuingStrategy": "function", + "CountQueuingStrategy": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "default": { + "ByteLengthQueuingStrategy": "function", + "CountQueuingStrategy": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function" + } + }, + "node:string_decoder": { + "StringDecoder": "function", + "default": { + "StringDecoder": "function" + } + }, + "node:sys": { + "default": { + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "default": { + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": "function", + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": "function", + "types": "object" + }, + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isDataView": "function", + "isDate": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isMap": "function", + "isMapIterator": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function", + "isWebAssemblyCompiledModule": "function" + } + } + }, + "node:timers": { + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "default": { + "clearInterval": "function", + "clearTimeout": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:timers/promises": { + "default": { + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:tls": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "function", + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createConnection": "function", + "createSecureContext": "function", + "createServer": "function", + "default": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "function", + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createConnection": "function", + "createSecureContext": "function", + "createServer": "function", + "getCiphers": "function", + "getCurves": "function", + "parseCertString": "function" + }, + "getCiphers": "function", + "getCurves": "function", + "parseCertString": "function" + }, + "node:trace_events": { + "createTracing": "function", + "default": { + "createTracing": "function", + "getEnabledCategories": "function" + }, + "getEnabledCategories": "function" + }, + "node:tty": { + "ReadStream": "function", + "WriteStream": "function", + "default": { + "ReadStream": "function", + "WriteStream": "function", + "isatty": "function" + }, + "isatty": "function" + }, + "node:url": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "default": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "node:util": { + "TextDecoder": "function", + "TextEncoder": "function", + "callbackify": "function", + "debuglog": "function", + "default": { + "TextDecoder": "function", + "TextEncoder": "function", + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "default": "object", + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": { + "black": "object", + "blue": "object", + "bold": "object", + "cyan": "object", + "green": "object", + "grey": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "red": "object", + "underline": "object", + "white": "object", + "yellow": "object" + }, + "styles": { + "boolean": "string", + "date": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:util/types": { + "default": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "node:v8": { + "DefaultDeserializer": "function", + "DefaultSerializer": "function", + "Deserializer": "function", + "GCProfiler": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "default": { + "Deserializer": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "node:vm": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "default": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "node:worker_threads": { + "default": "undefined" + }, + "node:zlib": { + "Deflate": { + "super_": { + "super_": "function" + } + }, + "DeflateRaw": { + "super_": { + "super_": "function" + } + }, + "Gunzip": { + "super_": { + "super_": "function" + } + }, + "Gzip": { + "super_": { + "super_": "function" + } + }, + "Inflate": { + "super_": { + "super_": "function" + } + }, + "InflateRaw": { + "super_": { + "super_": "function" + } + }, + "Unzip": { + "super_": { + "super_": "function" + } + }, + "constants": { + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number" + }, + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "default": { + "Deflate": { + "super_": "function" + }, + "DeflateRaw": { + "super_": "function" + }, + "Gunzip": { + "super_": "function" + }, + "Gzip": { + "super_": "function" + }, + "Inflate": { + "super_": "function" + }, + "InflateRaw": { + "super_": "function" + }, + "Unzip": { + "super_": "function" + }, + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number", + "Zlib": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-5": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "undefined", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "undefined", + "undefined": "string" + }, + "constants": { + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number" + }, + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + }, + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + } + }, + "require": { + "node:assert": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:assert/strict": { + "AssertionError": "function", + "CallTracker": "undefined", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "undefined", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strictEqual": "function", + "throws": "function" + }, + "node:async_hooks": { + "AsyncLocalStorage": "function", + "AsyncResource": { + "allowedRunInAsyncScope": "object" + }, + "asyncWrapProviders": { + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FIXEDSIZEBLOBCOPY": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "node:buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "undefined", + "transcode": "undefined" + }, + "node:child_process": { + "ChildProcess": "function", + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "node:cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "schedulingPolicy": "number", + "settings": "object", + "workers": "object" + }, + "node:console": { + "default": { + "assert": "function", + "clear": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + } + }, + "node:constants": {}, + "node:crypto": { + "Cipher": "function", + "Cipheriv": "function", + "DEFAULT_ENCODING": "string", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "Hash": "function", + "Hmac": "function", + "Sign": "function", + "Verify": "function", + "constants": { + "ALPN_ENABLED": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "NPN_ENABLED": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number" + }, + "createCipher": "function", + "createCipheriv": "function", + "createCredentials": "function", + "createDecipher": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": { + "Hash": "function", + "createHash": { + "Hash": "function", + "createHash": "function" + } + }, + "createHmac": "function", + "createSign": "function", + "createVerify": "function", + "getCiphers": "function", + "getDiffieHellman": "function", + "getHashes": "function", + "getRandomValues": "function", + "listCiphers": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "prng": "function", + "pseudoRandomBytes": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "rng": "function", + "scrypt": "function", + "scryptSync": "function", + "subtle": "object", + "timingSafeEqual": "function", + "webcrypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + } + }, + "node:dgram": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function" + }, + "node:diagnostics_channel": { + "Channel": "function", + "channel": "function", + "hasSubscribers": "function", + "subscribe": "function", + "unsubscribe": "function" + }, + "node:dns": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "lookup": "function", + "lookupService": "function", + "promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:dns/promises": { + "Resolver": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "undefined", + "setServers": "undefined" + }, + "node:domain": { + "create": "function", + "createDomain": "function", + "default": { + "create": "function", + "createDomain": "function" + } + }, + "node:events": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "node:fs": { + "Dirent": "function", + "FSWatcher": "function", + "ReadStream": "function", + "Stats": "function", + "WriteStream": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": { + "native": "function" + } + }, + "realpathSync": { + "native": { + "native": "function" + } + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "node:fs/promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "close": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOATIME": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_FS_O_FILEMAP": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "exists": "function", + "fchmod": "function", + "fchown": "function", + "fstat": "function", + "fsync": "function", + "ftruncate": "function", + "futimes": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "read": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "readv": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "write": "function", + "writeFile": "function", + "writev": "function" + }, + "node:http": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "node:http2": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "node:https": { + "Agent": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function" + }, + "node:inspector": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": { + "console": "object" + }, + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:inspector/promises": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": { + "console": "object" + }, + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "record": "function", + "recordEnd": "function", + "screenshot": "function", + "table": "function", + "takeHeapSnapshot": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function", + "write": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:module": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": { + "exports": "object" + }, + "/bun-vfs/node_modules/console/index.js": { + "exports": "object" + }, + "/bun-vfs/node_modules/constants/index.js": { + "exports": "object" + }, + "/bun-vfs/node_modules/domain/index.js": { + "exports": "object" + }, + "bun:events_native": { + "exports": "object" + }, + "bun:jsc": { + "exports": "object" + }, + "bun:main": { + "exports": "object" + }, + "node:assert": { + "exports": "function" + }, + "node:assert/strict": { + "exports": "object" + }, + "node:async_hooks": { + "exports": "object" + }, + "node:buffer": { + "exports": "object" + }, + "node:child_process": { + "exports": "object" + }, + "node:cluster": { + "exports": "object" + }, + "node:crypto": { + "exports": "object" + }, + "node:dgram": { + "exports": "object" + }, + "node:diagnostics_channel": { + "exports": "object" + }, + "node:dns": { + "exports": "object" + }, + "node:dns/promises": { + "exports": "object" + }, + "node:events": { + "exports": "function" + }, + "node:fs": { + "exports": "object" + }, + "node:fs/promises": { + "exports": "object" + }, + "node:http": { + "exports": "object" + }, + "node:http2": { + "exports": "object" + }, + "node:https": { + "exports": "object" + }, + "node:inspector": { + "exports": "object" + }, + "node:module": { + "exports": "object" + }, + "node:os": { + "exports": "object" + }, + "node:process": { + "exports": "object" + }, + "node:stream": { + "exports": "function" + }, + "node:string_decoder": { + "exports": "object" + }, + "node:util": { + "exports": "object" + }, + "node:util/types": { + "exports": "object" + } + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "default": { + "SourceMap": "function", + "_cache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs": "object", + "/bun-vfs/node_modules/console/index.js": "object", + "/bun-vfs/node_modules/constants/index.js": "object", + "/bun-vfs/node_modules/domain/index.js": "object", + "bun:events_native": "object", + "bun:jsc": "object", + "bun:main": "object", + "node:assert": "object", + "node:assert/strict": "object", + "node:async_hooks": "object", + "node:buffer": "object", + "node:child_process": "object", + "node:cluster": "object", + "node:crypto": "object", + "node:dgram": "object", + "node:diagnostics_channel": "object", + "node:dns": "object", + "node:dns/promises": "object", + "node:events": "object", + "node:fs": "object", + "node:fs/promises": "object", + "node:http": "object", + "node:http2": "object", + "node:https": "object", + "node:inspector": "object", + "node:module": "object", + "node:os": "object", + "node:process": "object", + "node:stream": "object", + "node:string_decoder": "object", + "node:util": "object", + "node:util/types": "object" + }, + "_nodeModulePaths": "function", + "_resolveFilename": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "findSourceMap": "function", + "globalPaths": "object", + "paths": "function", + "prototype": "object", + "syncBuiltinExports": "function" + }, + "node:net": { + "Server": "function", + "Socket": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function" + }, + "node:os": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": { + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number" + }, + "errno": { + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EXDEV": "number" + }, + "priority": { + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number" + }, + "signals": { + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPOLL": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number" + } + }, + "cpus": "function", + "default": { + "EOL": "string", + "arch": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": "object", + "errno": "object", + "priority": "object", + "signals": "object" + }, + "cpus": "function", + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "node:path": { + "__esModule": "boolean", + "basename": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": { + "__esModule": "boolean", + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "basename": "function", + "default": { + "basename": "function", + "default": "object", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + } + }, + "node:path/posix": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:path/win32": { + "basename": "function", + "default": { + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function" + }, + "node:perf_hooks": { + "PerformanceEntry": "function", + "PerformanceNodeTiming": "function", + "performance": { + "now": "function", + "timeOrigin": "number" + } + }, + "node:process": { + "abort": "function", + "addListener": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": { + "v8_enable_i8n_support": "number" + } + }, + "cwd": "function", + "default": { + "abort": "function", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": "object" + }, + "cwd": "function", + "dlopen": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "nextTick": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "revision": "string", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": "object", + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "dlopen": "function", + "emit": "function", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "eventNames": "function", + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "getMaxListeners": "function", + "hrtime": { + "bigint": "function" + }, + "isBun": "number", + "listenerCount": "function", + "listeners": "function", + "nextTick": "function", + "off": "function", + "on": "function", + "once": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "prepend": "function", + "prependOnce": "function", + "rawListeners": "function", + "release": { + "headersUrl": "string", + "libUrl": "string", + "lts": "boolean", + "name": "string", + "sourceUrl": "string" + }, + "removeAllListeners": "function", + "removeListener": "function", + "revision": "string", + "setMaxListeners": "function", + "stderr": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "stdin": { + "_readableState": "object", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean" + }, + "stdout": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "bytesWritten": "number" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "ares": "string", + "boringssl": "string", + "bun": "string", + "libarchive": "string", + "lolhtml": "string", + "mimalloc": "string", + "modules": "string", + "napi": "string", + "node": "string", + "picohttpparser": "string", + "tinycc": "string", + "usockets": "string", + "uv": "string", + "uwebsockets": "string", + "v8": "string", + "webkit": "string", + "zig": "string", + "zlib": "string" + } + }, + "node:punycode": { + "decode": "function", + "encode": "function", + "toASCII": "function", + "toUnicode": "function", + "ucs2decode": "function", + "ucs2encode": "function" + }, + "node:querystring": { + "decode": "function", + "default": { + "decode": "function", + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "node:readline": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:readline/promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + }, + "node:repl": { + "_domain": "undefined", + "_initialPrompt": "string", + "allowBlockingCompletions": "boolean", + "breakEvalOnSigint": "boolean", + "completer": "function", + "context": { + "AbortController": "function", + "AbortSignal": { + "abort": "function", + "timeout": "function", + "whenSignalAborted": "function" + }, + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "toBuffer": "function" + }, + "BuildError": "function", + "BuildMessage": "function", + "Bun": { + "ArrayBufferSink": "function", + "concatArrayBuffers": "function", + "deepEquals": "function", + "deepMatch": "function", + "dns": "object", + "env": "object", + "escapeHTML": "function", + "fetch": "function", + "fileURLToPath": "function", + "nanoseconds": "function", + "password": "object", + "pathToFileURL": "function", + "peek": "function", + "plugin": "function", + "readableStreamToArray": "function", + "readableStreamToArrayBuffer": "function", + "readableStreamToBlob": "function", + "readableStreamToJSON": "function", + "readableStreamToText": "function", + "revision": "string", + "sleep": "function", + "stringHashCode": "function", + "version": "string" + }, + "ByteLengthQueuingStrategy": "function", + "CloseEvent": "function", + "CountQueuingStrategy": "function", + "Crypto": "function", + "CryptoKey": "function", + "CustomEvent": "function", + "DOMException": { + "ABORT_ERR": "number", + "DATA_CLONE_ERR": "number", + "DOMSTRING_SIZE_ERR": "number", + "HIERARCHY_REQUEST_ERR": "number", + "INDEX_SIZE_ERR": "number", + "INUSE_ATTRIBUTE_ERR": "number", + "INVALID_ACCESS_ERR": "number", + "INVALID_CHARACTER_ERR": "number", + "INVALID_MODIFICATION_ERR": "number", + "INVALID_NODE_TYPE_ERR": "number", + "INVALID_STATE_ERR": "number", + "NAMESPACE_ERR": "number", + "NETWORK_ERR": "number", + "NOT_FOUND_ERR": "number", + "NOT_SUPPORTED_ERR": "number", + "NO_DATA_ALLOWED_ERR": "number", + "NO_MODIFICATION_ALLOWED_ERR": "number", + "QUOTA_EXCEEDED_ERR": "number", + "SECURITY_ERR": "number", + "SYNTAX_ERR": "number", + "TIMEOUT_ERR": "number", + "TYPE_MISMATCH_ERR": "number", + "URL_MISMATCH_ERR": "number", + "VALIDATION_ERR": "number", + "WRONG_DOCUMENT_ERR": "number" + }, + "ErrorEvent": "function", + "Event": { + "AT_TARGET": "number", + "BUBBLING_PHASE": "number", + "CAPTURING_PHASE": "number", + "NONE": "number" + }, + "EventSource": "function", + "EventTarget": "function", + "FormData": "function", + "HTMLRewriter": "object", + "Headers": "function", + "MessageEvent": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "Request": "function", + "ResolveError": "function", + "ResolveMessage": "function", + "Response": { + "error": "function", + "json": "function", + "redirect": "function" + }, + "SubtleCrypto": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "WebSocket": { + "CLOSED": "number", + "CLOSING": "number", + "CONNECTING": "number", + "OPEN": "number" + }, + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "__IDS_TO_TRACK": "object", + "addEventListener": "function", + "alert": "function", + "atob": "function", + "btoa": "function", + "bunJSX": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "confirm": "function", + "crypto": { + "getRandomValues": "function", + "randomUUID": "function", + "subtle": "object", + "timingSafeEqual": "function" + }, + "fetch": "function", + "navigator": { + "hardwareConcurrency": "number", + "userAgent": "string" + }, + "performance": { + "now": "function", + "timeOrigin": "number" + }, + "process": { + "abort": "function", + "arch": "string", + "argv": "object", + "argv0": "string", + "binding": "function", + "browser": "number", + "chdir": "function", + "config": "object", + "cwd": "function", + "dlopen": "function", + "emitWarning": "function", + "env": "object", + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "number", + "hrtime": "function", + "isBun": "number", + "nextTick": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "release": "object", + "revision": "string", + "stderr": "object", + "stdin": "object", + "stdout": "object", + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": "object" + }, + "prompt": "function", + "queueMicrotask": "function", + "reportError": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "crlfDelay": "number", + "cursor": "number", + "escapeCodeTimeout": "number", + "eval": "function", + "history": "object", + "historyIndex": "number", + "historySize": "number", + "input": "object", + "isCompletionEnabled": "boolean", + "last": "undefined", + "line": "string", + "lines": "object", + "output": "object", + "removeHistoryDuplicates": "boolean", + "tabSize": "number", + "terminal": "boolean", + "underscoreAssigned": "boolean", + "useColors": "boolean", + "useGlobal": "boolean" + }, + "node:stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "NativeWritable": "function", + "PassThrough": "function", + "Readable": { + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "Transform": "function", + "Writable": { + "fromWeb": "function", + "toWeb": "function" + }, + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": "function", + "NativeWritable": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_getNativeReadableStreamPrototype": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": "function", + "destroy": "function", + "eos": "function", + "finished": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object" + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "destroy": "function", + "eos": "function", + "finished": { + "finished": "function" + }, + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + } + }, + "node:stream/consumers": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "json": "function", + "text": "function" + }, + "node:stream/promises": { + "finished": "function", + "pipeline": "function" + }, + "node:stream/web": { + "ByteLengthQueuingStrategy": "function", + "CountQueuingStrategy": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function" + }, + "node:string_decoder": { + "StringDecoder": "function", + "default": { + "StringDecoder": "function" + } + }, + "node:sys": { + "default": { + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "default": { + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": "function", + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": "function", + "types": "object" + }, + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isDataView": "function", + "isDate": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isMap": "function", + "isMapIterator": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function", + "isWebAssemblyCompiledModule": "function" + } + } + }, + "node:timers": { + "clearInterval": "function", + "clearTimeout": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:timers/promises": { + "default": { + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:tls": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "function", + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createConnection": "function", + "createSecureContext": "function", + "createServer": "function", + "getCiphers": "function", + "getCurves": "function", + "parseCertString": "function" + }, + "node:trace_events": { + "createTracing": "function", + "getEnabledCategories": "function" + }, + "node:tty": { + "ReadStream": "function", + "WriteStream": "function", + "isatty": "function" + }, + "node:url": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "default": { + "URL": { + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "node:util": { + "TextDecoder": "function", + "TextEncoder": "function", + "callbackify": "function", + "debuglog": "function", + "default": { + "TextDecoder": "function", + "TextEncoder": "function", + "_extend": "function", + "callbackify": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "default": "object", + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "deprecate": "function", + "format": "function", + "inherits": "function", + "inspect": { + "colors": { + "black": "object", + "blue": "object", + "bold": "object", + "cyan": "object", + "green": "object", + "grey": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "red": "object", + "underline": "object", + "white": "object", + "yellow": "object" + }, + "styles": { + "boolean": "string", + "date": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "promisify": { + "custom": "symbol" + }, + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:util/types": { + "default": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "node:v8": { + "Deserializer": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "node:vm": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "node:worker_threads": { + "default": "undefined" + }, + "node:zlib": { + "Deflate": { + "super_": { + "super_": "function" + } + }, + "DeflateRaw": { + "super_": { + "super_": "function" + } + }, + "Gunzip": { + "super_": { + "super_": "function" + } + }, + "Gzip": { + "super_": { + "super_": "function" + } + }, + "Inflate": { + "super_": { + "super_": "function" + } + }, + "InflateRaw": { + "super_": { + "super_": "function" + } + }, + "Unzip": { + "super_": { + "super_": "function" + } + }, + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number", + "Zlib": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-5": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "undefined", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "undefined", + "undefined": "string" + }, + "constants": { + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BINARY": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFLATED": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_TEXT": "number", + "Z_TREES": "number", + "Z_UNKNOWN": "number" + }, + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + } + }, + "runtime": "bun", + "version": "0.6.11", + "errors": { + "node:_http_agent": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_http_agent\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_http_client": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_http_client\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_http_common": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_http_common\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_http_incoming": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_http_incoming\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_http_outgoing": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_http_outgoing\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_http_server": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_http_server\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_stream_duplex": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_stream_duplex\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_stream_passthrough": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_stream_passthrough\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_stream_readable": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_stream_readable\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_stream_transform": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_stream_transform\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_stream_wrap": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_stream_wrap\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_stream_writable": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_stream_writable\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_tls_common": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_tls_common\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:_tls_wrap": { + "name": "ResolveMessage", + "message": "Cannot find package \"node:_tls_wrap\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:test/reporters": { + "name": "ResolveMessage", + "message": "Cannot find module \"node:test/reporters\" from \"/Users/jarred/Code/bun/test/exports/generate-exports.mjs\"" + }, + "node:wasi": { + "name": "ReferenceError", + "message": "Can't find variable: constants" + } + } +}
\ No newline at end of file diff --git a/test/exports/node-exports.node-v20.1.0.json b/test/exports/node-exports.node-v20.1.0.json new file mode 100644 index 000000000..0ffc90856 --- /dev/null +++ b/test/exports/node-exports.node-v20.1.0.json @@ -0,0 +1,12843 @@ +{ + "import": { + "node:_http_agent": { + "Agent": { + "defaultMaxSockets": "number" + }, + "default": { + "Agent": { + "defaultMaxSockets": "number" + }, + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": "object", + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + } + }, + "globalAgent": { + "_events": { + "free": "function", + "newListener": "function" + }, + "_eventsCount": "number", + "_maxListeners": "undefined", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": { + "keepAlive": "boolean", + "noDelay": "boolean", + "path": "object", + "scheduling": "string", + "timeout": "number" + }, + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + } + }, + "node:_http_client": { + "ClientRequest": "function", + "default": { + "ClientRequest": "function" + } + }, + "node:_http_common": { + "CRLF": "string", + "HTTPParser": { + "REQUEST": "number", + "RESPONSE": "number", + "kLenientAll": "number", + "kLenientChunkedLength": "number", + "kLenientHeaders": "number", + "kLenientKeepAlive": "number", + "kLenientNone": "number", + "kOnBody": "number", + "kOnExecute": "number", + "kOnHeaders": "number", + "kOnHeadersComplete": "number", + "kOnMessageBegin": "number", + "kOnMessageComplete": "number", + "kOnTimeout": "number" + }, + "_checkInvalidHeaderChar": "function", + "_checkIsHttpToken": "function", + "chunkExpression": "object", + "continueExpression": "object", + "default": { + "CRLF": "string", + "HTTPParser": { + "REQUEST": "number", + "RESPONSE": "number", + "kLenientAll": "number", + "kLenientChunkedLength": "number", + "kLenientHeaders": "number", + "kLenientKeepAlive": "number", + "kLenientNone": "number", + "kOnBody": "number", + "kOnExecute": "number", + "kOnHeaders": "number", + "kOnHeadersComplete": "number", + "kOnMessageBegin": "number", + "kOnMessageComplete": "number", + "kOnTimeout": "number" + }, + "_checkInvalidHeaderChar": "function", + "_checkIsHttpToken": "function", + "chunkExpression": "object", + "continueExpression": "object", + "freeParser": "function", + "isLenient": "function", + "kIncomingMessage": "symbol", + "methods": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "parsers": { + "ctor": "function", + "list": "object", + "max": "number", + "name": "string" + }, + "prepareError": "function" + }, + "freeParser": "function", + "isLenient": "function", + "kIncomingMessage": "symbol", + "methods": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "parsers": { + "ctor": "function", + "list": "object", + "max": "number", + "name": "string" + }, + "prepareError": "function" + }, + "node:_http_incoming": { + "IncomingMessage": "function", + "default": { + "IncomingMessage": "function", + "readStart": "function", + "readStop": "function" + }, + "readStart": "function", + "readStop": "function" + }, + "node:_http_outgoing": { + "OutgoingMessage": "function", + "default": { + "OutgoingMessage": "function", + "kHighWaterMark": "symbol", + "kUniqueHeaders": "symbol", + "parseUniqueHeadersOption": "function", + "validateHeaderName": "function", + "validateHeaderValue": "function" + }, + "kHighWaterMark": "symbol", + "kUniqueHeaders": "symbol", + "parseUniqueHeadersOption": "function", + "validateHeaderName": "function", + "validateHeaderValue": "function" + }, + "node:_http_server": { + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "_connectionListener": "function", + "default": { + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "_connectionListener": "function", + "kServerResponse": "symbol", + "setupConnectionsTracking": "function", + "storeHTTPOptions": "function" + }, + "kServerResponse": "symbol", + "setupConnectionsTracking": "function", + "storeHTTPOptions": "function" + }, + "node:_stream_duplex": { + "default": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "node:_stream_passthrough": { + "default": "function" + }, + "node:_stream_readable": { + "ReadableState": "function", + "_fromList": "function", + "default": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "node:_stream_transform": { + "default": "function" + }, + "node:_stream_wrap": { + "default": "function" + }, + "node:_stream_writable": { + "WritableState": "function", + "default": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "fromWeb": "function", + "toWeb": "function" + }, + "node:_tls_common": { + "SecureContext": "function", + "createSecureContext": "function", + "default": { + "SecureContext": "function", + "createSecureContext": "function", + "translatePeerCertificate": "function" + }, + "translatePeerCertificate": "function" + }, + "node:_tls_wrap": { + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "createServer": "function", + "default": { + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "createServer": "function" + } + }, + "node:assert": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "default": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:assert/strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "default": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:async_hooks": { + "AsyncLocalStorage": "function", + "AsyncResource": "function", + "asyncWrapProviders": { + "BLOBREADER": "number", + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "QUIC_LOGSTREAM": "number", + "QUIC_PACKET": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "default": { + "AsyncLocalStorage": "function", + "AsyncResource": "function", + "asyncWrapProviders": { + "BLOBREADER": "number", + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "QUIC_LOGSTREAM": "number", + "QUIC_PACKET": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "node:buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "copyBytesFrom": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "of": "function", + "poolSize": "number" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "default": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "copyBytesFrom": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "of": "function", + "poolSize": "number" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "isAscii": "function", + "isUtf8": "function", + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "function", + "transcode": "function" + }, + "isAscii": "function", + "isUtf8": "function", + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "function", + "transcode": "function" + }, + "node:child_process": { + "ChildProcess": "function", + "_forkChild": "function", + "default": { + "ChildProcess": "function", + "_forkChild": "function", + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "node:cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "Worker": "function", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "default": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "Worker": "function", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "disconnect": "function", + "fork": "function", + "isMaster": "boolean", + "isPrimary": "boolean", + "isWorker": "boolean", + "schedulingPolicy": "number", + "settings": "object", + "setupMaster": "function", + "setupPrimary": "function", + "workers": "object" + }, + "disconnect": "function", + "fork": "function", + "isMaster": "boolean", + "isPrimary": "boolean", + "isWorker": "boolean", + "schedulingPolicy": "number", + "settings": "object", + "setupMaster": "function", + "setupPrimary": "function", + "workers": "object" + }, + "node:console": { + "Console": "function", + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "createTask": "function", + "debug": "function", + "default": { + "Console": "function", + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "createTask": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "node:constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENGINE_METHOD_ALL": "number", + "ENGINE_METHOD_CIPHERS": "number", + "ENGINE_METHOD_DH": "number", + "ENGINE_METHOD_DIGESTS": "number", + "ENGINE_METHOD_DSA": "number", + "ENGINE_METHOD_EC": "number", + "ENGINE_METHOD_NONE": "number", + "ENGINE_METHOD_PKEY_ASN1_METHS": "number", + "ENGINE_METHOD_PKEY_METHS": "number", + "ENGINE_METHOD_RAND": "number", + "ENGINE_METHOD_RSA": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTSUP": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EWOULDBLOCK": "number", + "EXDEV": "number", + "F_OK": "number", + "OPENSSL_VERSION_NUMBER": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_PSS_SALTLEN_AUTO": "number", + "RSA_PSS_SALTLEN_DIGEST": "number", + "RSA_PSS_SALTLEN_MAX_SIGN": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number", + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number", + "R_OK": "number", + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number", + "SSL_OP_ALL": "number", + "SSL_OP_ALLOW_NO_DHE_KEX": "number", + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": "number", + "SSL_OP_CIPHER_SERVER_PREFERENCE": "number", + "SSL_OP_CISCO_ANYCONNECT": "number", + "SSL_OP_COOKIE_EXCHANGE": "number", + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": "number", + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": "number", + "SSL_OP_LEGACY_SERVER_CONNECT": "number", + "SSL_OP_NO_COMPRESSION": "number", + "SSL_OP_NO_ENCRYPT_THEN_MAC": "number", + "SSL_OP_NO_QUERY_MTU": "number", + "SSL_OP_NO_RENEGOTIATION": "number", + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": "number", + "SSL_OP_NO_SSLv2": "number", + "SSL_OP_NO_SSLv3": "number", + "SSL_OP_NO_TICKET": "number", + "SSL_OP_NO_TLSv1": "number", + "SSL_OP_NO_TLSv1_1": "number", + "SSL_OP_NO_TLSv1_2": "number", + "SSL_OP_NO_TLSv1_3": "number", + "SSL_OP_PRIORITIZE_CHACHA": "number", + "SSL_OP_TLS_ROLLBACK_BUG": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "TLS1_1_VERSION": "number", + "TLS1_2_VERSION": "number", + "TLS1_3_VERSION": "number", + "TLS1_VERSION": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number", + "default": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENGINE_METHOD_ALL": "number", + "ENGINE_METHOD_CIPHERS": "number", + "ENGINE_METHOD_DH": "number", + "ENGINE_METHOD_DIGESTS": "number", + "ENGINE_METHOD_DSA": "number", + "ENGINE_METHOD_EC": "number", + "ENGINE_METHOD_NONE": "number", + "ENGINE_METHOD_PKEY_ASN1_METHS": "number", + "ENGINE_METHOD_PKEY_METHS": "number", + "ENGINE_METHOD_RAND": "number", + "ENGINE_METHOD_RSA": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTSUP": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EWOULDBLOCK": "number", + "EXDEV": "number", + "F_OK": "number", + "OPENSSL_VERSION_NUMBER": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_PSS_SALTLEN_AUTO": "number", + "RSA_PSS_SALTLEN_DIGEST": "number", + "RSA_PSS_SALTLEN_MAX_SIGN": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number", + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number", + "R_OK": "number", + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number", + "SSL_OP_ALL": "number", + "SSL_OP_ALLOW_NO_DHE_KEX": "number", + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": "number", + "SSL_OP_CIPHER_SERVER_PREFERENCE": "number", + "SSL_OP_CISCO_ANYCONNECT": "number", + "SSL_OP_COOKIE_EXCHANGE": "number", + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": "number", + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": "number", + "SSL_OP_LEGACY_SERVER_CONNECT": "number", + "SSL_OP_NO_COMPRESSION": "number", + "SSL_OP_NO_ENCRYPT_THEN_MAC": "number", + "SSL_OP_NO_QUERY_MTU": "number", + "SSL_OP_NO_RENEGOTIATION": "number", + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": "number", + "SSL_OP_NO_SSLv2": "number", + "SSL_OP_NO_SSLv3": "number", + "SSL_OP_NO_TICKET": "number", + "SSL_OP_NO_TLSv1": "number", + "SSL_OP_NO_TLSv1_1": "number", + "SSL_OP_NO_TLSv1_2": "number", + "SSL_OP_NO_TLSv1_3": "number", + "SSL_OP_PRIORITIZE_CHACHA": "number", + "SSL_OP_TLS_ROLLBACK_BUG": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "TLS1_1_VERSION": "number", + "TLS1_2_VERSION": "number", + "TLS1_3_VERSION": "number", + "TLS1_VERSION": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number", + "defaultCipherList": "string", + "defaultCoreCipherList": "string" + }, + "defaultCipherList": "string", + "defaultCoreCipherList": "string" + }, + "node:crypto": { + "Certificate": { + "exportChallenge": "function", + "exportPublicKey": "function", + "verifySpkac": "function" + }, + "Cipher": "function", + "Cipheriv": "function", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "ECDH": { + "convertKey": "function" + }, + "Hash": "function", + "Hmac": "function", + "KeyObject": "function", + "Sign": "function", + "Verify": "function", + "X509Certificate": "function", + "checkPrime": "function", + "checkPrimeSync": "function", + "constants": { + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "ENGINE_METHOD_ALL": "number", + "ENGINE_METHOD_CIPHERS": "number", + "ENGINE_METHOD_DH": "number", + "ENGINE_METHOD_DIGESTS": "number", + "ENGINE_METHOD_DSA": "number", + "ENGINE_METHOD_EC": "number", + "ENGINE_METHOD_NONE": "number", + "ENGINE_METHOD_PKEY_ASN1_METHS": "number", + "ENGINE_METHOD_PKEY_METHS": "number", + "ENGINE_METHOD_RAND": "number", + "ENGINE_METHOD_RSA": "number", + "OPENSSL_VERSION_NUMBER": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_PSS_SALTLEN_AUTO": "number", + "RSA_PSS_SALTLEN_DIGEST": "number", + "RSA_PSS_SALTLEN_MAX_SIGN": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number", + "SSL_OP_ALL": "number", + "SSL_OP_ALLOW_NO_DHE_KEX": "number", + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": "number", + "SSL_OP_CIPHER_SERVER_PREFERENCE": "number", + "SSL_OP_CISCO_ANYCONNECT": "number", + "SSL_OP_COOKIE_EXCHANGE": "number", + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": "number", + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": "number", + "SSL_OP_LEGACY_SERVER_CONNECT": "number", + "SSL_OP_NO_COMPRESSION": "number", + "SSL_OP_NO_ENCRYPT_THEN_MAC": "number", + "SSL_OP_NO_QUERY_MTU": "number", + "SSL_OP_NO_RENEGOTIATION": "number", + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": "number", + "SSL_OP_NO_SSLv2": "number", + "SSL_OP_NO_SSLv3": "number", + "SSL_OP_NO_TICKET": "number", + "SSL_OP_NO_TLSv1": "number", + "SSL_OP_NO_TLSv1_1": "number", + "SSL_OP_NO_TLSv1_2": "number", + "SSL_OP_NO_TLSv1_3": "number", + "SSL_OP_PRIORITIZE_CHACHA": "number", + "SSL_OP_TLS_ROLLBACK_BUG": "number", + "TLS1_1_VERSION": "number", + "TLS1_2_VERSION": "number", + "TLS1_3_VERSION": "number", + "TLS1_VERSION": "number", + "defaultCipherList": "string", + "defaultCoreCipherList": "string" + }, + "createCipheriv": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": "function", + "createHmac": "function", + "createPrivateKey": "function", + "createPublicKey": "function", + "createSecretKey": "function", + "createSign": "function", + "createVerify": "function", + "default": { + "Certificate": { + "exportChallenge": "function", + "exportPublicKey": "function", + "verifySpkac": "function" + }, + "Cipher": "function", + "Cipheriv": "function", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "ECDH": { + "convertKey": "function" + }, + "Hash": "function", + "Hmac": "function", + "KeyObject": "function", + "Sign": "function", + "Verify": "function", + "X509Certificate": "function", + "checkPrime": "function", + "checkPrimeSync": "function", + "constants": { + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "ENGINE_METHOD_ALL": "number", + "ENGINE_METHOD_CIPHERS": "number", + "ENGINE_METHOD_DH": "number", + "ENGINE_METHOD_DIGESTS": "number", + "ENGINE_METHOD_DSA": "number", + "ENGINE_METHOD_EC": "number", + "ENGINE_METHOD_NONE": "number", + "ENGINE_METHOD_PKEY_ASN1_METHS": "number", + "ENGINE_METHOD_PKEY_METHS": "number", + "ENGINE_METHOD_RAND": "number", + "ENGINE_METHOD_RSA": "number", + "OPENSSL_VERSION_NUMBER": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_PSS_SALTLEN_AUTO": "number", + "RSA_PSS_SALTLEN_DIGEST": "number", + "RSA_PSS_SALTLEN_MAX_SIGN": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number", + "SSL_OP_ALL": "number", + "SSL_OP_ALLOW_NO_DHE_KEX": "number", + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": "number", + "SSL_OP_CIPHER_SERVER_PREFERENCE": "number", + "SSL_OP_CISCO_ANYCONNECT": "number", + "SSL_OP_COOKIE_EXCHANGE": "number", + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": "number", + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": "number", + "SSL_OP_LEGACY_SERVER_CONNECT": "number", + "SSL_OP_NO_COMPRESSION": "number", + "SSL_OP_NO_ENCRYPT_THEN_MAC": "number", + "SSL_OP_NO_QUERY_MTU": "number", + "SSL_OP_NO_RENEGOTIATION": "number", + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": "number", + "SSL_OP_NO_SSLv2": "number", + "SSL_OP_NO_SSLv3": "number", + "SSL_OP_NO_TICKET": "number", + "SSL_OP_NO_TLSv1": "number", + "SSL_OP_NO_TLSv1_1": "number", + "SSL_OP_NO_TLSv1_2": "number", + "SSL_OP_NO_TLSv1_3": "number", + "SSL_OP_PRIORITIZE_CHACHA": "number", + "SSL_OP_TLS_ROLLBACK_BUG": "number", + "TLS1_1_VERSION": "number", + "TLS1_2_VERSION": "number", + "TLS1_3_VERSION": "number", + "TLS1_VERSION": "number", + "defaultCipherList": "string", + "defaultCoreCipherList": "string" + }, + "createCipheriv": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": "function", + "createHmac": "function", + "createPrivateKey": "function", + "createPublicKey": "function", + "createSecretKey": "function", + "createSign": "function", + "createVerify": "function", + "diffieHellman": "function", + "generateKey": "function", + "generateKeyPair": "function", + "generateKeyPairSync": "function", + "generateKeySync": "function", + "generatePrime": "function", + "generatePrimeSync": "function", + "getCipherInfo": "function", + "getCiphers": "function", + "getCurves": "function", + "getDiffieHellman": "function", + "getFips": "function", + "getHashes": "function", + "getRandomValues": "function", + "hkdf": "function", + "hkdfSync": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "scrypt": "function", + "scryptSync": "function", + "secureHeapUsed": "function", + "setEngine": "function", + "setFips": "function", + "sign": "function", + "subtle": "object", + "timingSafeEqual": "function", + "verify": "function", + "webcrypto": "object" + }, + "diffieHellman": "function", + "generateKey": "function", + "generateKeyPair": "function", + "generateKeyPairSync": "function", + "generateKeySync": "function", + "generatePrime": "function", + "generatePrimeSync": "function", + "getCipherInfo": "function", + "getCiphers": "function", + "getCurves": "function", + "getDiffieHellman": "function", + "getFips": "function", + "getHashes": "function", + "getRandomValues": "function", + "hkdf": "function", + "hkdfSync": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "scrypt": "function", + "scryptSync": "function", + "secureHeapUsed": "function", + "setEngine": "function", + "setFips": "function", + "sign": "function", + "subtle": "object", + "timingSafeEqual": "function", + "verify": "function", + "webcrypto": "object" + }, + "node:dgram": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function", + "default": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function" + } + }, + "node:diagnostics_channel": { + "Channel": "function", + "channel": "function", + "default": { + "Channel": "function", + "channel": "function", + "hasSubscribers": "function", + "subscribe": "function", + "tracingChannel": "function", + "unsubscribe": "function" + }, + "hasSubscribers": "function", + "subscribe": "function", + "tracingChannel": "function", + "unsubscribe": "function" + }, + "node:dns": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "default": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "promises": { + "ADDRGETNETWORKPARAMS": "string", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "promises": { + "ADDRGETNETWORKPARAMS": "string", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:dns/promises": { + "ADDRGETNETWORKPARAMS": "string", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "default": { + "ADDRGETNETWORKPARAMS": "string", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:domain": { + "Domain": "function", + "_stack": "object", + "active": "object", + "create": "function", + "createDomain": "function", + "default": { + "Domain": "function", + "_stack": "object", + "active": "object", + "create": "function", + "createDomain": "function" + } + }, + "node:events": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "default": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "node:fs": { + "Dir": "function", + "Dirent": "function", + "F_OK": "number", + "FileReadStream": "function", + "FileWriteStream": "function", + "R_OK": "number", + "ReadStream": "function", + "Stats": "function", + "W_OK": "number", + "WriteStream": "function", + "X_OK": "number", + "_toUnixTimestamp": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "cp": "function", + "cpSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "default": { + "Dir": "function", + "Dirent": "function", + "F_OK": "number", + "FileReadStream": "function", + "FileWriteStream": "function", + "R_OK": "number", + "ReadStream": "function", + "Stats": "function", + "W_OK": "number", + "WriteStream": "function", + "X_OK": "number", + "_toUnixTimestamp": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "cp": "function", + "cpSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fdatasync": "function", + "fdatasyncSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openAsBlob": "function", + "openSync": "function", + "opendir": "function", + "opendirSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "constants": "object", + "copyFile": "function", + "cp": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "opendir": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "statfs": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "writeFile": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": "function" + }, + "realpathSync": { + "native": "function" + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "statfs": "function", + "statfsSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "unwatchFile": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "watchFile": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fdatasync": "function", + "fdatasyncSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openAsBlob": "function", + "openSync": "function", + "opendir": "function", + "opendirSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "cp": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "opendir": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "statfs": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "writeFile": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": "function" + }, + "realpathSync": { + "native": "function" + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "statfs": "function", + "statfsSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "unwatchFile": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "watchFile": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "node:fs/promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "cp": "function", + "default": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "cp": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "opendir": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "statfs": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "writeFile": "function" + }, + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "opendir": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "statfs": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "writeFile": "function" + }, + "node:http": { + "Agent": { + "defaultMaxSockets": "number" + }, + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "_connectionListener": "function", + "createServer": "function", + "default": { + "Agent": { + "defaultMaxSockets": "number" + }, + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "_connectionListener": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": "object", + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function", + "validateHeaderName": "function", + "validateHeaderValue": "function" + }, + "get": "function", + "globalAgent": { + "_events": { + "free": "function", + "newListener": "function" + }, + "_eventsCount": "number", + "_maxListeners": "undefined", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": { + "keepAlive": "boolean", + "noDelay": "boolean", + "path": "object", + "scheduling": "string", + "timeout": "number" + }, + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function", + "validateHeaderName": "function", + "validateHeaderValue": "function" + }, + "node:http2": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "default": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "node:https": { + "Agent": "function", + "Server": "function", + "createServer": "function", + "default": { + "Agent": "function", + "Server": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "_sessionCache": "object", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxCachedSessions": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": "object", + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + }, + "request": "function" + }, + "get": "function", + "globalAgent": { + "_events": { + "free": "function", + "newListener": "function" + }, + "_eventsCount": "number", + "_maxListeners": "undefined", + "_sessionCache": { + "list": "object", + "map": "object" + }, + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxCachedSessions": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": { + "keepAlive": "boolean", + "noDelay": "boolean", + "path": "object", + "scheduling": "string", + "timeout": "number" + }, + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + }, + "request": "function" + }, + "node:inspector": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "default": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:inspector/promises": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "default": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:module": { + "Module": { + "Module": { + "Module": "function", + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": "object", + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": "object", + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": "object", + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": { + ".js": "function", + ".json": "function", + ".node": "function" + }, + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs\u0000": "string" + }, + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": { + "0": "string", + "1": "string", + "2": "string" + }, + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": { + ".js": "function", + ".json": "function", + ".node": "function" + }, + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs\u0000": "string" + }, + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string" + }, + "createRequire": "function", + "default": { + "Module": { + "Module": "function", + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": "object", + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": "object", + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": "object", + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": { + ".js": "function", + ".json": "function", + ".node": "function" + }, + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs\u0000": "string" + }, + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": { + "0": "string", + "1": "string", + "2": "string" + }, + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "findSourceMap": "function", + "globalPaths": { + "0": "string", + "1": "string", + "2": "string" + }, + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "node:net": { + "BlockList": "function", + "Server": "function", + "Socket": "function", + "SocketAddress": "function", + "Stream": "function", + "_createServerHandle": "function", + "_normalizeArgs": "function", + "_setSimultaneousAccepts": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "default": { + "BlockList": "function", + "Server": "function", + "Socket": "function", + "SocketAddress": "function", + "Stream": "function", + "_createServerHandle": "function", + "_normalizeArgs": "function", + "_setSimultaneousAccepts": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "getDefaultAutoSelectFamily": "function", + "getDefaultAutoSelectFamilyAttemptTimeout": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function", + "setDefaultAutoSelectFamily": "function", + "setDefaultAutoSelectFamilyAttemptTimeout": "function" + }, + "getDefaultAutoSelectFamily": "function", + "getDefaultAutoSelectFamilyAttemptTimeout": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function", + "setDefaultAutoSelectFamily": "function", + "setDefaultAutoSelectFamilyAttemptTimeout": "function" + }, + "node:os": { + "EOL": "string", + "arch": "function", + "availableParallelism": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": { + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number" + }, + "errno": { + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTSUP": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EWOULDBLOCK": "number", + "EXDEV": "number" + }, + "priority": { + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number" + }, + "signals": { + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number" + } + }, + "cpus": "function", + "default": { + "EOL": "string", + "arch": "function", + "availableParallelism": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": "object", + "errno": "object", + "priority": "object", + "signals": "object" + }, + "cpus": "function", + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "node:path": { + "_makeLong": "function", + "basename": "function", + "default": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + } + }, + "node:path/posix": { + "_makeLong": "function", + "basename": "function", + "default": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + } + }, + "node:path/win32": { + "_makeLong": "function", + "basename": "function", + "default": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + } + }, + "node:perf_hooks": { + "Performance": "function", + "PerformanceEntry": "function", + "PerformanceMark": "function", + "PerformanceMeasure": "function", + "PerformanceObserver": "function", + "PerformanceObserverEntryList": "function", + "PerformanceResourceTiming": "function", + "constants": { + "NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE": "number", + "NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY": "number", + "NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED": "number", + "NODE_PERFORMANCE_GC_FLAGS_FORCED": "number", + "NODE_PERFORMANCE_GC_FLAGS_NO": "number", + "NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE": "number", + "NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING": "number", + "NODE_PERFORMANCE_GC_INCREMENTAL": "number", + "NODE_PERFORMANCE_GC_MAJOR": "number", + "NODE_PERFORMANCE_GC_MINOR": "number", + "NODE_PERFORMANCE_GC_WEAKCB": "number" + }, + "createHistogram": "function", + "default": { + "Performance": "function", + "PerformanceEntry": "function", + "PerformanceMark": "function", + "PerformanceMeasure": "function", + "PerformanceObserver": "function", + "PerformanceObserverEntryList": "function", + "PerformanceResourceTiming": "function", + "constants": { + "NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE": "number", + "NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY": "number", + "NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED": "number", + "NODE_PERFORMANCE_GC_FLAGS_FORCED": "number", + "NODE_PERFORMANCE_GC_FLAGS_NO": "number", + "NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE": "number", + "NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING": "number", + "NODE_PERFORMANCE_GC_INCREMENTAL": "number", + "NODE_PERFORMANCE_GC_MAJOR": "number", + "NODE_PERFORMANCE_GC_MINOR": "number", + "NODE_PERFORMANCE_GC_WEAKCB": "number" + }, + "createHistogram": "function", + "monitorEventLoopDelay": "function", + "performance": "object" + }, + "monitorEventLoopDelay": "function", + "performance": "object" + }, + "node:process": { + "_debugEnd": "function", + "_debugProcess": "function", + "_events": { + "SIGWINCH": "function", + "exit": "function", + "newListener": { + "0": "function", + "1": "function" + }, + "removeListener": { + "0": "function", + "1": "function" + }, + "warning": "function" + }, + "_eventsCount": "number", + "_exiting": "boolean", + "_fatalException": "function", + "_getActiveHandles": "function", + "_getActiveRequests": "function", + "_kill": "function", + "_linkedBinding": "function", + "_maxListeners": "undefined", + "_preload_modules": "object", + "_rawDebug": "function", + "_startProfilerIdleNotifier": "function", + "_stopProfilerIdleNotifier": "function", + "_tickCallback": "function", + "abort": "function", + "allowedNodeEnvironmentFlags": "object", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "assert": "function", + "binding": "function", + "chdir": "function", + "config": { + "target_defaults": { + "cflags": "object", + "default_configuration": "string", + "defines": "object", + "include_dirs": "object", + "libraries": "object" + }, + "variables": { + "arm_fpu": "string", + "asan": "number", + "coverage": "boolean", + "dcheck_always_on": "number", + "debug_nghttp2": "boolean", + "debug_node": "boolean", + "enable_lto": "boolean", + "enable_pgo_generate": "boolean", + "enable_pgo_use": "boolean", + "error_on_warn": "boolean", + "force_dynamic_crt": "number", + "host_arch": "string", + "icu_gyp_path": "string", + "icu_small": "boolean", + "icu_ver_major": "string", + "is_debug": "number", + "libdir": "string", + "llvm_version": "string", + "napi_build_version": "string", + "node_builtin_shareable_builtins": "object", + "node_byteorder": "string", + "node_debug_lib": "boolean", + "node_enable_d8": "boolean", + "node_enable_v8_vtunejit": "boolean", + "node_fipsinstall": "boolean", + "node_install_corepack": "boolean", + "node_install_npm": "boolean", + "node_library_files": "object", + "node_module_version": "number", + "node_no_browser_globals": "boolean", + "node_prefix": "string", + "node_release_urlbase": "string", + "node_shared": "boolean", + "node_shared_brotli": "boolean", + "node_shared_cares": "boolean", + "node_shared_http_parser": "boolean", + "node_shared_libuv": "boolean", + "node_shared_nghttp2": "boolean", + "node_shared_nghttp3": "boolean", + "node_shared_ngtcp2": "boolean", + "node_shared_openssl": "boolean", + "node_shared_zlib": "boolean", + "node_tag": "string", + "node_target_type": "string", + "node_use_bundled_v8": "boolean", + "node_use_node_code_cache": "boolean", + "node_use_node_snapshot": "boolean", + "node_use_openssl": "boolean", + "node_use_v8_platform": "boolean", + "node_with_ltcg": "boolean", + "node_without_node_options": "boolean", + "openssl_is_fips": "boolean", + "openssl_quic": "boolean", + "ossfuzz": "boolean", + "shlib_suffix": "string", + "single_executable_application": "boolean", + "target_arch": "string", + "v8_enable_31bit_smis_on_64bit_arch": "number", + "v8_enable_gdbjit": "number", + "v8_enable_hugepage": "number", + "v8_enable_i18n_support": "number", + "v8_enable_inspector": "number", + "v8_enable_javascript_promise_hooks": "number", + "v8_enable_lite_mode": "number", + "v8_enable_object_print": "number", + "v8_enable_pointer_compression": "number", + "v8_enable_shared_ro_heap": "number", + "v8_enable_webassembly": "number", + "v8_no_strict_aliasing": "number", + "v8_optimized_debug": "number", + "v8_promise_internal_field_count": "number", + "v8_random_seed": "number", + "v8_trace_maps": "number", + "v8_use_siphash": "number", + "want_separate_host_toolset": "number" + } + }, + "constrainedMemory": "function", + "cpuUsage": "function", + "cwd": "function", + "debugPort": "number", + "default": { + "_debugEnd": "function", + "_debugProcess": "function", + "_events": { + "SIGWINCH": "function", + "exit": "function", + "newListener": "object", + "removeListener": "object", + "warning": "function" + }, + "_eventsCount": "number", + "_exiting": "boolean", + "_fatalException": "function", + "_getActiveHandles": "function", + "_getActiveRequests": "function", + "_kill": "function", + "_linkedBinding": "function", + "_maxListeners": "undefined", + "_preload_modules": "object", + "_rawDebug": "function", + "_startProfilerIdleNotifier": "function", + "_stopProfilerIdleNotifier": "function", + "_tickCallback": "function", + "abort": "function", + "allowedNodeEnvironmentFlags": "object", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "assert": "function", + "binding": "function", + "chdir": "function", + "config": { + "target_defaults": "object", + "variables": "object" + }, + "constrainedMemory": "function", + "cpuUsage": "function", + "cwd": "function", + "debugPort": "number", + "dlopen": "function", + "domain": "object", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "undefined", + "features": { + "cached_builtins": "boolean", + "debug": "boolean", + "inspector": "boolean", + "ipv6": "boolean", + "tls": "boolean", + "tls_alpn": "boolean", + "tls_ocsp": "boolean", + "tls_sni": "boolean", + "uv": "boolean" + }, + "getActiveResourcesInfo": "function", + "getegid": "function", + "geteuid": "function", + "getgid": "function", + "getgroups": "function", + "getuid": "function", + "hasUncaughtExceptionCaptureCallback": "function", + "hrtime": { + "bigint": "function" + }, + "initgroups": "function", + "kill": "function", + "memoryUsage": { + "rss": "function" + }, + "moduleLoadList": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string", + "69": "string", + "70": "string", + "71": "string", + "72": "string", + "73": "string", + "74": "string", + "75": "string", + "76": "string", + "77": "string", + "78": "string", + "79": "string", + "80": "string", + "81": "string", + "82": "string", + "83": "string", + "84": "string", + "85": "string", + "86": "string", + "87": "string", + "88": "string", + "89": "string", + "90": "string", + "91": "string", + "92": "string", + "93": "string", + "94": "string", + "95": "string", + "96": "string", + "97": "string", + "98": "string", + "99": "string", + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "104": "string", + "105": "string", + "106": "string", + "107": "string", + "108": "string", + "109": "string", + "110": "string", + "111": "string", + "112": "string", + "113": "string", + "114": "string", + "115": "string", + "116": "string", + "117": "string", + "118": "string", + "119": "string", + "120": "string", + "121": "string", + "122": "string", + "123": "string", + "124": "string", + "125": "string", + "126": "string", + "127": "string", + "128": "string", + "129": "string", + "130": "string", + "131": "string", + "132": "string", + "133": "string", + "134": "string", + "135": "string", + "136": "string", + "137": "string", + "138": "string", + "139": "string", + "140": "string", + "141": "string", + "142": "string", + "143": "string", + "144": "string", + "145": "string", + "146": "string", + "147": "string", + "148": "string", + "149": "string", + "150": "string", + "151": "string", + "152": "string", + "153": "string", + "154": "string", + "155": "string", + "156": "string", + "157": "string", + "158": "string", + "159": "string", + "160": "string", + "161": "string", + "162": "string", + "163": "string", + "164": "string", + "165": "string", + "166": "string", + "167": "string", + "168": "string", + "169": "string", + "170": "string", + "171": "string", + "172": "string", + "173": "string", + "174": "string", + "175": "string", + "176": "string", + "177": "string", + "178": "string", + "179": "string", + "180": "string", + "181": "string", + "182": "string", + "183": "string", + "184": "string", + "185": "string", + "186": "string", + "187": "string", + "188": "string", + "189": "string", + "190": "string", + "191": "string", + "192": "string", + "193": "string", + "194": "string", + "195": "string", + "196": "string", + "197": "string", + "198": "string", + "199": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "209": "string", + "210": "string", + "211": "string", + "212": "string", + "213": "string", + "214": "string", + "215": "string", + "216": "string", + "217": "string", + "218": "string", + "219": "string", + "220": "string", + "221": "string", + "222": "string", + "223": "string", + "224": "string", + "225": "string", + "226": "string", + "227": "string", + "228": "string", + "229": "string", + "230": "string", + "231": "string", + "232": "string", + "233": "string", + "234": "string", + "235": "string", + "236": "string", + "237": "string", + "238": "string", + "239": "string", + "240": "string", + "241": "string", + "242": "string", + "243": "string", + "244": "string", + "245": "string", + "246": "string", + "247": "string", + "248": "string", + "249": "string", + "250": "string", + "251": "string", + "252": "string" + }, + "nextTick": "function", + "openStdin": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "reallyExit": "function", + "release": { + "headersUrl": "string", + "name": "string", + "sourceUrl": "string" + }, + "report": { + "compact": "boolean", + "directory": "string", + "filename": "string", + "getReport": "function", + "reportOnFatalError": "boolean", + "reportOnSignal": "boolean", + "reportOnUncaughtException": "boolean", + "signal": "string", + "writeReport": "function" + }, + "resourceUsage": "function", + "setSourceMapsEnabled": "function", + "setUncaughtExceptionCaptureCallback": "function", + "setegid": "function", + "seteuid": "function", + "setgid": "function", + "setgroups": "function", + "setuid": "function", + "stderr": { + "_closeAfterHandlingError": "boolean", + "_destroy": "function", + "_events": "object", + "_eventsCount": "number", + "_hadError": "boolean", + "_host": "object", + "_isStdio": "boolean", + "_maxListeners": "undefined", + "_parent": "object", + "_pendingData": "object", + "_pendingEncoding": "string", + "_readableState": "object", + "_server": "object", + "_sockname": "object", + "_type": "string", + "_writableState": "object", + "allowHalfOpen": "boolean", + "columns": "number", + "connecting": "boolean", + "destroySoon": "function", + "fd": "number", + "rows": "number", + "server": "object" + }, + "stdin": { + "_closeAfterHandlingError": "boolean", + "_events": "object", + "_eventsCount": "number", + "_hadError": "boolean", + "_host": "object", + "_maxListeners": "undefined", + "_parent": "object", + "_pendingData": "object", + "_pendingEncoding": "string", + "_readableState": "object", + "_server": "object", + "_sockname": "object", + "_writableState": "object", + "allowHalfOpen": "boolean", + "connecting": "boolean", + "fd": "number", + "isRaw": "boolean", + "isTTY": "boolean", + "server": "object" + }, + "stdout": { + "_destroy": "function", + "_events": "object", + "_eventsCount": "number", + "_isStdio": "boolean", + "_maxListeners": "undefined", + "_type": "string", + "_writableState": "object", + "autoClose": "boolean", + "destroySoon": "function", + "fd": "number", + "readable": "boolean" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "acorn": "string", + "ada": "string", + "ares": "string", + "brotli": "string", + "cldr": "string", + "icu": "string", + "llhttp": "string", + "modules": "string", + "napi": "string", + "nghttp2": "string", + "node": "string", + "openssl": "string", + "simdutf": "string", + "tz": "string", + "undici": "string", + "unicode": "string", + "uv": "string", + "uvwasi": "string", + "v8": "string", + "zlib": "string" + } + }, + "dlopen": "function", + "domain": "object", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "undefined", + "features": { + "cached_builtins": "boolean", + "debug": "boolean", + "inspector": "boolean", + "ipv6": "boolean", + "tls": "boolean", + "tls_alpn": "boolean", + "tls_ocsp": "boolean", + "tls_sni": "boolean", + "uv": "boolean" + }, + "getActiveResourcesInfo": "function", + "getegid": "function", + "geteuid": "function", + "getgid": "function", + "getgroups": "function", + "getuid": "function", + "hasUncaughtExceptionCaptureCallback": "function", + "hrtime": { + "bigint": "function" + }, + "initgroups": "function", + "kill": "function", + "memoryUsage": { + "rss": "function" + }, + "moduleLoadList": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string", + "69": "string", + "70": "string", + "71": "string", + "72": "string", + "73": "string", + "74": "string", + "75": "string", + "76": "string", + "77": "string", + "78": "string", + "79": "string", + "80": "string", + "81": "string", + "82": "string", + "83": "string", + "84": "string", + "85": "string", + "86": "string", + "87": "string", + "88": "string", + "89": "string", + "90": "string", + "91": "string", + "92": "string", + "93": "string", + "94": "string", + "95": "string", + "96": "string", + "97": "string", + "98": "string", + "99": "string", + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "104": "string", + "105": "string", + "106": "string", + "107": "string", + "108": "string", + "109": "string", + "110": "string", + "111": "string", + "112": "string", + "113": "string", + "114": "string", + "115": "string", + "116": "string", + "117": "string", + "118": "string", + "119": "string", + "120": "string", + "121": "string", + "122": "string", + "123": "string", + "124": "string", + "125": "string", + "126": "string", + "127": "string", + "128": "string", + "129": "string", + "130": "string", + "131": "string", + "132": "string", + "133": "string", + "134": "string", + "135": "string", + "136": "string", + "137": "string", + "138": "string", + "139": "string", + "140": "string", + "141": "string", + "142": "string", + "143": "string", + "144": "string", + "145": "string", + "146": "string", + "147": "string", + "148": "string", + "149": "string", + "150": "string", + "151": "string", + "152": "string", + "153": "string", + "154": "string", + "155": "string", + "156": "string", + "157": "string", + "158": "string", + "159": "string", + "160": "string", + "161": "string", + "162": "string", + "163": "string", + "164": "string", + "165": "string", + "166": "string", + "167": "string", + "168": "string", + "169": "string", + "170": "string", + "171": "string", + "172": "string", + "173": "string", + "174": "string", + "175": "string", + "176": "string", + "177": "string", + "178": "string", + "179": "string", + "180": "string", + "181": "string", + "182": "string", + "183": "string", + "184": "string", + "185": "string", + "186": "string", + "187": "string", + "188": "string", + "189": "string", + "190": "string", + "191": "string", + "192": "string", + "193": "string", + "194": "string", + "195": "string", + "196": "string", + "197": "string", + "198": "string", + "199": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "209": "string", + "210": "string", + "211": "string", + "212": "string", + "213": "string", + "214": "string", + "215": "string", + "216": "string", + "217": "string", + "218": "string", + "219": "string", + "220": "string", + "221": "string", + "222": "string", + "223": "string", + "224": "string", + "225": "string", + "226": "string", + "227": "string", + "228": "string", + "229": "string", + "230": "string", + "231": "string", + "232": "string", + "233": "string", + "234": "string", + "235": "string", + "236": "string", + "237": "string", + "238": "string", + "239": "string", + "240": "string", + "241": "string", + "242": "string", + "243": "string", + "244": "string", + "245": "string", + "246": "string", + "247": "string", + "248": "string", + "249": "string", + "250": "string", + "251": "string", + "252": "string" + }, + "nextTick": "function", + "openStdin": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "reallyExit": "function", + "release": { + "headersUrl": "string", + "name": "string", + "sourceUrl": "string" + }, + "report": { + "compact": "boolean", + "directory": "string", + "filename": "string", + "getReport": "function", + "reportOnFatalError": "boolean", + "reportOnSignal": "boolean", + "reportOnUncaughtException": "boolean", + "signal": "string", + "writeReport": "function" + }, + "resourceUsage": "function", + "setSourceMapsEnabled": "function", + "setUncaughtExceptionCaptureCallback": "function", + "setegid": "function", + "seteuid": "function", + "setgid": "function", + "setgroups": "function", + "setuid": "function", + "stderr": { + "_closeAfterHandlingError": "boolean", + "_destroy": "function", + "_events": { + "end": "function" + }, + "_eventsCount": "number", + "_hadError": "boolean", + "_host": "object", + "_isStdio": "boolean", + "_maxListeners": "undefined", + "_parent": "object", + "_pendingData": "object", + "_pendingEncoding": "string", + "_readableState": { + "autoDestroy": "boolean", + "awaitDrainWriters": "object", + "buffer": "object", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "dataEmitted": "boolean", + "decoder": "object", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "emittedReadable": "boolean", + "encoding": "object", + "endEmitted": "boolean", + "ended": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "flowing": "object", + "highWaterMark": "number", + "length": "number", + "multiAwaitDrain": "boolean", + "needReadable": "boolean", + "objectMode": "boolean", + "pipes": "object", + "readableListening": "boolean", + "reading": "boolean", + "readingMore": "boolean", + "resumeScheduled": "boolean", + "sync": "boolean" + }, + "_server": "object", + "_sockname": "object", + "_type": "string", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean", + "columns": "number", + "connecting": "boolean", + "destroySoon": "function", + "fd": "number", + "rows": "number", + "server": "object" + }, + "stdin": { + "_closeAfterHandlingError": "boolean", + "_events": { + "end": "function", + "pause": "function" + }, + "_eventsCount": "number", + "_hadError": "boolean", + "_host": "object", + "_maxListeners": "undefined", + "_parent": "object", + "_pendingData": "object", + "_pendingEncoding": "string", + "_readableState": { + "autoDestroy": "boolean", + "awaitDrainWriters": "object", + "buffer": "object", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "dataEmitted": "boolean", + "decoder": "object", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "emittedReadable": "boolean", + "encoding": "object", + "endEmitted": "boolean", + "ended": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "flowing": "object", + "highWaterMark": "number", + "length": "number", + "multiAwaitDrain": "boolean", + "needReadable": "boolean", + "objectMode": "boolean", + "pipes": "object", + "readableListening": "boolean", + "reading": "boolean", + "readingMore": "boolean", + "resumeScheduled": "boolean", + "sync": "boolean" + }, + "_server": "object", + "_sockname": "object", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean", + "connecting": "boolean", + "fd": "number", + "isRaw": "boolean", + "isTTY": "boolean", + "server": "object" + }, + "stdout": { + "_destroy": "function", + "_events": "object", + "_eventsCount": "number", + "_isStdio": "boolean", + "_maxListeners": "undefined", + "_type": "string", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "autoClose": "boolean", + "destroySoon": "function", + "fd": "number", + "readable": "boolean" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "acorn": "string", + "ada": "string", + "ares": "string", + "brotli": "string", + "cldr": "string", + "icu": "string", + "llhttp": "string", + "modules": "string", + "napi": "string", + "nghttp2": "string", + "node": "string", + "openssl": "string", + "simdutf": "string", + "tz": "string", + "undici": "string", + "unicode": "string", + "uv": "string", + "uvwasi": "string", + "v8": "string", + "zlib": "string" + } + }, + "node:punycode": { + "decode": "function", + "default": { + "decode": "function", + "encode": "function", + "toASCII": "function", + "toUnicode": "function", + "ucs2": { + "decode": "function", + "encode": "function" + }, + "version": "string" + }, + "encode": "function", + "toASCII": "function", + "toUnicode": "function", + "ucs2": { + "decode": "function", + "encode": "function" + }, + "version": "string" + }, + "node:querystring": { + "decode": "function", + "default": { + "decode": "function", + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "node:readline": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "default": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:readline/promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function", + "default": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:repl": { + "REPLServer": "function", + "REPL_MODE_SLOPPY": "symbol", + "REPL_MODE_STRICT": "symbol", + "Recoverable": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string" + }, + "default": { + "REPLServer": "function", + "REPL_MODE_SLOPPY": "symbol", + "REPL_MODE_STRICT": "symbol", + "Recoverable": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string" + }, + "start": "function", + "writer": { + "options": "object" + } + }, + "start": "function", + "writer": { + "options": { + "breakLength": "number", + "colors": "boolean", + "compact": "number", + "customInspect": "boolean", + "depth": "number", + "getters": "boolean", + "maxArrayLength": "number", + "maxStringLength": "number", + "numericSeparator": "boolean", + "showHidden": "boolean", + "showProxy": "boolean", + "sorted": "boolean" + } + } + }, + "node:stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "PassThrough": "function", + "Readable": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "PassThrough": "function", + "Readable": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": "function", + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object", + "setDefaultHighWaterMark": "function" + }, + "Transform": "function", + "Writable": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": { + "finished": "function" + }, + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + }, + "setDefaultHighWaterMark": "function" + }, + "Transform": "function", + "Writable": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "default": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "PassThrough": "function", + "Readable": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": "function", + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object", + "setDefaultHighWaterMark": "function" + }, + "Transform": "function", + "Writable": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": { + "finished": "function" + }, + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + }, + "setDefaultHighWaterMark": "function" + }, + "destroy": "function", + "finished": { + "finished": "function" + }, + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + }, + "setDefaultHighWaterMark": "function" + }, + "node:stream/consumers": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "default": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "json": "function", + "text": "function" + }, + "json": "function", + "text": "function" + }, + "node:stream/promises": { + "default": { + "finished": "function", + "pipeline": "function" + }, + "finished": "function", + "pipeline": "function" + }, + "node:stream/web": { + "ByteLengthQueuingStrategy": "function", + "CompressionStream": "function", + "CountQueuingStrategy": "function", + "DecompressionStream": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TextDecoderStream": "function", + "TextEncoderStream": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function", + "default": { + "ByteLengthQueuingStrategy": "function", + "CompressionStream": "function", + "CountQueuingStrategy": "function", + "DecompressionStream": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TextDecoderStream": "function", + "TextEncoderStream": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function" + } + }, + "node:string_decoder": { + "StringDecoder": "function", + "default": { + "StringDecoder": "function" + } + }, + "node:sys": { + "MIMEParams": "function", + "MIMEType": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "_errnoException": "function", + "_exceptionWithHostPort": "function", + "_extend": "function", + "aborted": "function", + "callbackify": "function", + "debug": "function", + "debuglog": "function", + "default": { + "MIMEParams": "function", + "MIMEType": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "_errnoException": "function", + "_exceptionWithHostPort": "function", + "_extend": "function", + "aborted": "function", + "callbackify": "function", + "debug": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "formatWithOptions": "function", + "getSystemErrorMap": "function", + "getSystemErrorName": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "custom": "symbol", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "parseArgs": "function", + "promisify": { + "custom": "symbol" + }, + "stripVTControlCharacters": "function", + "toUSVString": "function", + "transferableAbortController": "function", + "transferableAbortSignal": "function", + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "deprecate": "function", + "format": "function", + "formatWithOptions": "function", + "getSystemErrorMap": "function", + "getSystemErrorName": "function", + "inherits": "function", + "inspect": { + "colors": { + "bgBlack": "object", + "bgBlue": "object", + "bgBlueBright": "object", + "bgCyan": "object", + "bgCyanBright": "object", + "bgGray": "object", + "bgGreen": "object", + "bgGreenBright": "object", + "bgMagenta": "object", + "bgMagentaBright": "object", + "bgRed": "object", + "bgRedBright": "object", + "bgWhite": "object", + "bgWhiteBright": "object", + "bgYellow": "object", + "bgYellowBright": "object", + "black": "object", + "blink": "object", + "blue": "object", + "blueBright": "object", + "bold": "object", + "cyan": "object", + "cyanBright": "object", + "dim": "object", + "doubleunderline": "object", + "framed": "object", + "gray": "object", + "green": "object", + "greenBright": "object", + "hidden": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "magentaBright": "object", + "overlined": "object", + "red": "object", + "redBright": "object", + "reset": "object", + "strikethrough": "object", + "underline": "object", + "white": "object", + "whiteBright": "object", + "yellow": "object", + "yellowBright": "object" + }, + "custom": "symbol", + "styles": { + "bigint": "string", + "boolean": "string", + "date": "string", + "module": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "symbol": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "parseArgs": "function", + "promisify": { + "custom": "symbol" + }, + "stripVTControlCharacters": "function", + "toUSVString": "function", + "transferableAbortController": "function", + "transferableAbortSignal": "function", + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:test/reporters": { + "default": { + "dot": "function", + "spec": "function", + "tap": "function" + }, + "dot": "function", + "spec": "function", + "tap": "function" + }, + "node:timers": { + "_unrefActive": "function", + "active": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "default": { + "_unrefActive": "function", + "active": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "enroll": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function", + "unenroll": "function" + }, + "enroll": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function", + "unenroll": "function" + }, + "node:timers/promises": { + "default": { + "scheduler": "object", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "scheduler": "object", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:tls": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "undefined", + "Server": "function", + "TLSSocket": "function", + "checkServerIdentity": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createSecureContext": "undefined", + "createSecurePair": "function", + "createServer": "function", + "default": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "undefined", + "Server": "function", + "TLSSocket": "function", + "checkServerIdentity": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createSecureContext": "undefined", + "createSecurePair": "function", + "createServer": "function", + "getCiphers": "function", + "rootCertificates": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string", + "69": "string", + "70": "string", + "71": "string", + "72": "string", + "73": "string", + "74": "string", + "75": "string", + "76": "string", + "77": "string", + "78": "string", + "79": "string", + "80": "string", + "81": "string", + "82": "string", + "83": "string", + "84": "string", + "85": "string", + "86": "string", + "87": "string", + "88": "string", + "89": "string", + "90": "string", + "91": "string", + "92": "string", + "93": "string", + "94": "string", + "95": "string", + "96": "string", + "97": "string", + "98": "string", + "99": "string", + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "104": "string", + "105": "string", + "106": "string", + "107": "string", + "108": "string", + "109": "string", + "110": "string", + "111": "string", + "112": "string", + "113": "string", + "114": "string", + "115": "string", + "116": "string", + "117": "string", + "118": "string", + "119": "string", + "120": "string", + "121": "string", + "122": "string", + "123": "string", + "124": "string", + "125": "string", + "126": "string", + "127": "string", + "128": "string", + "129": "string", + "130": "string", + "131": "string", + "132": "string", + "133": "string", + "134": "string", + "135": "string", + "136": "string" + } + }, + "getCiphers": "function", + "rootCertificates": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string", + "69": "string", + "70": "string", + "71": "string", + "72": "string", + "73": "string", + "74": "string", + "75": "string", + "76": "string", + "77": "string", + "78": "string", + "79": "string", + "80": "string", + "81": "string", + "82": "string", + "83": "string", + "84": "string", + "85": "string", + "86": "string", + "87": "string", + "88": "string", + "89": "string", + "90": "string", + "91": "string", + "92": "string", + "93": "string", + "94": "string", + "95": "string", + "96": "string", + "97": "string", + "98": "string", + "99": "string", + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "104": "string", + "105": "string", + "106": "string", + "107": "string", + "108": "string", + "109": "string", + "110": "string", + "111": "string", + "112": "string", + "113": "string", + "114": "string", + "115": "string", + "116": "string", + "117": "string", + "118": "string", + "119": "string", + "120": "string", + "121": "string", + "122": "string", + "123": "string", + "124": "string", + "125": "string", + "126": "string", + "127": "string", + "128": "string", + "129": "string", + "130": "string", + "131": "string", + "132": "string", + "133": "string", + "134": "string", + "135": "string", + "136": "string" + } + }, + "node:trace_events": { + "createTracing": "function", + "default": { + "createTracing": "function", + "getEnabledCategories": "function" + }, + "getEnabledCategories": "function" + }, + "node:tty": { + "ReadStream": "function", + "WriteStream": "function", + "default": { + "ReadStream": "function", + "WriteStream": "function", + "isatty": "function" + }, + "isatty": "function" + }, + "node:url": { + "URL": { + "canParse": "function", + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "default": { + "URL": { + "canParse": "function", + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "domainToASCII": "function", + "domainToUnicode": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "domainToASCII": "function", + "domainToUnicode": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "node:util": { + "MIMEParams": "function", + "MIMEType": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "_errnoException": "function", + "_exceptionWithHostPort": "function", + "_extend": "function", + "aborted": "function", + "callbackify": "function", + "debug": "function", + "debuglog": "function", + "default": { + "MIMEParams": "function", + "MIMEType": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "_errnoException": "function", + "_exceptionWithHostPort": "function", + "_extend": "function", + "aborted": "function", + "callbackify": "function", + "debug": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "formatWithOptions": "function", + "getSystemErrorMap": "function", + "getSystemErrorName": "function", + "inherits": "function", + "inspect": { + "colors": "object", + "custom": "symbol", + "styles": "object" + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "parseArgs": "function", + "promisify": { + "custom": "symbol" + }, + "stripVTControlCharacters": "function", + "toUSVString": "function", + "transferableAbortController": "function", + "transferableAbortSignal": "function", + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "deprecate": "function", + "format": "function", + "formatWithOptions": "function", + "getSystemErrorMap": "function", + "getSystemErrorName": "function", + "inherits": "function", + "inspect": { + "colors": { + "bgBlack": "object", + "bgBlue": "object", + "bgBlueBright": "object", + "bgCyan": "object", + "bgCyanBright": "object", + "bgGray": "object", + "bgGreen": "object", + "bgGreenBright": "object", + "bgMagenta": "object", + "bgMagentaBright": "object", + "bgRed": "object", + "bgRedBright": "object", + "bgWhite": "object", + "bgWhiteBright": "object", + "bgYellow": "object", + "bgYellowBright": "object", + "black": "object", + "blink": "object", + "blue": "object", + "blueBright": "object", + "bold": "object", + "cyan": "object", + "cyanBright": "object", + "dim": "object", + "doubleunderline": "object", + "framed": "object", + "gray": "object", + "green": "object", + "greenBright": "object", + "hidden": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "magentaBright": "object", + "overlined": "object", + "red": "object", + "redBright": "object", + "reset": "object", + "strikethrough": "object", + "underline": "object", + "white": "object", + "whiteBright": "object", + "yellow": "object", + "yellowBright": "object" + }, + "custom": "symbol", + "styles": { + "bigint": "string", + "boolean": "string", + "date": "string", + "module": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "symbol": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "parseArgs": "function", + "promisify": { + "custom": "symbol" + }, + "stripVTControlCharacters": "function", + "toUSVString": "function", + "transferableAbortController": "function", + "transferableAbortSignal": "function", + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:util/types": { + "default": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "node:v8": { + "DefaultDeserializer": "function", + "DefaultSerializer": "function", + "Deserializer": "function", + "GCProfiler": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "default": { + "DefaultDeserializer": "function", + "DefaultSerializer": "function", + "Deserializer": "function", + "GCProfiler": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "node:vm": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "createScript": "function", + "default": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "createScript": "function", + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "node:wasi": { + "WASI": "function", + "default": { + "WASI": "function" + } + }, + "node:worker_threads": { + "BroadcastChannel": "function", + "MessageChannel": "function", + "MessagePort": "function", + "SHARE_ENV": "symbol", + "Worker": "function", + "default": { + "BroadcastChannel": "function", + "MessageChannel": "function", + "MessagePort": "function", + "SHARE_ENV": "symbol", + "Worker": "function", + "getEnvironmentData": "function", + "isMainThread": "boolean", + "markAsUntransferable": "function", + "moveMessagePortToContext": "function", + "parentPort": "object", + "receiveMessageOnPort": "function", + "resourceLimits": "object", + "setEnvironmentData": "function", + "threadId": "number", + "workerData": "object" + }, + "getEnvironmentData": "function", + "isMainThread": "boolean", + "markAsUntransferable": "function", + "moveMessagePortToContext": "function", + "parentPort": "object", + "receiveMessageOnPort": "function", + "resourceLimits": "object", + "setEnvironmentData": "function", + "threadId": "number", + "workerData": "object" + }, + "node:zlib": { + "BrotliCompress": "function", + "BrotliDecompress": "function", + "Deflate": "function", + "DeflateRaw": "function", + "Gunzip": "function", + "Gzip": "function", + "Inflate": "function", + "InflateRaw": "function", + "Unzip": "function", + "brotliCompress": "function", + "brotliCompressSync": "function", + "brotliDecompress": "function", + "brotliDecompressSync": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-4": "string", + "-5": "string", + "-6": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "number", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "number" + }, + "constants": { + "BROTLI_DECODE": "number", + "BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES": "number", + "BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP": "number", + "BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES": "number", + "BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1": "number", + "BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2": "number", + "BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS": "number", + "BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET": "number", + "BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1": "number", + "BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2": "number", + "BROTLI_DECODER_ERROR_FORMAT_CL_SPACE": "number", + "BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT": "number", + "BROTLI_DECODER_ERROR_FORMAT_DICTIONARY": "number", + "BROTLI_DECODER_ERROR_FORMAT_DISTANCE": "number", + "BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE": "number", + "BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE": "number", + "BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE": "number", + "BROTLI_DECODER_ERROR_FORMAT_PADDING_1": "number", + "BROTLI_DECODER_ERROR_FORMAT_PADDING_2": "number", + "BROTLI_DECODER_ERROR_FORMAT_RESERVED": "number", + "BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET": "number", + "BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME": "number", + "BROTLI_DECODER_ERROR_FORMAT_TRANSFORM": "number", + "BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS": "number", + "BROTLI_DECODER_ERROR_INVALID_ARGUMENTS": "number", + "BROTLI_DECODER_ERROR_UNREACHABLE": "number", + "BROTLI_DECODER_NEEDS_MORE_INPUT": "number", + "BROTLI_DECODER_NEEDS_MORE_OUTPUT": "number", + "BROTLI_DECODER_NO_ERROR": "number", + "BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION": "number", + "BROTLI_DECODER_PARAM_LARGE_WINDOW": "number", + "BROTLI_DECODER_RESULT_ERROR": "number", + "BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT": "number", + "BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT": "number", + "BROTLI_DECODER_RESULT_SUCCESS": "number", + "BROTLI_DECODER_SUCCESS": "number", + "BROTLI_DEFAULT_MODE": "number", + "BROTLI_DEFAULT_QUALITY": "number", + "BROTLI_DEFAULT_WINDOW": "number", + "BROTLI_ENCODE": "number", + "BROTLI_LARGE_MAX_WINDOW_BITS": "number", + "BROTLI_MAX_INPUT_BLOCK_BITS": "number", + "BROTLI_MAX_QUALITY": "number", + "BROTLI_MAX_WINDOW_BITS": "number", + "BROTLI_MIN_INPUT_BLOCK_BITS": "number", + "BROTLI_MIN_QUALITY": "number", + "BROTLI_MIN_WINDOW_BITS": "number", + "BROTLI_MODE_FONT": "number", + "BROTLI_MODE_GENERIC": "number", + "BROTLI_MODE_TEXT": "number", + "BROTLI_OPERATION_EMIT_METADATA": "number", + "BROTLI_OPERATION_FINISH": "number", + "BROTLI_OPERATION_FLUSH": "number", + "BROTLI_OPERATION_PROCESS": "number", + "BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING": "number", + "BROTLI_PARAM_LARGE_WINDOW": "number", + "BROTLI_PARAM_LGBLOCK": "number", + "BROTLI_PARAM_LGWIN": "number", + "BROTLI_PARAM_MODE": "number", + "BROTLI_PARAM_NDIRECT": "number", + "BROTLI_PARAM_NPOSTFIX": "number", + "BROTLI_PARAM_QUALITY": "number", + "BROTLI_PARAM_SIZE_HINT": "number", + "DEFLATE": "number", + "DEFLATERAW": "number", + "GUNZIP": "number", + "GZIP": "number", + "INFLATE": "number", + "INFLATERAW": "number", + "UNZIP": "number", + "ZLIB_VERNUM": "number", + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MEM_ERROR": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_VERSION_ERROR": "number" + }, + "createBrotliCompress": "function", + "createBrotliDecompress": "function", + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "default": { + "BrotliCompress": "function", + "BrotliDecompress": "function", + "Deflate": "function", + "DeflateRaw": "function", + "Gunzip": "function", + "Gzip": "function", + "Inflate": "function", + "InflateRaw": "function", + "Unzip": "function", + "brotliCompress": "function", + "brotliCompressSync": "function", + "brotliDecompress": "function", + "brotliDecompressSync": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-4": "string", + "-5": "string", + "-6": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "number", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "number" + }, + "constants": { + "BROTLI_DECODE": "number", + "BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES": "number", + "BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP": "number", + "BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES": "number", + "BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1": "number", + "BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2": "number", + "BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS": "number", + "BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET": "number", + "BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1": "number", + "BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2": "number", + "BROTLI_DECODER_ERROR_FORMAT_CL_SPACE": "number", + "BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT": "number", + "BROTLI_DECODER_ERROR_FORMAT_DICTIONARY": "number", + "BROTLI_DECODER_ERROR_FORMAT_DISTANCE": "number", + "BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE": "number", + "BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE": "number", + "BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE": "number", + "BROTLI_DECODER_ERROR_FORMAT_PADDING_1": "number", + "BROTLI_DECODER_ERROR_FORMAT_PADDING_2": "number", + "BROTLI_DECODER_ERROR_FORMAT_RESERVED": "number", + "BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET": "number", + "BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME": "number", + "BROTLI_DECODER_ERROR_FORMAT_TRANSFORM": "number", + "BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS": "number", + "BROTLI_DECODER_ERROR_INVALID_ARGUMENTS": "number", + "BROTLI_DECODER_ERROR_UNREACHABLE": "number", + "BROTLI_DECODER_NEEDS_MORE_INPUT": "number", + "BROTLI_DECODER_NEEDS_MORE_OUTPUT": "number", + "BROTLI_DECODER_NO_ERROR": "number", + "BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION": "number", + "BROTLI_DECODER_PARAM_LARGE_WINDOW": "number", + "BROTLI_DECODER_RESULT_ERROR": "number", + "BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT": "number", + "BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT": "number", + "BROTLI_DECODER_RESULT_SUCCESS": "number", + "BROTLI_DECODER_SUCCESS": "number", + "BROTLI_DEFAULT_MODE": "number", + "BROTLI_DEFAULT_QUALITY": "number", + "BROTLI_DEFAULT_WINDOW": "number", + "BROTLI_ENCODE": "number", + "BROTLI_LARGE_MAX_WINDOW_BITS": "number", + "BROTLI_MAX_INPUT_BLOCK_BITS": "number", + "BROTLI_MAX_QUALITY": "number", + "BROTLI_MAX_WINDOW_BITS": "number", + "BROTLI_MIN_INPUT_BLOCK_BITS": "number", + "BROTLI_MIN_QUALITY": "number", + "BROTLI_MIN_WINDOW_BITS": "number", + "BROTLI_MODE_FONT": "number", + "BROTLI_MODE_GENERIC": "number", + "BROTLI_MODE_TEXT": "number", + "BROTLI_OPERATION_EMIT_METADATA": "number", + "BROTLI_OPERATION_FINISH": "number", + "BROTLI_OPERATION_FLUSH": "number", + "BROTLI_OPERATION_PROCESS": "number", + "BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING": "number", + "BROTLI_PARAM_LARGE_WINDOW": "number", + "BROTLI_PARAM_LGBLOCK": "number", + "BROTLI_PARAM_LGWIN": "number", + "BROTLI_PARAM_MODE": "number", + "BROTLI_PARAM_NDIRECT": "number", + "BROTLI_PARAM_NPOSTFIX": "number", + "BROTLI_PARAM_QUALITY": "number", + "BROTLI_PARAM_SIZE_HINT": "number", + "DEFLATE": "number", + "DEFLATERAW": "number", + "GUNZIP": "number", + "GZIP": "number", + "INFLATE": "number", + "INFLATERAW": "number", + "UNZIP": "number", + "ZLIB_VERNUM": "number", + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MEM_ERROR": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_VERSION_ERROR": "number" + }, + "createBrotliCompress": "function", + "createBrotliDecompress": "function", + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + }, + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + } + }, + "require": { + "node:_http_agent": { + "Agent": { + "defaultMaxSockets": "number" + }, + "globalAgent": { + "_events": { + "free": "function", + "newListener": "function" + }, + "_eventsCount": "number", + "_maxListeners": "undefined", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": { + "keepAlive": "boolean", + "noDelay": "boolean", + "path": "object", + "scheduling": "string", + "timeout": "number" + }, + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + } + }, + "node:_http_client": { + "ClientRequest": "function" + }, + "node:_http_common": { + "CRLF": "string", + "HTTPParser": { + "REQUEST": "number", + "RESPONSE": "number", + "kLenientAll": "number", + "kLenientChunkedLength": "number", + "kLenientHeaders": "number", + "kLenientKeepAlive": "number", + "kLenientNone": "number", + "kOnBody": "number", + "kOnExecute": "number", + "kOnHeaders": "number", + "kOnHeadersComplete": "number", + "kOnMessageBegin": "number", + "kOnMessageComplete": "number", + "kOnTimeout": "number" + }, + "_checkInvalidHeaderChar": "function", + "_checkIsHttpToken": "function", + "chunkExpression": "object", + "continueExpression": "object", + "freeParser": "function", + "isLenient": "function", + "kIncomingMessage": "symbol", + "methods": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "parsers": { + "ctor": "function", + "list": "object", + "max": "number", + "name": "string" + }, + "prepareError": "function" + }, + "node:_http_incoming": { + "IncomingMessage": "function", + "readStart": "function", + "readStop": "function" + }, + "node:_http_outgoing": { + "OutgoingMessage": "function", + "kHighWaterMark": "symbol", + "kUniqueHeaders": "symbol", + "parseUniqueHeadersOption": "function", + "validateHeaderName": "function", + "validateHeaderValue": "function" + }, + "node:_http_server": { + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "_connectionListener": "function", + "kServerResponse": "symbol", + "setupConnectionsTracking": "function", + "storeHTTPOptions": "function" + }, + "node:_stream_duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "node:_stream_passthrough": {}, + "node:_stream_readable": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "node:_stream_transform": {}, + "node:_stream_wrap": {}, + "node:_stream_writable": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "node:_tls_common": { + "SecureContext": "function", + "createSecureContext": "function", + "translatePeerCertificate": "function" + }, + "node:_tls_wrap": { + "Server": "function", + "TLSSocket": "function", + "connect": "function", + "createServer": "function" + }, + "node:assert": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:assert/strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "rejects": "function", + "strict": { + "AssertionError": "function", + "CallTracker": "function", + "deepEqual": "function", + "deepStrictEqual": "function", + "doesNotMatch": "function", + "doesNotReject": "function", + "doesNotThrow": "function", + "equal": "function", + "fail": "function", + "ifError": "function", + "match": "function", + "notDeepEqual": "function", + "notDeepStrictEqual": "function", + "notEqual": "function", + "notStrictEqual": "function", + "ok": "function", + "rejects": "function", + "strict": "function", + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "strictEqual": "function", + "throws": "function" + }, + "node:async_hooks": { + "AsyncLocalStorage": "function", + "AsyncResource": "function", + "asyncWrapProviders": { + "BLOBREADER": "number", + "CHECKPRIMEREQUEST": "number", + "CIPHERREQUEST": "number", + "DERIVEBITSREQUEST": "number", + "DIRHANDLE": "number", + "DNSCHANNEL": "number", + "ELDHISTOGRAM": "number", + "FILEHANDLE": "number", + "FILEHANDLECLOSEREQ": "number", + "FSEVENTWRAP": "number", + "FSREQCALLBACK": "number", + "FSREQPROMISE": "number", + "GETADDRINFOREQWRAP": "number", + "GETNAMEINFOREQWRAP": "number", + "HASHREQUEST": "number", + "HEAPSNAPSHOT": "number", + "HTTP2PING": "number", + "HTTP2SESSION": "number", + "HTTP2SETTINGS": "number", + "HTTP2STREAM": "number", + "HTTPCLIENTREQUEST": "number", + "HTTPINCOMINGMESSAGE": "number", + "INSPECTORJSBINDING": "number", + "JSSTREAM": "number", + "JSUDPWRAP": "number", + "KEYEXPORTREQUEST": "number", + "KEYGENREQUEST": "number", + "KEYPAIRGENREQUEST": "number", + "MESSAGEPORT": "number", + "NONE": "number", + "PBKDF2REQUEST": "number", + "PIPECONNECTWRAP": "number", + "PIPESERVERWRAP": "number", + "PIPEWRAP": "number", + "PROCESSWRAP": "number", + "PROMISE": "number", + "QUERYWRAP": "number", + "QUIC_LOGSTREAM": "number", + "QUIC_PACKET": "number", + "RANDOMBYTESREQUEST": "number", + "RANDOMPRIMEREQUEST": "number", + "SCRYPTREQUEST": "number", + "SHUTDOWNWRAP": "number", + "SIGINTWATCHDOG": "number", + "SIGNALWRAP": "number", + "SIGNREQUEST": "number", + "STATWATCHER": "number", + "STREAMPIPE": "number", + "TCPCONNECTWRAP": "number", + "TCPSERVERWRAP": "number", + "TCPWRAP": "number", + "TLSWRAP": "number", + "TTYWRAP": "number", + "UDPSENDWRAP": "number", + "UDPWRAP": "number", + "VERIFYREQUEST": "number", + "WORKER": "number", + "WORKERHEAPSNAPSHOT": "number", + "WRITEWRAP": "number", + "ZLIB": "number" + }, + "createHook": "function", + "executionAsyncId": "function", + "executionAsyncResource": "function", + "triggerAsyncId": "function" + }, + "node:buffer": { + "Blob": "function", + "Buffer": { + "alloc": "function", + "allocUnsafe": "function", + "allocUnsafeSlow": "function", + "byteLength": "function", + "compare": "function", + "concat": "function", + "copyBytesFrom": "function", + "from": "function", + "isBuffer": "function", + "isEncoding": "function", + "of": "function", + "poolSize": "number" + }, + "File": "function", + "INSPECT_MAX_BYTES": "number", + "SlowBuffer": "function", + "atob": "function", + "btoa": "function", + "constants": { + "MAX_LENGTH": "number", + "MAX_STRING_LENGTH": "number" + }, + "isAscii": "function", + "isUtf8": "function", + "kMaxLength": "number", + "kStringMaxLength": "number", + "resolveObjectURL": "function", + "transcode": "function" + }, + "node:child_process": { + "ChildProcess": "function", + "_forkChild": "function", + "exec": "function", + "execFile": "function", + "execFileSync": "function", + "execSync": "function", + "fork": "function", + "spawn": "function", + "spawnSync": "function" + }, + "node:cluster": { + "SCHED_NONE": "number", + "SCHED_RR": "number", + "Worker": "function", + "_events": "object", + "_eventsCount": "number", + "_maxListeners": "undefined", + "disconnect": "function", + "fork": "function", + "isMaster": "boolean", + "isPrimary": "boolean", + "isWorker": "boolean", + "schedulingPolicy": "number", + "settings": "object", + "setupMaster": "function", + "setupPrimary": "function", + "workers": "object" + }, + "node:console": { + "Console": "function", + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "createTask": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "node:constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENGINE_METHOD_ALL": "number", + "ENGINE_METHOD_CIPHERS": "number", + "ENGINE_METHOD_DH": "number", + "ENGINE_METHOD_DIGESTS": "number", + "ENGINE_METHOD_DSA": "number", + "ENGINE_METHOD_EC": "number", + "ENGINE_METHOD_NONE": "number", + "ENGINE_METHOD_PKEY_ASN1_METHS": "number", + "ENGINE_METHOD_PKEY_METHS": "number", + "ENGINE_METHOD_RAND": "number", + "ENGINE_METHOD_RSA": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTSUP": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EWOULDBLOCK": "number", + "EXDEV": "number", + "F_OK": "number", + "OPENSSL_VERSION_NUMBER": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_PSS_SALTLEN_AUTO": "number", + "RSA_PSS_SALTLEN_DIGEST": "number", + "RSA_PSS_SALTLEN_MAX_SIGN": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number", + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number", + "R_OK": "number", + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number", + "SSL_OP_ALL": "number", + "SSL_OP_ALLOW_NO_DHE_KEX": "number", + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": "number", + "SSL_OP_CIPHER_SERVER_PREFERENCE": "number", + "SSL_OP_CISCO_ANYCONNECT": "number", + "SSL_OP_COOKIE_EXCHANGE": "number", + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": "number", + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": "number", + "SSL_OP_LEGACY_SERVER_CONNECT": "number", + "SSL_OP_NO_COMPRESSION": "number", + "SSL_OP_NO_ENCRYPT_THEN_MAC": "number", + "SSL_OP_NO_QUERY_MTU": "number", + "SSL_OP_NO_RENEGOTIATION": "number", + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": "number", + "SSL_OP_NO_SSLv2": "number", + "SSL_OP_NO_SSLv3": "number", + "SSL_OP_NO_TICKET": "number", + "SSL_OP_NO_TLSv1": "number", + "SSL_OP_NO_TLSv1_1": "number", + "SSL_OP_NO_TLSv1_2": "number", + "SSL_OP_NO_TLSv1_3": "number", + "SSL_OP_PRIORITIZE_CHACHA": "number", + "SSL_OP_TLS_ROLLBACK_BUG": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "TLS1_1_VERSION": "number", + "TLS1_2_VERSION": "number", + "TLS1_3_VERSION": "number", + "TLS1_VERSION": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number", + "defaultCipherList": "string", + "defaultCoreCipherList": "string" + }, + "node:crypto": { + "Certificate": { + "exportChallenge": "function", + "exportPublicKey": "function", + "verifySpkac": "function" + }, + "Cipher": "function", + "Cipheriv": "function", + "Decipher": "function", + "Decipheriv": "function", + "DiffieHellman": "function", + "DiffieHellmanGroup": "function", + "ECDH": { + "convertKey": "function" + }, + "Hash": "function", + "Hmac": "function", + "KeyObject": "function", + "Sign": "function", + "Verify": "function", + "X509Certificate": "function", + "checkPrime": "function", + "checkPrimeSync": "function", + "constants": { + "DH_CHECK_P_NOT_PRIME": "number", + "DH_CHECK_P_NOT_SAFE_PRIME": "number", + "DH_NOT_SUITABLE_GENERATOR": "number", + "DH_UNABLE_TO_CHECK_GENERATOR": "number", + "ENGINE_METHOD_ALL": "number", + "ENGINE_METHOD_CIPHERS": "number", + "ENGINE_METHOD_DH": "number", + "ENGINE_METHOD_DIGESTS": "number", + "ENGINE_METHOD_DSA": "number", + "ENGINE_METHOD_EC": "number", + "ENGINE_METHOD_NONE": "number", + "ENGINE_METHOD_PKEY_ASN1_METHS": "number", + "ENGINE_METHOD_PKEY_METHS": "number", + "ENGINE_METHOD_RAND": "number", + "ENGINE_METHOD_RSA": "number", + "OPENSSL_VERSION_NUMBER": "number", + "POINT_CONVERSION_COMPRESSED": "number", + "POINT_CONVERSION_HYBRID": "number", + "POINT_CONVERSION_UNCOMPRESSED": "number", + "RSA_NO_PADDING": "number", + "RSA_PKCS1_OAEP_PADDING": "number", + "RSA_PKCS1_PADDING": "number", + "RSA_PKCS1_PSS_PADDING": "number", + "RSA_PSS_SALTLEN_AUTO": "number", + "RSA_PSS_SALTLEN_DIGEST": "number", + "RSA_PSS_SALTLEN_MAX_SIGN": "number", + "RSA_SSLV23_PADDING": "number", + "RSA_X931_PADDING": "number", + "SSL_OP_ALL": "number", + "SSL_OP_ALLOW_NO_DHE_KEX": "number", + "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": "number", + "SSL_OP_CIPHER_SERVER_PREFERENCE": "number", + "SSL_OP_CISCO_ANYCONNECT": "number", + "SSL_OP_COOKIE_EXCHANGE": "number", + "SSL_OP_CRYPTOPRO_TLSEXT_BUG": "number", + "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": "number", + "SSL_OP_LEGACY_SERVER_CONNECT": "number", + "SSL_OP_NO_COMPRESSION": "number", + "SSL_OP_NO_ENCRYPT_THEN_MAC": "number", + "SSL_OP_NO_QUERY_MTU": "number", + "SSL_OP_NO_RENEGOTIATION": "number", + "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": "number", + "SSL_OP_NO_SSLv2": "number", + "SSL_OP_NO_SSLv3": "number", + "SSL_OP_NO_TICKET": "number", + "SSL_OP_NO_TLSv1": "number", + "SSL_OP_NO_TLSv1_1": "number", + "SSL_OP_NO_TLSv1_2": "number", + "SSL_OP_NO_TLSv1_3": "number", + "SSL_OP_PRIORITIZE_CHACHA": "number", + "SSL_OP_TLS_ROLLBACK_BUG": "number", + "TLS1_1_VERSION": "number", + "TLS1_2_VERSION": "number", + "TLS1_3_VERSION": "number", + "TLS1_VERSION": "number", + "defaultCipherList": "string", + "defaultCoreCipherList": "string" + }, + "createCipheriv": "function", + "createDecipheriv": "function", + "createDiffieHellman": "function", + "createDiffieHellmanGroup": "function", + "createECDH": "function", + "createHash": "function", + "createHmac": "function", + "createPrivateKey": "function", + "createPublicKey": "function", + "createSecretKey": "function", + "createSign": "function", + "createVerify": "function", + "diffieHellman": "function", + "generateKey": "function", + "generateKeyPair": "function", + "generateKeyPairSync": "function", + "generateKeySync": "function", + "generatePrime": "function", + "generatePrimeSync": "function", + "getCipherInfo": "function", + "getCiphers": "function", + "getCurves": "function", + "getDiffieHellman": "function", + "getFips": "function", + "getHashes": "function", + "getRandomValues": "function", + "hkdf": "function", + "hkdfSync": "function", + "pbkdf2": "function", + "pbkdf2Sync": "function", + "privateDecrypt": "function", + "privateEncrypt": "function", + "publicDecrypt": "function", + "publicEncrypt": "function", + "randomBytes": "function", + "randomFill": "function", + "randomFillSync": "function", + "randomInt": "function", + "randomUUID": "function", + "scrypt": "function", + "scryptSync": "function", + "secureHeapUsed": "function", + "setEngine": "function", + "setFips": "function", + "sign": "function", + "subtle": "object", + "timingSafeEqual": "function", + "verify": "function", + "webcrypto": "object" + }, + "node:dgram": { + "Socket": "function", + "_createSocketHandle": "function", + "createSocket": "function" + }, + "node:diagnostics_channel": { + "Channel": "function", + "channel": "function", + "hasSubscribers": "function", + "subscribe": "function", + "tracingChannel": "function", + "unsubscribe": "function" + }, + "node:dns": { + "ADDRCONFIG": "number", + "ADDRGETNETWORKPARAMS": "string", + "ALL": "number", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "V4MAPPED": "number", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "promises": { + "ADDRGETNETWORKPARAMS": "string", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:dns/promises": { + "ADDRGETNETWORKPARAMS": "string", + "BADFAMILY": "string", + "BADFLAGS": "string", + "BADHINTS": "string", + "BADNAME": "string", + "BADQUERY": "string", + "BADRESP": "string", + "BADSTR": "string", + "CANCELLED": "string", + "CONNREFUSED": "string", + "DESTRUCTION": "string", + "EOF": "string", + "FILE": "string", + "FORMERR": "string", + "LOADIPHLPAPI": "string", + "NODATA": "string", + "NOMEM": "string", + "NONAME": "string", + "NOTFOUND": "string", + "NOTIMP": "string", + "NOTINITIALIZED": "string", + "REFUSED": "string", + "Resolver": "function", + "SERVFAIL": "string", + "TIMEOUT": "string", + "getDefaultResultOrder": "function", + "getServers": "function", + "lookup": "function", + "lookupService": "function", + "resolve": "function", + "resolve4": "function", + "resolve6": "function", + "resolveAny": "function", + "resolveCaa": "function", + "resolveCname": "function", + "resolveMx": "function", + "resolveNaptr": "function", + "resolveNs": "function", + "resolvePtr": "function", + "resolveSoa": "function", + "resolveSrv": "function", + "resolveTxt": "function", + "reverse": "function", + "setDefaultResultOrder": "function", + "setServers": "function" + }, + "node:domain": { + "Domain": "function", + "_stack": "object", + "active": "object", + "create": "function", + "createDomain": "function" + }, + "node:events": { + "EventEmitter": { + "EventEmitter": { + "EventEmitter": "function", + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "EventEmitterAsyncResource": "function", + "captureRejectionSymbol": "symbol", + "captureRejections": "boolean", + "defaultMaxListeners": "number", + "errorMonitor": "symbol", + "getEventListeners": "function", + "getMaxListeners": "function", + "init": "function", + "listenerCount": "function", + "on": "function", + "once": "function", + "setMaxListeners": "function", + "usingDomains": "boolean" + }, + "node:fs": { + "Dir": "function", + "Dirent": "function", + "F_OK": "number", + "FileReadStream": "function", + "FileWriteStream": "function", + "R_OK": "number", + "ReadStream": "function", + "Stats": "function", + "W_OK": "number", + "WriteStream": "function", + "X_OK": "number", + "_toUnixTimestamp": "function", + "access": "function", + "accessSync": "function", + "appendFile": "function", + "appendFileSync": "function", + "chmod": "function", + "chmodSync": "function", + "chown": "function", + "chownSync": "function", + "close": "function", + "closeSync": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "copyFileSync": "function", + "cp": "function", + "cpSync": "function", + "createReadStream": "function", + "createWriteStream": "function", + "exists": "function", + "existsSync": "function", + "fchmod": "function", + "fchmodSync": "function", + "fchown": "function", + "fchownSync": "function", + "fdatasync": "function", + "fdatasyncSync": "function", + "fstat": "function", + "fstatSync": "function", + "fsync": "function", + "fsyncSync": "function", + "ftruncate": "function", + "ftruncateSync": "function", + "futimes": "function", + "futimesSync": "function", + "lchmod": "function", + "lchmodSync": "function", + "lchown": "function", + "lchownSync": "function", + "link": "function", + "linkSync": "function", + "lstat": "function", + "lstatSync": "function", + "lutimes": "function", + "lutimesSync": "function", + "mkdir": "function", + "mkdirSync": "function", + "mkdtemp": "function", + "mkdtempSync": "function", + "open": "function", + "openAsBlob": "function", + "openSync": "function", + "opendir": "function", + "opendirSync": "function", + "promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "cp": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "opendir": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "statfs": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "writeFile": "function" + }, + "read": "function", + "readFile": "function", + "readFileSync": "function", + "readSync": "function", + "readdir": "function", + "readdirSync": "function", + "readlink": "function", + "readlinkSync": "function", + "readv": "function", + "readvSync": "function", + "realpath": { + "native": "function" + }, + "realpathSync": { + "native": "function" + }, + "rename": "function", + "renameSync": "function", + "rm": "function", + "rmSync": "function", + "rmdir": "function", + "rmdirSync": "function", + "stat": "function", + "statSync": "function", + "statfs": "function", + "statfsSync": "function", + "symlink": "function", + "symlinkSync": "function", + "truncate": "function", + "truncateSync": "function", + "unlink": "function", + "unlinkSync": "function", + "unwatchFile": "function", + "utimes": "function", + "utimesSync": "function", + "watch": "function", + "watchFile": "function", + "write": "function", + "writeFile": "function", + "writeFileSync": "function", + "writeSync": "function", + "writev": "function", + "writevSync": "function" + }, + "node:fs/promises": { + "access": "function", + "appendFile": "function", + "chmod": "function", + "chown": "function", + "constants": { + "COPYFILE_EXCL": "number", + "COPYFILE_FICLONE": "number", + "COPYFILE_FICLONE_FORCE": "number", + "F_OK": "number", + "O_APPEND": "number", + "O_CREAT": "number", + "O_DIRECTORY": "number", + "O_DSYNC": "number", + "O_EXCL": "number", + "O_NOCTTY": "number", + "O_NOFOLLOW": "number", + "O_NONBLOCK": "number", + "O_RDONLY": "number", + "O_RDWR": "number", + "O_SYMLINK": "number", + "O_SYNC": "number", + "O_TRUNC": "number", + "O_WRONLY": "number", + "R_OK": "number", + "S_IFBLK": "number", + "S_IFCHR": "number", + "S_IFDIR": "number", + "S_IFIFO": "number", + "S_IFLNK": "number", + "S_IFMT": "number", + "S_IFREG": "number", + "S_IFSOCK": "number", + "S_IRGRP": "number", + "S_IROTH": "number", + "S_IRUSR": "number", + "S_IRWXG": "number", + "S_IRWXO": "number", + "S_IRWXU": "number", + "S_IWGRP": "number", + "S_IWOTH": "number", + "S_IWUSR": "number", + "S_IXGRP": "number", + "S_IXOTH": "number", + "S_IXUSR": "number", + "UV_DIRENT_BLOCK": "number", + "UV_DIRENT_CHAR": "number", + "UV_DIRENT_DIR": "number", + "UV_DIRENT_FIFO": "number", + "UV_DIRENT_FILE": "number", + "UV_DIRENT_LINK": "number", + "UV_DIRENT_SOCKET": "number", + "UV_DIRENT_UNKNOWN": "number", + "UV_FS_COPYFILE_EXCL": "number", + "UV_FS_COPYFILE_FICLONE": "number", + "UV_FS_COPYFILE_FICLONE_FORCE": "number", + "UV_FS_O_FILEMAP": "number", + "UV_FS_SYMLINK_DIR": "number", + "UV_FS_SYMLINK_JUNCTION": "number", + "W_OK": "number", + "X_OK": "number" + }, + "copyFile": "function", + "cp": "function", + "lchmod": "function", + "lchown": "function", + "link": "function", + "lstat": "function", + "lutimes": "function", + "mkdir": "function", + "mkdtemp": "function", + "open": "function", + "opendir": "function", + "readFile": "function", + "readdir": "function", + "readlink": "function", + "realpath": "function", + "rename": "function", + "rm": "function", + "rmdir": "function", + "stat": "function", + "statfs": "function", + "symlink": "function", + "truncate": "function", + "unlink": "function", + "utimes": "function", + "watch": "function", + "writeFile": "function" + }, + "node:http": { + "Agent": { + "defaultMaxSockets": "number" + }, + "ClientRequest": "function", + "IncomingMessage": "function", + "METHODS": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string" + }, + "OutgoingMessage": "function", + "STATUS_CODES": { + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "226": "string", + "300": "string", + "301": "string", + "302": "string", + "303": "string", + "304": "string", + "305": "string", + "307": "string", + "308": "string", + "400": "string", + "401": "string", + "402": "string", + "403": "string", + "404": "string", + "405": "string", + "406": "string", + "407": "string", + "408": "string", + "409": "string", + "410": "string", + "411": "string", + "412": "string", + "413": "string", + "414": "string", + "415": "string", + "416": "string", + "417": "string", + "418": "string", + "421": "string", + "422": "string", + "423": "string", + "424": "string", + "425": "string", + "426": "string", + "428": "string", + "429": "string", + "431": "string", + "451": "string", + "500": "string", + "501": "string", + "502": "string", + "503": "string", + "504": "string", + "505": "string", + "506": "string", + "507": "string", + "508": "string", + "509": "string", + "510": "string", + "511": "string" + }, + "Server": "function", + "ServerResponse": "function", + "_connectionListener": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": { + "free": "function", + "newListener": "function" + }, + "_eventsCount": "number", + "_maxListeners": "undefined", + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": { + "keepAlive": "boolean", + "noDelay": "boolean", + "path": "object", + "scheduling": "string", + "timeout": "number" + }, + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + }, + "maxHeaderSize": "number", + "request": "function", + "setMaxIdleHTTPParsers": "function", + "validateHeaderName": "function", + "validateHeaderValue": "function" + }, + "node:http2": { + "Http2ServerRequest": "function", + "Http2ServerResponse": "function", + "connect": "function", + "constants": { + "DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "DEFAULT_SETTINGS_ENABLE_PUSH": "number", + "DEFAULT_SETTINGS_HEADER_TABLE_SIZE": "number", + "DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "DEFAULT_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "DEFAULT_SETTINGS_MAX_FRAME_SIZE": "number", + "DEFAULT_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "HTTP2_HEADER_ACCEPT": "string", + "HTTP2_HEADER_ACCEPT_CHARSET": "string", + "HTTP2_HEADER_ACCEPT_ENCODING": "string", + "HTTP2_HEADER_ACCEPT_LANGUAGE": "string", + "HTTP2_HEADER_ACCEPT_RANGES": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_MAX_AGE": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS": "string", + "HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD": "string", + "HTTP2_HEADER_AGE": "string", + "HTTP2_HEADER_ALLOW": "string", + "HTTP2_HEADER_ALT_SVC": "string", + "HTTP2_HEADER_AUTHORITY": "string", + "HTTP2_HEADER_AUTHORIZATION": "string", + "HTTP2_HEADER_CACHE_CONTROL": "string", + "HTTP2_HEADER_CONNECTION": "string", + "HTTP2_HEADER_CONTENT_DISPOSITION": "string", + "HTTP2_HEADER_CONTENT_ENCODING": "string", + "HTTP2_HEADER_CONTENT_LANGUAGE": "string", + "HTTP2_HEADER_CONTENT_LENGTH": "string", + "HTTP2_HEADER_CONTENT_LOCATION": "string", + "HTTP2_HEADER_CONTENT_MD5": "string", + "HTTP2_HEADER_CONTENT_RANGE": "string", + "HTTP2_HEADER_CONTENT_SECURITY_POLICY": "string", + "HTTP2_HEADER_CONTENT_TYPE": "string", + "HTTP2_HEADER_COOKIE": "string", + "HTTP2_HEADER_DATE": "string", + "HTTP2_HEADER_DNT": "string", + "HTTP2_HEADER_EARLY_DATA": "string", + "HTTP2_HEADER_ETAG": "string", + "HTTP2_HEADER_EXPECT": "string", + "HTTP2_HEADER_EXPECT_CT": "string", + "HTTP2_HEADER_EXPIRES": "string", + "HTTP2_HEADER_FORWARDED": "string", + "HTTP2_HEADER_FROM": "string", + "HTTP2_HEADER_HOST": "string", + "HTTP2_HEADER_HTTP2_SETTINGS": "string", + "HTTP2_HEADER_IF_MATCH": "string", + "HTTP2_HEADER_IF_MODIFIED_SINCE": "string", + "HTTP2_HEADER_IF_NONE_MATCH": "string", + "HTTP2_HEADER_IF_RANGE": "string", + "HTTP2_HEADER_IF_UNMODIFIED_SINCE": "string", + "HTTP2_HEADER_KEEP_ALIVE": "string", + "HTTP2_HEADER_LAST_MODIFIED": "string", + "HTTP2_HEADER_LINK": "string", + "HTTP2_HEADER_LOCATION": "string", + "HTTP2_HEADER_MAX_FORWARDS": "string", + "HTTP2_HEADER_METHOD": "string", + "HTTP2_HEADER_ORIGIN": "string", + "HTTP2_HEADER_PATH": "string", + "HTTP2_HEADER_PREFER": "string", + "HTTP2_HEADER_PRIORITY": "string", + "HTTP2_HEADER_PROTOCOL": "string", + "HTTP2_HEADER_PROXY_AUTHENTICATE": "string", + "HTTP2_HEADER_PROXY_AUTHORIZATION": "string", + "HTTP2_HEADER_PROXY_CONNECTION": "string", + "HTTP2_HEADER_PURPOSE": "string", + "HTTP2_HEADER_RANGE": "string", + "HTTP2_HEADER_REFERER": "string", + "HTTP2_HEADER_REFRESH": "string", + "HTTP2_HEADER_RETRY_AFTER": "string", + "HTTP2_HEADER_SCHEME": "string", + "HTTP2_HEADER_SERVER": "string", + "HTTP2_HEADER_SET_COOKIE": "string", + "HTTP2_HEADER_STATUS": "string", + "HTTP2_HEADER_STRICT_TRANSPORT_SECURITY": "string", + "HTTP2_HEADER_TE": "string", + "HTTP2_HEADER_TIMING_ALLOW_ORIGIN": "string", + "HTTP2_HEADER_TK": "string", + "HTTP2_HEADER_TRAILER": "string", + "HTTP2_HEADER_TRANSFER_ENCODING": "string", + "HTTP2_HEADER_UPGRADE": "string", + "HTTP2_HEADER_UPGRADE_INSECURE_REQUESTS": "string", + "HTTP2_HEADER_USER_AGENT": "string", + "HTTP2_HEADER_VARY": "string", + "HTTP2_HEADER_VIA": "string", + "HTTP2_HEADER_WARNING": "string", + "HTTP2_HEADER_WWW_AUTHENTICATE": "string", + "HTTP2_HEADER_X_CONTENT_TYPE_OPTIONS": "string", + "HTTP2_HEADER_X_FORWARDED_FOR": "string", + "HTTP2_HEADER_X_FRAME_OPTIONS": "string", + "HTTP2_HEADER_X_XSS_PROTECTION": "string", + "HTTP2_METHOD_ACL": "string", + "HTTP2_METHOD_BASELINE_CONTROL": "string", + "HTTP2_METHOD_BIND": "string", + "HTTP2_METHOD_CHECKIN": "string", + "HTTP2_METHOD_CHECKOUT": "string", + "HTTP2_METHOD_CONNECT": "string", + "HTTP2_METHOD_COPY": "string", + "HTTP2_METHOD_DELETE": "string", + "HTTP2_METHOD_GET": "string", + "HTTP2_METHOD_HEAD": "string", + "HTTP2_METHOD_LABEL": "string", + "HTTP2_METHOD_LINK": "string", + "HTTP2_METHOD_LOCK": "string", + "HTTP2_METHOD_MERGE": "string", + "HTTP2_METHOD_MKACTIVITY": "string", + "HTTP2_METHOD_MKCALENDAR": "string", + "HTTP2_METHOD_MKCOL": "string", + "HTTP2_METHOD_MKREDIRECTREF": "string", + "HTTP2_METHOD_MKWORKSPACE": "string", + "HTTP2_METHOD_MOVE": "string", + "HTTP2_METHOD_OPTIONS": "string", + "HTTP2_METHOD_ORDERPATCH": "string", + "HTTP2_METHOD_PATCH": "string", + "HTTP2_METHOD_POST": "string", + "HTTP2_METHOD_PRI": "string", + "HTTP2_METHOD_PROPFIND": "string", + "HTTP2_METHOD_PROPPATCH": "string", + "HTTP2_METHOD_PUT": "string", + "HTTP2_METHOD_REBIND": "string", + "HTTP2_METHOD_REPORT": "string", + "HTTP2_METHOD_SEARCH": "string", + "HTTP2_METHOD_TRACE": "string", + "HTTP2_METHOD_UNBIND": "string", + "HTTP2_METHOD_UNCHECKOUT": "string", + "HTTP2_METHOD_UNLINK": "string", + "HTTP2_METHOD_UNLOCK": "string", + "HTTP2_METHOD_UPDATE": "string", + "HTTP2_METHOD_UPDATEREDIRECTREF": "string", + "HTTP2_METHOD_VERSION_CONTROL": "string", + "HTTP_STATUS_ACCEPTED": "number", + "HTTP_STATUS_ALREADY_REPORTED": "number", + "HTTP_STATUS_BAD_GATEWAY": "number", + "HTTP_STATUS_BAD_REQUEST": "number", + "HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED": "number", + "HTTP_STATUS_CONFLICT": "number", + "HTTP_STATUS_CONTINUE": "number", + "HTTP_STATUS_CREATED": "number", + "HTTP_STATUS_EARLY_HINTS": "number", + "HTTP_STATUS_EXPECTATION_FAILED": "number", + "HTTP_STATUS_FAILED_DEPENDENCY": "number", + "HTTP_STATUS_FORBIDDEN": "number", + "HTTP_STATUS_FOUND": "number", + "HTTP_STATUS_GATEWAY_TIMEOUT": "number", + "HTTP_STATUS_GONE": "number", + "HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED": "number", + "HTTP_STATUS_IM_USED": "number", + "HTTP_STATUS_INSUFFICIENT_STORAGE": "number", + "HTTP_STATUS_INTERNAL_SERVER_ERROR": "number", + "HTTP_STATUS_LENGTH_REQUIRED": "number", + "HTTP_STATUS_LOCKED": "number", + "HTTP_STATUS_LOOP_DETECTED": "number", + "HTTP_STATUS_METHOD_NOT_ALLOWED": "number", + "HTTP_STATUS_MISDIRECTED_REQUEST": "number", + "HTTP_STATUS_MOVED_PERMANENTLY": "number", + "HTTP_STATUS_MULTIPLE_CHOICES": "number", + "HTTP_STATUS_MULTI_STATUS": "number", + "HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION": "number", + "HTTP_STATUS_NOT_ACCEPTABLE": "number", + "HTTP_STATUS_NOT_EXTENDED": "number", + "HTTP_STATUS_NOT_FOUND": "number", + "HTTP_STATUS_NOT_IMPLEMENTED": "number", + "HTTP_STATUS_NOT_MODIFIED": "number", + "HTTP_STATUS_NO_CONTENT": "number", + "HTTP_STATUS_OK": "number", + "HTTP_STATUS_PARTIAL_CONTENT": "number", + "HTTP_STATUS_PAYLOAD_TOO_LARGE": "number", + "HTTP_STATUS_PAYMENT_REQUIRED": "number", + "HTTP_STATUS_PERMANENT_REDIRECT": "number", + "HTTP_STATUS_PRECONDITION_FAILED": "number", + "HTTP_STATUS_PRECONDITION_REQUIRED": "number", + "HTTP_STATUS_PROCESSING": "number", + "HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED": "number", + "HTTP_STATUS_RANGE_NOT_SATISFIABLE": "number", + "HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE": "number", + "HTTP_STATUS_REQUEST_TIMEOUT": "number", + "HTTP_STATUS_RESET_CONTENT": "number", + "HTTP_STATUS_SEE_OTHER": "number", + "HTTP_STATUS_SERVICE_UNAVAILABLE": "number", + "HTTP_STATUS_SWITCHING_PROTOCOLS": "number", + "HTTP_STATUS_TEAPOT": "number", + "HTTP_STATUS_TEMPORARY_REDIRECT": "number", + "HTTP_STATUS_TOO_EARLY": "number", + "HTTP_STATUS_TOO_MANY_REQUESTS": "number", + "HTTP_STATUS_UNAUTHORIZED": "number", + "HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS": "number", + "HTTP_STATUS_UNPROCESSABLE_ENTITY": "number", + "HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE": "number", + "HTTP_STATUS_UPGRADE_REQUIRED": "number", + "HTTP_STATUS_URI_TOO_LONG": "number", + "HTTP_STATUS_USE_PROXY": "number", + "HTTP_STATUS_VARIANT_ALSO_NEGOTIATES": "number", + "MAX_INITIAL_WINDOW_SIZE": "number", + "MAX_MAX_FRAME_SIZE": "number", + "MIN_MAX_FRAME_SIZE": "number", + "NGHTTP2_CANCEL": "number", + "NGHTTP2_COMPRESSION_ERROR": "number", + "NGHTTP2_CONNECT_ERROR": "number", + "NGHTTP2_DEFAULT_WEIGHT": "number", + "NGHTTP2_ENHANCE_YOUR_CALM": "number", + "NGHTTP2_ERR_FRAME_SIZE_ERROR": "number", + "NGHTTP2_FLAG_ACK": "number", + "NGHTTP2_FLAG_END_HEADERS": "number", + "NGHTTP2_FLAG_END_STREAM": "number", + "NGHTTP2_FLAG_NONE": "number", + "NGHTTP2_FLAG_PADDED": "number", + "NGHTTP2_FLAG_PRIORITY": "number", + "NGHTTP2_FLOW_CONTROL_ERROR": "number", + "NGHTTP2_FRAME_SIZE_ERROR": "number", + "NGHTTP2_HTTP_1_1_REQUIRED": "number", + "NGHTTP2_INADEQUATE_SECURITY": "number", + "NGHTTP2_INTERNAL_ERROR": "number", + "NGHTTP2_NO_ERROR": "number", + "NGHTTP2_PROTOCOL_ERROR": "number", + "NGHTTP2_REFUSED_STREAM": "number", + "NGHTTP2_SESSION_CLIENT": "number", + "NGHTTP2_SESSION_SERVER": "number", + "NGHTTP2_SETTINGS_ENABLE_CONNECT_PROTOCOL": "number", + "NGHTTP2_SETTINGS_ENABLE_PUSH": "number", + "NGHTTP2_SETTINGS_HEADER_TABLE_SIZE": "number", + "NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS": "number", + "NGHTTP2_SETTINGS_MAX_FRAME_SIZE": "number", + "NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE": "number", + "NGHTTP2_SETTINGS_TIMEOUT": "number", + "NGHTTP2_STREAM_CLOSED": "number", + "NGHTTP2_STREAM_STATE_CLOSED": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE": "number", + "NGHTTP2_STREAM_STATE_IDLE": "number", + "NGHTTP2_STREAM_STATE_OPEN": "number", + "NGHTTP2_STREAM_STATE_RESERVED_LOCAL": "number", + "NGHTTP2_STREAM_STATE_RESERVED_REMOTE": "number", + "PADDING_STRATEGY_ALIGNED": "number", + "PADDING_STRATEGY_CALLBACK": "number", + "PADDING_STRATEGY_MAX": "number", + "PADDING_STRATEGY_NONE": "number" + }, + "createSecureServer": "function", + "createServer": "function", + "getDefaultSettings": "function", + "getPackedSettings": "function", + "getUnpackedSettings": "function", + "sensitiveHeaders": "symbol" + }, + "node:https": { + "Agent": "function", + "Server": "function", + "createServer": "function", + "get": "function", + "globalAgent": { + "_events": { + "free": "function", + "newListener": "function" + }, + "_eventsCount": "number", + "_maxListeners": "undefined", + "_sessionCache": { + "list": "object", + "map": "object" + }, + "defaultPort": "number", + "freeSockets": "object", + "keepAlive": "boolean", + "keepAliveMsecs": "number", + "maxCachedSessions": "number", + "maxFreeSockets": "number", + "maxSockets": "number", + "maxTotalSockets": "number", + "options": { + "keepAlive": "boolean", + "noDelay": "boolean", + "path": "object", + "scheduling": "string", + "timeout": "number" + }, + "protocol": "string", + "requests": "object", + "scheduling": "string", + "sockets": "object", + "totalSocketCount": "number" + }, + "request": "function" + }, + "node:inspector": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:inspector/promises": { + "Session": "function", + "close": "function", + "console": { + "assert": "function", + "clear": "function", + "context": "function", + "count": "function", + "countReset": "function", + "debug": "function", + "dir": "function", + "dirxml": "function", + "error": "function", + "group": "function", + "groupCollapsed": "function", + "groupEnd": "function", + "info": "function", + "log": "function", + "profile": "function", + "profileEnd": "function", + "table": "function", + "time": "function", + "timeEnd": "function", + "timeLog": "function", + "timeStamp": "function", + "trace": "function", + "warn": "function" + }, + "open": "function", + "url": "function", + "waitForDebugger": "function" + }, + "node:module": { + "Module": { + "Module": { + "Module": "function", + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": "object", + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": "object", + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": "object", + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": "object", + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": { + ".js": "function", + ".json": "function", + ".node": "function" + }, + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs\u0000": "string" + }, + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": { + "0": "string", + "1": "string", + "2": "string" + }, + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "SourceMap": "function", + "_cache": "object", + "_debug": "function", + "_extensions": { + ".js": "function", + ".json": "function", + ".node": "function" + }, + "_findPath": "function", + "_initPaths": "function", + "_load": "function", + "_nodeModulePaths": "function", + "_pathCache": { + "/Users/jarred/Code/bun/test/exports/generate-exports.mjs\u0000": "string" + }, + "_preloadModules": "function", + "_resolveFilename": "function", + "_resolveLookupPaths": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string" + }, + "createRequire": "function", + "findSourceMap": "function", + "globalPaths": { + "0": "string", + "1": "string", + "2": "string" + }, + "isBuiltin": "function", + "runMain": "function", + "syncBuiltinESMExports": "function" + }, + "node:net": { + "BlockList": "function", + "Server": "function", + "Socket": "function", + "SocketAddress": "function", + "Stream": "function", + "_createServerHandle": "function", + "_normalizeArgs": "function", + "_setSimultaneousAccepts": "function", + "connect": "function", + "createConnection": "function", + "createServer": "function", + "getDefaultAutoSelectFamily": "function", + "getDefaultAutoSelectFamilyAttemptTimeout": "function", + "isIP": "function", + "isIPv4": "function", + "isIPv6": "function", + "setDefaultAutoSelectFamily": "function", + "setDefaultAutoSelectFamilyAttemptTimeout": "function" + }, + "node:os": { + "EOL": "string", + "arch": "function", + "availableParallelism": "function", + "constants": { + "UV_UDP_REUSEADDR": "number", + "dlopen": { + "RTLD_GLOBAL": "number", + "RTLD_LAZY": "number", + "RTLD_LOCAL": "number", + "RTLD_NOW": "number" + }, + "errno": { + "E2BIG": "number", + "EACCES": "number", + "EADDRINUSE": "number", + "EADDRNOTAVAIL": "number", + "EAFNOSUPPORT": "number", + "EAGAIN": "number", + "EALREADY": "number", + "EBADF": "number", + "EBADMSG": "number", + "EBUSY": "number", + "ECANCELED": "number", + "ECHILD": "number", + "ECONNABORTED": "number", + "ECONNREFUSED": "number", + "ECONNRESET": "number", + "EDEADLK": "number", + "EDESTADDRREQ": "number", + "EDOM": "number", + "EDQUOT": "number", + "EEXIST": "number", + "EFAULT": "number", + "EFBIG": "number", + "EHOSTUNREACH": "number", + "EIDRM": "number", + "EILSEQ": "number", + "EINPROGRESS": "number", + "EINTR": "number", + "EINVAL": "number", + "EIO": "number", + "EISCONN": "number", + "EISDIR": "number", + "ELOOP": "number", + "EMFILE": "number", + "EMLINK": "number", + "EMSGSIZE": "number", + "EMULTIHOP": "number", + "ENAMETOOLONG": "number", + "ENETDOWN": "number", + "ENETRESET": "number", + "ENETUNREACH": "number", + "ENFILE": "number", + "ENOBUFS": "number", + "ENODATA": "number", + "ENODEV": "number", + "ENOENT": "number", + "ENOEXEC": "number", + "ENOLCK": "number", + "ENOLINK": "number", + "ENOMEM": "number", + "ENOMSG": "number", + "ENOPROTOOPT": "number", + "ENOSPC": "number", + "ENOSR": "number", + "ENOSTR": "number", + "ENOSYS": "number", + "ENOTCONN": "number", + "ENOTDIR": "number", + "ENOTEMPTY": "number", + "ENOTSOCK": "number", + "ENOTSUP": "number", + "ENOTTY": "number", + "ENXIO": "number", + "EOPNOTSUPP": "number", + "EOVERFLOW": "number", + "EPERM": "number", + "EPIPE": "number", + "EPROTO": "number", + "EPROTONOSUPPORT": "number", + "EPROTOTYPE": "number", + "ERANGE": "number", + "EROFS": "number", + "ESPIPE": "number", + "ESRCH": "number", + "ESTALE": "number", + "ETIME": "number", + "ETIMEDOUT": "number", + "ETXTBSY": "number", + "EWOULDBLOCK": "number", + "EXDEV": "number" + }, + "priority": { + "PRIORITY_ABOVE_NORMAL": "number", + "PRIORITY_BELOW_NORMAL": "number", + "PRIORITY_HIGH": "number", + "PRIORITY_HIGHEST": "number", + "PRIORITY_LOW": "number", + "PRIORITY_NORMAL": "number" + }, + "signals": { + "SIGABRT": "number", + "SIGALRM": "number", + "SIGBUS": "number", + "SIGCHLD": "number", + "SIGCONT": "number", + "SIGFPE": "number", + "SIGHUP": "number", + "SIGILL": "number", + "SIGINFO": "number", + "SIGINT": "number", + "SIGIO": "number", + "SIGIOT": "number", + "SIGKILL": "number", + "SIGPIPE": "number", + "SIGPROF": "number", + "SIGQUIT": "number", + "SIGSEGV": "number", + "SIGSTOP": "number", + "SIGSYS": "number", + "SIGTERM": "number", + "SIGTRAP": "number", + "SIGTSTP": "number", + "SIGTTIN": "number", + "SIGTTOU": "number", + "SIGURG": "number", + "SIGUSR1": "number", + "SIGUSR2": "number", + "SIGVTALRM": "number", + "SIGWINCH": "number", + "SIGXCPU": "number", + "SIGXFSZ": "number" + } + }, + "cpus": "function", + "devNull": "string", + "endianness": "function", + "freemem": "function", + "getPriority": "function", + "homedir": "function", + "hostname": "function", + "loadavg": "function", + "machine": "function", + "networkInterfaces": "function", + "platform": "function", + "release": "function", + "setPriority": "function", + "tmpdir": "function", + "totalmem": "function", + "type": "function", + "uptime": "function", + "userInfo": "function", + "version": "function" + }, + "node:path": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + } + }, + "node:path/posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + } + }, + "node:path/win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + }, + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": { + "_makeLong": "function", + "basename": "function", + "delimiter": "string", + "dirname": "function", + "extname": "function", + "format": "function", + "isAbsolute": "function", + "join": "function", + "normalize": "function", + "parse": "function", + "posix": "object", + "relative": "function", + "resolve": "function", + "sep": "string", + "toNamespacedPath": "function", + "win32": "object" + } + } + }, + "node:perf_hooks": { + "Performance": "function", + "PerformanceEntry": "function", + "PerformanceMark": "function", + "PerformanceMeasure": "function", + "PerformanceObserver": "function", + "PerformanceObserverEntryList": "function", + "PerformanceResourceTiming": "function", + "constants": { + "NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE": "number", + "NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY": "number", + "NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED": "number", + "NODE_PERFORMANCE_GC_FLAGS_FORCED": "number", + "NODE_PERFORMANCE_GC_FLAGS_NO": "number", + "NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE": "number", + "NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING": "number", + "NODE_PERFORMANCE_GC_INCREMENTAL": "number", + "NODE_PERFORMANCE_GC_MAJOR": "number", + "NODE_PERFORMANCE_GC_MINOR": "number", + "NODE_PERFORMANCE_GC_WEAKCB": "number" + }, + "createHistogram": "function", + "monitorEventLoopDelay": "function", + "performance": "object" + }, + "node:process": { + "_debugEnd": "function", + "_debugProcess": "function", + "_events": { + "SIGWINCH": "function", + "exit": "function", + "newListener": { + "0": "function", + "1": "function" + }, + "removeListener": { + "0": "function", + "1": "function" + }, + "warning": "function" + }, + "_eventsCount": "number", + "_exiting": "boolean", + "_fatalException": "function", + "_getActiveHandles": "function", + "_getActiveRequests": "function", + "_kill": "function", + "_linkedBinding": "function", + "_maxListeners": "undefined", + "_preload_modules": "object", + "_rawDebug": "function", + "_startProfilerIdleNotifier": "function", + "_stopProfilerIdleNotifier": "function", + "_tickCallback": "function", + "abort": "function", + "allowedNodeEnvironmentFlags": "object", + "arch": "string", + "argv": { + "0": "string", + "1": "string" + }, + "argv0": "string", + "assert": "function", + "binding": "function", + "chdir": "function", + "config": { + "target_defaults": { + "cflags": "object", + "default_configuration": "string", + "defines": "object", + "include_dirs": "object", + "libraries": "object" + }, + "variables": { + "arm_fpu": "string", + "asan": "number", + "coverage": "boolean", + "dcheck_always_on": "number", + "debug_nghttp2": "boolean", + "debug_node": "boolean", + "enable_lto": "boolean", + "enable_pgo_generate": "boolean", + "enable_pgo_use": "boolean", + "error_on_warn": "boolean", + "force_dynamic_crt": "number", + "host_arch": "string", + "icu_gyp_path": "string", + "icu_small": "boolean", + "icu_ver_major": "string", + "is_debug": "number", + "libdir": "string", + "llvm_version": "string", + "napi_build_version": "string", + "node_builtin_shareable_builtins": "object", + "node_byteorder": "string", + "node_debug_lib": "boolean", + "node_enable_d8": "boolean", + "node_enable_v8_vtunejit": "boolean", + "node_fipsinstall": "boolean", + "node_install_corepack": "boolean", + "node_install_npm": "boolean", + "node_library_files": "object", + "node_module_version": "number", + "node_no_browser_globals": "boolean", + "node_prefix": "string", + "node_release_urlbase": "string", + "node_shared": "boolean", + "node_shared_brotli": "boolean", + "node_shared_cares": "boolean", + "node_shared_http_parser": "boolean", + "node_shared_libuv": "boolean", + "node_shared_nghttp2": "boolean", + "node_shared_nghttp3": "boolean", + "node_shared_ngtcp2": "boolean", + "node_shared_openssl": "boolean", + "node_shared_zlib": "boolean", + "node_tag": "string", + "node_target_type": "string", + "node_use_bundled_v8": "boolean", + "node_use_node_code_cache": "boolean", + "node_use_node_snapshot": "boolean", + "node_use_openssl": "boolean", + "node_use_v8_platform": "boolean", + "node_with_ltcg": "boolean", + "node_without_node_options": "boolean", + "openssl_is_fips": "boolean", + "openssl_quic": "boolean", + "ossfuzz": "boolean", + "shlib_suffix": "string", + "single_executable_application": "boolean", + "target_arch": "string", + "v8_enable_31bit_smis_on_64bit_arch": "number", + "v8_enable_gdbjit": "number", + "v8_enable_hugepage": "number", + "v8_enable_i18n_support": "number", + "v8_enable_inspector": "number", + "v8_enable_javascript_promise_hooks": "number", + "v8_enable_lite_mode": "number", + "v8_enable_object_print": "number", + "v8_enable_pointer_compression": "number", + "v8_enable_shared_ro_heap": "number", + "v8_enable_webassembly": "number", + "v8_no_strict_aliasing": "number", + "v8_optimized_debug": "number", + "v8_promise_internal_field_count": "number", + "v8_random_seed": "number", + "v8_trace_maps": "number", + "v8_use_siphash": "number", + "want_separate_host_toolset": "number" + } + }, + "constrainedMemory": "function", + "cpuUsage": "function", + "cwd": "function", + "debugPort": "number", + "dlopen": "function", + "domain": "object", + "emitWarning": "function", + "env": { + "ALACRITTY_LOG": "string", + "ALACRITTY_SOCKET": "string", + "BUN_INSTALL": "string", + "CC": "string", + "CODESIGN_IDENTITY": "string", + "COLORTERM": "string", + "COMMAND_MODE": "string", + "CXX": "string", + "HOME": "string", + "LC_ALL": "string", + "LLVM_PREFIX": "string", + "LOGNAME": "string", + "LS_COLORS": "string", + "PATH": "string", + "PWD": "string", + "SDKROOT": "string", + "SHELL": "string", + "SHLVL": "string", + "SSH_AUTH_SOCK": "string", + "STARSHIP_SESSION_KEY": "string", + "STARSHIP_SHELL": "string", + "TERM": "string", + "TMPDIR": "string", + "USER": "string", + "VOLTA_HOME": "string", + "XPC_FLAGS": "string", + "XPC_SERVICE_NAME": "string", + "__CFBundleIdentifier": "string", + "__CF_USER_TEXT_ENCODING": "string" + }, + "execArgv": "object", + "execPath": "string", + "exit": "function", + "exitCode": "undefined", + "features": { + "cached_builtins": "boolean", + "debug": "boolean", + "inspector": "boolean", + "ipv6": "boolean", + "tls": "boolean", + "tls_alpn": "boolean", + "tls_ocsp": "boolean", + "tls_sni": "boolean", + "uv": "boolean" + }, + "getActiveResourcesInfo": "function", + "getegid": "function", + "geteuid": "function", + "getgid": "function", + "getgroups": "function", + "getuid": "function", + "hasUncaughtExceptionCaptureCallback": "function", + "hrtime": { + "bigint": "function" + }, + "initgroups": "function", + "kill": "function", + "memoryUsage": { + "rss": "function" + }, + "moduleLoadList": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string", + "69": "string", + "70": "string", + "71": "string", + "72": "string", + "73": "string", + "74": "string", + "75": "string", + "76": "string", + "77": "string", + "78": "string", + "79": "string", + "80": "string", + "81": "string", + "82": "string", + "83": "string", + "84": "string", + "85": "string", + "86": "string", + "87": "string", + "88": "string", + "89": "string", + "90": "string", + "91": "string", + "92": "string", + "93": "string", + "94": "string", + "95": "string", + "96": "string", + "97": "string", + "98": "string", + "99": "string", + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "104": "string", + "105": "string", + "106": "string", + "107": "string", + "108": "string", + "109": "string", + "110": "string", + "111": "string", + "112": "string", + "113": "string", + "114": "string", + "115": "string", + "116": "string", + "117": "string", + "118": "string", + "119": "string", + "120": "string", + "121": "string", + "122": "string", + "123": "string", + "124": "string", + "125": "string", + "126": "string", + "127": "string", + "128": "string", + "129": "string", + "130": "string", + "131": "string", + "132": "string", + "133": "string", + "134": "string", + "135": "string", + "136": "string", + "137": "string", + "138": "string", + "139": "string", + "140": "string", + "141": "string", + "142": "string", + "143": "string", + "144": "string", + "145": "string", + "146": "string", + "147": "string", + "148": "string", + "149": "string", + "150": "string", + "151": "string", + "152": "string", + "153": "string", + "154": "string", + "155": "string", + "156": "string", + "157": "string", + "158": "string", + "159": "string", + "160": "string", + "161": "string", + "162": "string", + "163": "string", + "164": "string", + "165": "string", + "166": "string", + "167": "string", + "168": "string", + "169": "string", + "170": "string", + "171": "string", + "172": "string", + "173": "string", + "174": "string", + "175": "string", + "176": "string", + "177": "string", + "178": "string", + "179": "string", + "180": "string", + "181": "string", + "182": "string", + "183": "string", + "184": "string", + "185": "string", + "186": "string", + "187": "string", + "188": "string", + "189": "string", + "190": "string", + "191": "string", + "192": "string", + "193": "string", + "194": "string", + "195": "string", + "196": "string", + "197": "string", + "198": "string", + "199": "string", + "200": "string", + "201": "string", + "202": "string", + "203": "string", + "204": "string", + "205": "string", + "206": "string", + "207": "string", + "208": "string", + "209": "string", + "210": "string", + "211": "string", + "212": "string", + "213": "string", + "214": "string", + "215": "string", + "216": "string", + "217": "string", + "218": "string", + "219": "string", + "220": "string", + "221": "string", + "222": "string", + "223": "string", + "224": "string", + "225": "string", + "226": "string", + "227": "string", + "228": "string", + "229": "string", + "230": "string", + "231": "string", + "232": "string", + "233": "string", + "234": "string", + "235": "string", + "236": "string", + "237": "string", + "238": "string", + "239": "string", + "240": "string", + "241": "string", + "242": "string", + "243": "string", + "244": "string", + "245": "string", + "246": "string", + "247": "string", + "248": "string", + "249": "string", + "250": "string", + "251": "string", + "252": "string" + }, + "nextTick": "function", + "openStdin": "function", + "pid": "number", + "platform": "string", + "ppid": "number", + "reallyExit": "function", + "release": { + "headersUrl": "string", + "name": "string", + "sourceUrl": "string" + }, + "report": { + "compact": "boolean", + "directory": "string", + "filename": "string", + "getReport": "function", + "reportOnFatalError": "boolean", + "reportOnSignal": "boolean", + "reportOnUncaughtException": "boolean", + "signal": "string", + "writeReport": "function" + }, + "resourceUsage": "function", + "setSourceMapsEnabled": "function", + "setUncaughtExceptionCaptureCallback": "function", + "setegid": "function", + "seteuid": "function", + "setgid": "function", + "setgroups": "function", + "setuid": "function", + "stderr": { + "_closeAfterHandlingError": "boolean", + "_destroy": "function", + "_events": { + "end": "function" + }, + "_eventsCount": "number", + "_hadError": "boolean", + "_host": "object", + "_isStdio": "boolean", + "_maxListeners": "undefined", + "_parent": "object", + "_pendingData": "object", + "_pendingEncoding": "string", + "_readableState": { + "autoDestroy": "boolean", + "awaitDrainWriters": "object", + "buffer": "object", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "dataEmitted": "boolean", + "decoder": "object", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "emittedReadable": "boolean", + "encoding": "object", + "endEmitted": "boolean", + "ended": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "flowing": "object", + "highWaterMark": "number", + "length": "number", + "multiAwaitDrain": "boolean", + "needReadable": "boolean", + "objectMode": "boolean", + "pipes": "object", + "readableListening": "boolean", + "reading": "boolean", + "readingMore": "boolean", + "resumeScheduled": "boolean", + "sync": "boolean" + }, + "_server": "object", + "_sockname": "object", + "_type": "string", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean", + "columns": "number", + "connecting": "boolean", + "destroySoon": "function", + "fd": "number", + "rows": "number", + "server": "object" + }, + "stdin": { + "_closeAfterHandlingError": "boolean", + "_events": { + "end": "function", + "pause": "function" + }, + "_eventsCount": "number", + "_hadError": "boolean", + "_host": "object", + "_maxListeners": "undefined", + "_parent": "object", + "_pendingData": "object", + "_pendingEncoding": "string", + "_readableState": { + "autoDestroy": "boolean", + "awaitDrainWriters": "object", + "buffer": "object", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "dataEmitted": "boolean", + "decoder": "object", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "emittedReadable": "boolean", + "encoding": "object", + "endEmitted": "boolean", + "ended": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "flowing": "object", + "highWaterMark": "number", + "length": "number", + "multiAwaitDrain": "boolean", + "needReadable": "boolean", + "objectMode": "boolean", + "pipes": "object", + "readableListening": "boolean", + "reading": "boolean", + "readingMore": "boolean", + "resumeScheduled": "boolean", + "sync": "boolean" + }, + "_server": "object", + "_sockname": "object", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "allowHalfOpen": "boolean", + "connecting": "boolean", + "fd": "number", + "isRaw": "boolean", + "isTTY": "boolean", + "server": "object" + }, + "stdout": { + "_destroy": "function", + "_events": "object", + "_eventsCount": "number", + "_isStdio": "boolean", + "_maxListeners": "undefined", + "_type": "string", + "_writableState": { + "afterWriteTickInfo": "object", + "allBuffers": "boolean", + "allNoop": "boolean", + "autoDestroy": "boolean", + "bufferProcessing": "boolean", + "buffered": "object", + "bufferedIndex": "number", + "closeEmitted": "boolean", + "closed": "boolean", + "constructed": "boolean", + "corked": "number", + "decodeStrings": "boolean", + "defaultEncoding": "string", + "destroyed": "boolean", + "emitClose": "boolean", + "ended": "boolean", + "ending": "boolean", + "errorEmitted": "boolean", + "errored": "object", + "finalCalled": "boolean", + "finished": "boolean", + "highWaterMark": "number", + "length": "number", + "needDrain": "boolean", + "objectMode": "boolean", + "onwrite": "function", + "pendingcb": "number", + "prefinished": "boolean", + "sync": "boolean", + "writecb": "object", + "writelen": "number", + "writing": "boolean" + }, + "autoClose": "boolean", + "destroySoon": "function", + "fd": "number", + "readable": "boolean" + }, + "title": "string", + "umask": "function", + "uptime": "function", + "version": "string", + "versions": { + "acorn": "string", + "ada": "string", + "ares": "string", + "brotli": "string", + "cldr": "string", + "icu": "string", + "llhttp": "string", + "modules": "string", + "napi": "string", + "nghttp2": "string", + "node": "string", + "openssl": "string", + "simdutf": "string", + "tz": "string", + "undici": "string", + "unicode": "string", + "uv": "string", + "uvwasi": "string", + "v8": "string", + "zlib": "string" + } + }, + "node:punycode": { + "decode": "function", + "encode": "function", + "toASCII": "function", + "toUnicode": "function", + "ucs2": { + "decode": "function", + "encode": "function" + }, + "version": "string" + }, + "node:querystring": { + "decode": "function", + "encode": "function", + "escape": "function", + "parse": "function", + "stringify": "function", + "unescape": "function", + "unescapeBuffer": "function" + }, + "node:readline": { + "Interface": "function", + "clearLine": "function", + "clearScreenDown": "function", + "createInterface": "function", + "cursorTo": "function", + "emitKeypressEvents": "function", + "moveCursor": "function", + "promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + } + }, + "node:readline/promises": { + "Interface": "function", + "Readline": "function", + "createInterface": "function" + }, + "node:repl": { + "REPLServer": "function", + "REPL_MODE_SLOPPY": "symbol", + "REPL_MODE_STRICT": "symbol", + "Recoverable": "function", + "builtinModules": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string" + }, + "start": "function", + "writer": { + "options": { + "breakLength": "number", + "colors": "boolean", + "compact": "number", + "customInspect": "boolean", + "depth": "number", + "getters": "boolean", + "maxArrayLength": "number", + "maxStringLength": "number", + "numericSeparator": "boolean", + "showHidden": "boolean", + "showProxy": "boolean", + "sorted": "boolean" + } + } + }, + "node:stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "PassThrough": "function", + "Readable": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": { + "from": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "PassThrough": "function", + "Readable": { + "ReadableState": "function", + "_fromList": "function", + "from": "function", + "fromWeb": "function", + "toWeb": "function", + "wrap": "function" + }, + "Stream": { + "Duplex": "function", + "PassThrough": "function", + "Readable": "function", + "Stream": "function", + "Transform": "function", + "Writable": "function", + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": "function", + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": "object", + "setDefaultHighWaterMark": "function" + }, + "Transform": "function", + "Writable": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": { + "finished": "function" + }, + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + }, + "setDefaultHighWaterMark": "function" + }, + "Transform": "function", + "Writable": { + "WritableState": "function", + "fromWeb": "function", + "toWeb": "function" + }, + "_isUint8Array": "function", + "_uint8ArrayToBuffer": "function", + "addAbortSignal": "function", + "compose": "function", + "destroy": "function", + "finished": { + "finished": "function" + }, + "getDefaultHighWaterMark": "function", + "isDestroyed": "function", + "isDisturbed": "function", + "isErrored": "function", + "isReadable": "function", + "isWritable": "function", + "pipeline": "function", + "promises": { + "finished": "function", + "pipeline": "function" + }, + "setDefaultHighWaterMark": "function" + }, + "node:stream/consumers": { + "arrayBuffer": "function", + "blob": "function", + "buffer": "function", + "json": "function", + "text": "function" + }, + "node:stream/promises": { + "finished": "function", + "pipeline": "function" + }, + "node:stream/web": { + "ByteLengthQueuingStrategy": "function", + "CompressionStream": "function", + "CountQueuingStrategy": "function", + "DecompressionStream": "function", + "ReadableByteStreamController": "function", + "ReadableStream": "function", + "ReadableStreamBYOBReader": "function", + "ReadableStreamBYOBRequest": "function", + "ReadableStreamDefaultController": "function", + "ReadableStreamDefaultReader": "function", + "TextDecoderStream": "function", + "TextEncoderStream": "function", + "TransformStream": "function", + "TransformStreamDefaultController": "function", + "WritableStream": "function", + "WritableStreamDefaultController": "function", + "WritableStreamDefaultWriter": "function" + }, + "node:string_decoder": { + "StringDecoder": "function" + }, + "node:sys": { + "MIMEParams": "function", + "MIMEType": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "_errnoException": "function", + "_exceptionWithHostPort": "function", + "_extend": "function", + "aborted": "function", + "callbackify": "function", + "debug": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "formatWithOptions": "function", + "getSystemErrorMap": "function", + "getSystemErrorName": "function", + "inherits": "function", + "inspect": { + "colors": { + "bgBlack": "object", + "bgBlue": "object", + "bgBlueBright": "object", + "bgCyan": "object", + "bgCyanBright": "object", + "bgGray": "object", + "bgGreen": "object", + "bgGreenBright": "object", + "bgMagenta": "object", + "bgMagentaBright": "object", + "bgRed": "object", + "bgRedBright": "object", + "bgWhite": "object", + "bgWhiteBright": "object", + "bgYellow": "object", + "bgYellowBright": "object", + "black": "object", + "blink": "object", + "blue": "object", + "blueBright": "object", + "bold": "object", + "cyan": "object", + "cyanBright": "object", + "dim": "object", + "doubleunderline": "object", + "framed": "object", + "gray": "object", + "green": "object", + "greenBright": "object", + "hidden": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "magentaBright": "object", + "overlined": "object", + "red": "object", + "redBright": "object", + "reset": "object", + "strikethrough": "object", + "underline": "object", + "white": "object", + "whiteBright": "object", + "yellow": "object", + "yellowBright": "object" + }, + "custom": "symbol", + "styles": { + "bigint": "string", + "boolean": "string", + "date": "string", + "module": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "symbol": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "parseArgs": "function", + "promisify": { + "custom": "symbol" + }, + "stripVTControlCharacters": "function", + "toUSVString": "function", + "transferableAbortController": "function", + "transferableAbortSignal": "function", + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:test/reporters": { + "dot": "function", + "spec": "function", + "tap": "function" + }, + "node:timers": { + "_unrefActive": "function", + "active": "function", + "clearImmediate": "function", + "clearInterval": "function", + "clearTimeout": "function", + "enroll": "function", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function", + "unenroll": "function" + }, + "node:timers/promises": { + "scheduler": "object", + "setImmediate": "function", + "setInterval": "function", + "setTimeout": "function" + }, + "node:tls": { + "CLIENT_RENEG_LIMIT": "number", + "CLIENT_RENEG_WINDOW": "number", + "DEFAULT_CIPHERS": "string", + "DEFAULT_ECDH_CURVE": "string", + "DEFAULT_MAX_VERSION": "string", + "DEFAULT_MIN_VERSION": "string", + "SecureContext": "undefined", + "Server": "function", + "TLSSocket": "function", + "checkServerIdentity": "function", + "connect": "function", + "convertALPNProtocols": "function", + "createSecureContext": "undefined", + "createSecurePair": "function", + "createServer": "function", + "getCiphers": "function", + "rootCertificates": { + "0": "string", + "1": "string", + "2": "string", + "3": "string", + "4": "string", + "5": "string", + "6": "string", + "7": "string", + "8": "string", + "9": "string", + "10": "string", + "11": "string", + "12": "string", + "13": "string", + "14": "string", + "15": "string", + "16": "string", + "17": "string", + "18": "string", + "19": "string", + "20": "string", + "21": "string", + "22": "string", + "23": "string", + "24": "string", + "25": "string", + "26": "string", + "27": "string", + "28": "string", + "29": "string", + "30": "string", + "31": "string", + "32": "string", + "33": "string", + "34": "string", + "35": "string", + "36": "string", + "37": "string", + "38": "string", + "39": "string", + "40": "string", + "41": "string", + "42": "string", + "43": "string", + "44": "string", + "45": "string", + "46": "string", + "47": "string", + "48": "string", + "49": "string", + "50": "string", + "51": "string", + "52": "string", + "53": "string", + "54": "string", + "55": "string", + "56": "string", + "57": "string", + "58": "string", + "59": "string", + "60": "string", + "61": "string", + "62": "string", + "63": "string", + "64": "string", + "65": "string", + "66": "string", + "67": "string", + "68": "string", + "69": "string", + "70": "string", + "71": "string", + "72": "string", + "73": "string", + "74": "string", + "75": "string", + "76": "string", + "77": "string", + "78": "string", + "79": "string", + "80": "string", + "81": "string", + "82": "string", + "83": "string", + "84": "string", + "85": "string", + "86": "string", + "87": "string", + "88": "string", + "89": "string", + "90": "string", + "91": "string", + "92": "string", + "93": "string", + "94": "string", + "95": "string", + "96": "string", + "97": "string", + "98": "string", + "99": "string", + "100": "string", + "101": "string", + "102": "string", + "103": "string", + "104": "string", + "105": "string", + "106": "string", + "107": "string", + "108": "string", + "109": "string", + "110": "string", + "111": "string", + "112": "string", + "113": "string", + "114": "string", + "115": "string", + "116": "string", + "117": "string", + "118": "string", + "119": "string", + "120": "string", + "121": "string", + "122": "string", + "123": "string", + "124": "string", + "125": "string", + "126": "string", + "127": "string", + "128": "string", + "129": "string", + "130": "string", + "131": "string", + "132": "string", + "133": "string", + "134": "string", + "135": "string", + "136": "string" + } + }, + "node:trace_events": { + "createTracing": "function", + "getEnabledCategories": "function" + }, + "node:tty": { + "ReadStream": "function", + "WriteStream": "function", + "isatty": "function" + }, + "node:url": { + "URL": { + "canParse": "function", + "createObjectURL": "function", + "revokeObjectURL": "function" + }, + "URLSearchParams": "function", + "Url": "function", + "domainToASCII": "function", + "domainToUnicode": "function", + "fileURLToPath": "function", + "format": "function", + "parse": "function", + "pathToFileURL": "function", + "resolve": "function", + "resolveObject": "function", + "urlToHttpOptions": "function" + }, + "node:util": { + "MIMEParams": "function", + "MIMEType": "function", + "TextDecoder": "function", + "TextEncoder": "function", + "_errnoException": "function", + "_exceptionWithHostPort": "function", + "_extend": "function", + "aborted": "function", + "callbackify": "function", + "debug": "function", + "debuglog": "function", + "deprecate": "function", + "format": "function", + "formatWithOptions": "function", + "getSystemErrorMap": "function", + "getSystemErrorName": "function", + "inherits": "function", + "inspect": { + "colors": { + "bgBlack": "object", + "bgBlue": "object", + "bgBlueBright": "object", + "bgCyan": "object", + "bgCyanBright": "object", + "bgGray": "object", + "bgGreen": "object", + "bgGreenBright": "object", + "bgMagenta": "object", + "bgMagentaBright": "object", + "bgRed": "object", + "bgRedBright": "object", + "bgWhite": "object", + "bgWhiteBright": "object", + "bgYellow": "object", + "bgYellowBright": "object", + "black": "object", + "blink": "object", + "blue": "object", + "blueBright": "object", + "bold": "object", + "cyan": "object", + "cyanBright": "object", + "dim": "object", + "doubleunderline": "object", + "framed": "object", + "gray": "object", + "green": "object", + "greenBright": "object", + "hidden": "object", + "inverse": "object", + "italic": "object", + "magenta": "object", + "magentaBright": "object", + "overlined": "object", + "red": "object", + "redBright": "object", + "reset": "object", + "strikethrough": "object", + "underline": "object", + "white": "object", + "whiteBright": "object", + "yellow": "object", + "yellowBright": "object" + }, + "custom": "symbol", + "styles": { + "bigint": "string", + "boolean": "string", + "date": "string", + "module": "string", + "null": "string", + "number": "string", + "regexp": "string", + "special": "string", + "string": "string", + "symbol": "string", + "undefined": "string" + } + }, + "isArray": "function", + "isBoolean": "function", + "isBuffer": "function", + "isDate": "function", + "isDeepStrictEqual": "function", + "isError": "function", + "isFunction": "function", + "isNull": "function", + "isNullOrUndefined": "function", + "isNumber": "function", + "isObject": "function", + "isPrimitive": "function", + "isRegExp": "function", + "isString": "function", + "isSymbol": "function", + "isUndefined": "function", + "log": "function", + "parseArgs": "function", + "promisify": { + "custom": "symbol" + }, + "stripVTControlCharacters": "function", + "toUSVString": "function", + "transferableAbortController": "function", + "transferableAbortSignal": "function", + "types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + } + }, + "node:util/types": { + "isAnyArrayBuffer": "function", + "isArgumentsObject": "function", + "isArrayBuffer": "function", + "isArrayBufferView": "function", + "isAsyncFunction": "function", + "isBigInt64Array": "function", + "isBigIntObject": "function", + "isBigUint64Array": "function", + "isBooleanObject": "function", + "isBoxedPrimitive": "function", + "isCryptoKey": "function", + "isDataView": "function", + "isDate": "function", + "isExternal": "function", + "isFloat32Array": "function", + "isFloat64Array": "function", + "isGeneratorFunction": "function", + "isGeneratorObject": "function", + "isInt16Array": "function", + "isInt32Array": "function", + "isInt8Array": "function", + "isKeyObject": "function", + "isMap": "function", + "isMapIterator": "function", + "isModuleNamespaceObject": "function", + "isNativeError": "function", + "isNumberObject": "function", + "isPromise": "function", + "isProxy": "function", + "isRegExp": "function", + "isSet": "function", + "isSetIterator": "function", + "isSharedArrayBuffer": "function", + "isStringObject": "function", + "isSymbolObject": "function", + "isTypedArray": "function", + "isUint16Array": "function", + "isUint32Array": "function", + "isUint8Array": "function", + "isUint8ClampedArray": "function", + "isWeakMap": "function", + "isWeakSet": "function" + }, + "node:v8": { + "DefaultDeserializer": "function", + "DefaultSerializer": "function", + "Deserializer": "function", + "GCProfiler": "function", + "Serializer": "function", + "cachedDataVersionTag": "function", + "deserialize": "function", + "getHeapCodeStatistics": "function", + "getHeapSnapshot": "function", + "getHeapSpaceStatistics": "function", + "getHeapStatistics": "function", + "promiseHooks": { + "createHook": "function", + "onAfter": "function", + "onBefore": "function", + "onInit": "function", + "onSettled": "function" + }, + "serialize": "function", + "setFlagsFromString": "function", + "setHeapSnapshotNearHeapLimit": "function", + "startupSnapshot": { + "addDeserializeCallback": "function", + "addSerializeCallback": "function", + "isBuildingSnapshot": "function", + "setDeserializeMainFunction": "function" + }, + "stopCoverage": "function", + "takeCoverage": "function", + "writeHeapSnapshot": "function" + }, + "node:vm": { + "Script": "function", + "compileFunction": "function", + "createContext": "function", + "createScript": "function", + "isContext": "function", + "measureMemory": "function", + "runInContext": "function", + "runInNewContext": "function", + "runInThisContext": "function" + }, + "node:wasi": { + "WASI": "function" + }, + "node:worker_threads": { + "BroadcastChannel": "function", + "MessageChannel": "function", + "MessagePort": "function", + "SHARE_ENV": "symbol", + "Worker": "function", + "getEnvironmentData": "function", + "isMainThread": "boolean", + "markAsUntransferable": "function", + "moveMessagePortToContext": "function", + "parentPort": "object", + "receiveMessageOnPort": "function", + "resourceLimits": "object", + "setEnvironmentData": "function", + "threadId": "number", + "workerData": "object" + }, + "node:zlib": { + "BrotliCompress": "function", + "BrotliDecompress": "function", + "Deflate": "function", + "DeflateRaw": "function", + "Gunzip": "function", + "Gzip": "function", + "Inflate": "function", + "InflateRaw": "function", + "Unzip": "function", + "brotliCompress": "function", + "brotliCompressSync": "function", + "brotliDecompress": "function", + "brotliDecompressSync": "function", + "codes": { + "0": "string", + "1": "string", + "2": "string", + "-1": "string", + "-2": "string", + "-3": "string", + "-4": "string", + "-5": "string", + "-6": "string", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_ERRNO": "number", + "Z_MEM_ERROR": "number", + "Z_NEED_DICT": "number", + "Z_OK": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_VERSION_ERROR": "number" + }, + "constants": { + "BROTLI_DECODE": "number", + "BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES": "number", + "BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP": "number", + "BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES": "number", + "BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1": "number", + "BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2": "number", + "BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS": "number", + "BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET": "number", + "BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1": "number", + "BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2": "number", + "BROTLI_DECODER_ERROR_FORMAT_CL_SPACE": "number", + "BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT": "number", + "BROTLI_DECODER_ERROR_FORMAT_DICTIONARY": "number", + "BROTLI_DECODER_ERROR_FORMAT_DISTANCE": "number", + "BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE": "number", + "BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE": "number", + "BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE": "number", + "BROTLI_DECODER_ERROR_FORMAT_PADDING_1": "number", + "BROTLI_DECODER_ERROR_FORMAT_PADDING_2": "number", + "BROTLI_DECODER_ERROR_FORMAT_RESERVED": "number", + "BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET": "number", + "BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME": "number", + "BROTLI_DECODER_ERROR_FORMAT_TRANSFORM": "number", + "BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS": "number", + "BROTLI_DECODER_ERROR_INVALID_ARGUMENTS": "number", + "BROTLI_DECODER_ERROR_UNREACHABLE": "number", + "BROTLI_DECODER_NEEDS_MORE_INPUT": "number", + "BROTLI_DECODER_NEEDS_MORE_OUTPUT": "number", + "BROTLI_DECODER_NO_ERROR": "number", + "BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION": "number", + "BROTLI_DECODER_PARAM_LARGE_WINDOW": "number", + "BROTLI_DECODER_RESULT_ERROR": "number", + "BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT": "number", + "BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT": "number", + "BROTLI_DECODER_RESULT_SUCCESS": "number", + "BROTLI_DECODER_SUCCESS": "number", + "BROTLI_DEFAULT_MODE": "number", + "BROTLI_DEFAULT_QUALITY": "number", + "BROTLI_DEFAULT_WINDOW": "number", + "BROTLI_ENCODE": "number", + "BROTLI_LARGE_MAX_WINDOW_BITS": "number", + "BROTLI_MAX_INPUT_BLOCK_BITS": "number", + "BROTLI_MAX_QUALITY": "number", + "BROTLI_MAX_WINDOW_BITS": "number", + "BROTLI_MIN_INPUT_BLOCK_BITS": "number", + "BROTLI_MIN_QUALITY": "number", + "BROTLI_MIN_WINDOW_BITS": "number", + "BROTLI_MODE_FONT": "number", + "BROTLI_MODE_GENERIC": "number", + "BROTLI_MODE_TEXT": "number", + "BROTLI_OPERATION_EMIT_METADATA": "number", + "BROTLI_OPERATION_FINISH": "number", + "BROTLI_OPERATION_FLUSH": "number", + "BROTLI_OPERATION_PROCESS": "number", + "BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING": "number", + "BROTLI_PARAM_LARGE_WINDOW": "number", + "BROTLI_PARAM_LGBLOCK": "number", + "BROTLI_PARAM_LGWIN": "number", + "BROTLI_PARAM_MODE": "number", + "BROTLI_PARAM_NDIRECT": "number", + "BROTLI_PARAM_NPOSTFIX": "number", + "BROTLI_PARAM_QUALITY": "number", + "BROTLI_PARAM_SIZE_HINT": "number", + "DEFLATE": "number", + "DEFLATERAW": "number", + "GUNZIP": "number", + "GZIP": "number", + "INFLATE": "number", + "INFLATERAW": "number", + "UNZIP": "number", + "ZLIB_VERNUM": "number", + "Z_BEST_COMPRESSION": "number", + "Z_BEST_SPEED": "number", + "Z_BLOCK": "number", + "Z_BUF_ERROR": "number", + "Z_DATA_ERROR": "number", + "Z_DEFAULT_CHUNK": "number", + "Z_DEFAULT_COMPRESSION": "number", + "Z_DEFAULT_LEVEL": "number", + "Z_DEFAULT_MEMLEVEL": "number", + "Z_DEFAULT_STRATEGY": "number", + "Z_DEFAULT_WINDOWBITS": "number", + "Z_ERRNO": "number", + "Z_FILTERED": "number", + "Z_FINISH": "number", + "Z_FIXED": "number", + "Z_FULL_FLUSH": "number", + "Z_HUFFMAN_ONLY": "number", + "Z_MAX_CHUNK": "number", + "Z_MAX_LEVEL": "number", + "Z_MAX_MEMLEVEL": "number", + "Z_MAX_WINDOWBITS": "number", + "Z_MEM_ERROR": "number", + "Z_MIN_CHUNK": "number", + "Z_MIN_LEVEL": "number", + "Z_MIN_MEMLEVEL": "number", + "Z_MIN_WINDOWBITS": "number", + "Z_NEED_DICT": "number", + "Z_NO_COMPRESSION": "number", + "Z_NO_FLUSH": "number", + "Z_OK": "number", + "Z_PARTIAL_FLUSH": "number", + "Z_RLE": "number", + "Z_STREAM_END": "number", + "Z_STREAM_ERROR": "number", + "Z_SYNC_FLUSH": "number", + "Z_VERSION_ERROR": "number" + }, + "createBrotliCompress": "function", + "createBrotliDecompress": "function", + "createDeflate": "function", + "createDeflateRaw": "function", + "createGunzip": "function", + "createGzip": "function", + "createInflate": "function", + "createInflateRaw": "function", + "createUnzip": "function", + "deflate": "function", + "deflateRaw": "function", + "deflateRawSync": "function", + "deflateSync": "function", + "gunzip": "function", + "gunzipSync": "function", + "gzip": "function", + "gzipSync": "function", + "inflate": "function", + "inflateRaw": "function", + "inflateRawSync": "function", + "inflateSync": "function", + "unzip": "function", + "unzipSync": "function" + } + }, + "runtime": "node", + "version": "v20.1.0", + "errors": {} +}
\ No newline at end of file diff --git a/test/internal/package-json-lint.test.ts b/test/internal/package-json-lint.test.ts new file mode 100644 index 000000000..5a1fae5f9 --- /dev/null +++ b/test/internal/package-json-lint.test.ts @@ -0,0 +1,42 @@ +import { test, expect, describe } from "bun:test"; +import { join } from "path"; +import { readdirSync, existsSync } from "fs"; +const base = join(import.meta.dir, "../"); + +const packageJSONDirs = [ + base, + ...readdirSync(join(import.meta.dir, "../", "js", "third_party")) + .map(a => join(import.meta.dir, "../", "js", "third_party", a)) + .filter(a => existsSync(join(a, "./package.json"))), +]; + +// For test reliability and security reasons +// We must use exact versions for third-party dependencies in our tests. +describe("package.json dependencies must be exact versions", async () => { + for (const dir of packageJSONDirs) { + test(join("test", dir.replace(base, ""), "package.json"), async () => { + const { + dependencies = {}, + devDependencies = {}, + peerDependencies = {}, + optionalDependencies = {}, + } = await Bun.file(join(dir, "./package.json")).json(); + + for (const [name, dep] of Object.entries(dependencies)) { + expect(dep).toMatch(/^([a-zA-Z0-9\.])+$/); + } + + for (const [name, dep] of Object.entries(devDependencies)) { + expect(dep).toMatch(/^([a-zA-Z0-9\.])+$/); + } + + for (const [name, dep] of Object.entries(peerDependencies)) { + expect(dep).toMatch(/^([a-zA-Z0-9\.])+$/); + } + + for (const [name, dep] of Object.entries(optionalDependencies)) { + expect(dep).toMatch(/^([a-zA-Z0-9\.])+$/); + } + }); + } +}); diff --git a/test/js/bun/eventsource/eventsource.test.ts b/test/js/bun/eventsource/eventsource.test.ts index 2f5b7d755..d4da99aa3 100644 --- a/test/js/bun/eventsource/eventsource.test.ts +++ b/test/js/bun/eventsource/eventsource.test.ts @@ -1,153 +1,153 @@ -function sse(req: Request) { - const signal = req.signal; - return new Response( - new ReadableStream({ - type: "direct", - async pull(controller) { - while (!signal.aborted) { - await controller.write(`data:Hello, World!\n\n`); - await controller.write(`event: bun\ndata: Hello, World!\n\n`); - await controller.write(`event: lines\ndata: Line 1!\ndata: Line 2!\n\n`); - await controller.write(`event: id_test\nid:1\n\n`); - await controller.flush(); - await Bun.sleep(100); - } - controller.close(); - }, - }), - { status: 200, headers: { "Content-Type": "text/event-stream" } }, - ); -} +// function sse(req: Request) { +// const signal = req.signal; +// return new Response( +// new ReadableStream({ +// type: "direct", +// async pull(controller) { +// while (!signal.aborted) { +// await controller.write(`data:Hello, World!\n\n`); +// await controller.write(`event: bun\ndata: Hello, World!\n\n`); +// await controller.write(`event: lines\ndata: Line 1!\ndata: Line 2!\n\n`); +// await controller.write(`event: id_test\nid:1\n\n`); +// await controller.flush(); +// await Bun.sleep(100); +// } +// controller.close(); +// }, +// }), +// { status: 200, headers: { "Content-Type": "text/event-stream" } }, +// ); +// } -function sse_unstable(req: Request) { - const signal = req.signal; - let id = parseInt(req.headers.get("last-event-id") || "0", 10); +// function sse_unstable(req: Request) { +// const signal = req.signal; +// let id = parseInt(req.headers.get("last-event-id") || "0", 10); - return new Response( - new ReadableStream({ - type: "direct", - async pull(controller) { - if (!signal.aborted) { - await controller.write(`id:${++id}\ndata: Hello, World!\nretry:100\n\n`); - await controller.flush(); - } - controller.close(); - }, - }), - { status: 200, headers: { "Content-Type": "text/event-stream" } }, - ); -} +// return new Response( +// new ReadableStream({ +// type: "direct", +// async pull(controller) { +// if (!signal.aborted) { +// await controller.write(`id:${++id}\ndata: Hello, World!\nretry:100\n\n`); +// await controller.flush(); +// } +// controller.close(); +// }, +// }), +// { status: 200, headers: { "Content-Type": "text/event-stream" } }, +// ); +// } -function sseServer( - done: (err?: unknown) => void, - pathname: string, - callback: (evtSource: EventSource, done: (err?: unknown) => void) => void, -) { - const server = Bun.serve({ - port: 0, - fetch(req) { - if (new URL(req.url).pathname === "/stream") { - return sse(req); - } - if (new URL(req.url).pathname === "/unstable") { - return sse_unstable(req); - } - return new Response("Hello, World!"); - }, - }); - let evtSource: EventSource | undefined; - try { - evtSource = new EventSource(`http://localhost:${server.port}${pathname}`); - callback(evtSource, err => { - try { - done(err); - evtSource?.close(); - } catch (err) { - done(err); - } finally { - server.stop(true); - } - }); - } catch (err) { - evtSource?.close(); - server.stop(true); - done(err); - } -} +// function sseServer( +// done: (err?: unknown) => void, +// pathname: string, +// callback: (evtSource: EventSource, done: (err?: unknown) => void) => void, +// ) { +// const server = Bun.serve({ +// port: 0, +// fetch(req) { +// if (new URL(req.url).pathname === "/stream") { +// return sse(req); +// } +// if (new URL(req.url).pathname === "/unstable") { +// return sse_unstable(req); +// } +// return new Response("Hello, World!"); +// }, +// }); +// let evtSource: EventSource | undefined; +// try { +// evtSource = new EventSource(`http://localhost:${server.port}${pathname}`); +// callback(evtSource, err => { +// try { +// done(err); +// evtSource?.close(); +// } catch (err) { +// done(err); +// } finally { +// server.stop(true); +// } +// }); +// } catch (err) { +// evtSource?.close(); +// server.stop(true); +// done(err); +// } +// } -import { describe, expect, it } from "bun:test"; +// import { describe, expect, it } from "bun:test"; -describe("events", () => { - it("should call open", done => { - sseServer(done, "/stream", (evtSource, done) => { - evtSource.onopen = () => { - done(); - }; - evtSource.onerror = err => { - done(err); - }; - }); - }); +// describe("events", () => { +// it("should call open", done => { +// sseServer(done, "/stream", (evtSource, done) => { +// evtSource.onopen = () => { +// done(); +// }; +// evtSource.onerror = err => { +// done(err); +// }; +// }); +// }); - it("should call message", done => { - sseServer(done, "/stream", (evtSource, done) => { - evtSource.onmessage = e => { - expect(e.data).toBe("Hello, World!"); - done(); - }; - }); - }); +// it("should call message", done => { +// sseServer(done, "/stream", (evtSource, done) => { +// evtSource.onmessage = e => { +// expect(e.data).toBe("Hello, World!"); +// done(); +// }; +// }); +// }); - it("should call custom event", done => { - sseServer(done, "/stream", (evtSource, done) => { - evtSource.addEventListener("bun", e => { - expect(e.data).toBe("Hello, World!"); - done(); - }); - }); - }); +// it("should call custom event", done => { +// sseServer(done, "/stream", (evtSource, done) => { +// evtSource.addEventListener("bun", e => { +// expect(e.data).toBe("Hello, World!"); +// done(); +// }); +// }); +// }); - it("should call event with multiple lines", done => { - sseServer(done, "/stream", (evtSource, done) => { - evtSource.addEventListener("lines", e => { - expect(e.data).toBe("Line 1!\nLine 2!"); - done(); - }); - }); - }); +// it("should call event with multiple lines", done => { +// sseServer(done, "/stream", (evtSource, done) => { +// evtSource.addEventListener("lines", e => { +// expect(e.data).toBe("Line 1!\nLine 2!"); +// done(); +// }); +// }); +// }); - it("should receive id", done => { - sseServer(done, "/stream", (evtSource, done) => { - evtSource.addEventListener("id_test", e => { - expect(e.lastEventId).toBe("1"); - done(); - }); - }); - }); +// it("should receive id", done => { +// sseServer(done, "/stream", (evtSource, done) => { +// evtSource.addEventListener("id_test", e => { +// expect(e.lastEventId).toBe("1"); +// done(); +// }); +// }); +// }); - it("should reconnect with id", done => { - sseServer(done, "/unstable", (evtSource, done) => { - const ids: string[] = []; - evtSource.onmessage = e => { - ids.push(e.lastEventId); - if (ids.length === 2) { - for (let i = 0; i < 2; i++) { - expect(ids[i]).toBe((i + 1).toString()); - } - done(); - } - }; - }); - }); +// it("should reconnect with id", done => { +// sseServer(done, "/unstable", (evtSource, done) => { +// const ids: string[] = []; +// evtSource.onmessage = e => { +// ids.push(e.lastEventId); +// if (ids.length === 2) { +// for (let i = 0; i < 2; i++) { +// expect(ids[i]).toBe((i + 1).toString()); +// } +// done(); +// } +// }; +// }); +// }); - it("should call error", done => { - sseServer(done, "/", (evtSource, done) => { - evtSource.onerror = e => { - expect(e.error.message).toBe( - `EventSource's response has a MIME type that is not "text/event-stream". Aborting the connection.`, - ); - done(); - }; - }); - }); -}); +// it("should call error", done => { +// sseServer(done, "/", (evtSource, done) => { +// evtSource.onerror = e => { +// expect(e.error.message).toBe( +// `EventSource's response has a MIME type that is not "text/event-stream". Aborting the connection.`, +// ); +// done(); +// }; +// }); +// }); +// }); diff --git a/test/js/bun/http/error-response.js b/test/js/bun/http/error-response.js new file mode 100644 index 000000000..3284c146b --- /dev/null +++ b/test/js/bun/http/error-response.js @@ -0,0 +1,8 @@ +const s = Bun.serve({ + fetch(req, res) { + s.stop(true); + throw new Error("1"); + }, + port: 0, +}); +fetch(`http://${s.hostname}:${s.port}`).then(res => console.log(res.status)); diff --git a/test/js/bun/http/serve.test.ts b/test/js/bun/http/serve.test.ts index 7182ba68d..bba35c085 100644 --- a/test/js/bun/http/serve.test.ts +++ b/test/js/bun/http/serve.test.ts @@ -2,8 +2,10 @@ import { file, gc, Serve, serve, Server } from "bun"; import { afterEach, describe, it, expect, afterAll } from "bun:test"; import { readFileSync, writeFileSync } from "fs"; import { resolve } from "path"; +import { bunExe, bunEnv } from "harness"; import { renderToReadableStream } from "react-dom/server"; import app_jsx from "./app.jsx"; +import { spawn } from "child_process"; type Handler = (req: Request) => Response; afterEach(() => gc(true)); @@ -980,6 +982,19 @@ describe("should support Content-Range with Bun.file()", () => { } }); +it("formats error responses correctly", async () => { + const c = spawn(bunExe(), ["./error-response.js"], { cwd: import.meta.dir, env: bunEnv }); + + var output = ""; + c.stderr.on("data", chunk => { + output += chunk.toString(); + }); + c.stderr.on("end", () => { + expect(output).toContain('throw new Error("1");'); + c.kill(); + }); +}); + it("request body and signal life cycle", async () => { { const headers = { diff --git a/test/js/bun/net/socket.test.ts b/test/js/bun/net/socket.test.ts index 1da000834..5126067e6 100644 --- a/test/js/bun/net/socket.test.ts +++ b/test/js/bun/net/socket.test.ts @@ -105,7 +105,28 @@ it("should reject on connection error, calling both connectError() and rejecting }); it("should not leak memory when connect() fails", async () => { - await expectMaxObjectTypeCount(expect, "TCPSocket", 1, 100); + await (async () => { + var promises = new Array(100); + for (let i = 0; i < 100; i++) { + promises[i] = connect({ + hostname: "localhost", + port: 55555, + socket: { + connectError(socket, error) {}, + data() {}, + drain() {}, + close() {}, + end() {}, + error() {}, + open() {}, + }, + }); + } + await Promise.allSettled(promises); + promises.length = 0; + })(); + + await expectMaxObjectTypeCount(expect, "TCPSocket", 50, 100); }); // this also tests we mark the promise as handled if connectError() is called diff --git a/test/js/bun/resolve/esModule-annotation.test.js b/test/js/bun/resolve/esModule-annotation.test.js new file mode 100644 index 000000000..33c84be5d --- /dev/null +++ b/test/js/bun/resolve/esModule-annotation.test.js @@ -0,0 +1,68 @@ +import { test, expect, describe } from "bun:test"; +import * as WithTypeModuleExportEsModuleAnnotationMissingDefault from "./with-type-module/export-esModule-annotation-empty.cjs"; +import * as WithTypeModuleExportEsModuleAnnotationNoDefault from "./with-type-module/export-esModule-annotation-no-default.cjs"; +import * as WithTypeModuleExportEsModuleAnnotation from "./with-type-module/export-esModule-annotation.cjs"; +import * as WithTypeModuleExportEsModuleNoAnnotation from "./with-type-module/export-esModule-no-annotation.cjs"; +import * as WithoutTypeModuleExportEsModuleAnnotationMissingDefault from "./without-type-module/export-esModule-annotation-empty.cjs"; +import * as WithoutTypeModuleExportEsModuleAnnotationNoDefault from "./without-type-module/export-esModule-annotation-no-default.cjs"; +import * as WithoutTypeModuleExportEsModuleAnnotation from "./without-type-module/export-esModule-annotation.cjs"; +import * as WithoutTypeModuleExportEsModuleNoAnnotation from "./without-type-module/export-esModule-no-annotation.cjs"; + +describe('without type: "module"', () => { + test("module.exports = {}", () => { + expect(WithoutTypeModuleExportEsModuleAnnotationMissingDefault.default).toEqual({}); + expect(WithoutTypeModuleExportEsModuleAnnotationMissingDefault.__esModule).toBeUndefined(); + }); + + test("exports.__esModule = true", () => { + expect(WithoutTypeModuleExportEsModuleAnnotationNoDefault.default).toEqual({ + __esModule: true, + }); + + // The module namespace object will not have the __esModule property. + expect(WithoutTypeModuleExportEsModuleAnnotationNoDefault).not.toHaveProperty("__esModule"); + }); + + test("exports.default = true; exports.__esModule = true;", () => { + expect(WithoutTypeModuleExportEsModuleAnnotation.default).toBeTrue(); + expect(WithoutTypeModuleExportEsModuleAnnotation.__esModule).toBeUndefined(); + }); + + test("exports.default = true;", () => { + expect(WithoutTypeModuleExportEsModuleNoAnnotation.default).toEqual({ + default: true, + }); + expect(WithoutTypeModuleExportEsModuleAnnotation.__esModule).toBeUndefined(); + }); +}); + +describe('with type: "module"', () => { + test("module.exports = {}", () => { + expect(WithTypeModuleExportEsModuleAnnotationMissingDefault.default).toEqual({}); + expect(WithTypeModuleExportEsModuleAnnotationMissingDefault.__esModule).toBeUndefined(); + }); + + test("exports.__esModule = true", () => { + expect(WithTypeModuleExportEsModuleAnnotationNoDefault.default).toEqual({ + __esModule: true, + }); + + // The module namespace object WILL have the __esModule property. + expect(WithTypeModuleExportEsModuleAnnotationNoDefault).toHaveProperty("__esModule"); + }); + + test("exports.default = true; exports.__esModule = true;", () => { + expect(WithTypeModuleExportEsModuleAnnotation.default).toEqual({ + default: true, + __esModule: true, + }); + expect(WithTypeModuleExportEsModuleAnnotation.__esModule).toBeTrue(); + }); + + test("exports.default = true;", () => { + expect(WithTypeModuleExportEsModuleNoAnnotation.default).toEqual({ + default: true, + }); + expect(WithTypeModuleExportEsModuleAnnotation.__esModule).toBeTrue(); + }); +}); diff --git a/test/js/bun/resolve/import-meta.test.js b/test/js/bun/resolve/import-meta.test.js index 5771aeb30..e23b44446 100644 --- a/test/js/bun/resolve/import-meta.test.js +++ b/test/js/bun/resolve/import-meta.test.js @@ -9,7 +9,7 @@ import sync from "./require-json.json"; const { path, dir } = import.meta; it("primordials are not here!", () => { - expect(import.meta.primordials === undefined).toBe(true); + expect(globalThis[Symbol.for("Bun.lazy")]("primordials") === undefined).toBe(true); }); it("import.meta.main", () => { @@ -25,9 +25,14 @@ it("import.meta.main", () => { it("import.meta.resolveSync", () => { expect(import.meta.resolveSync("./" + import.meta.file, import.meta.path)).toBe(path); +}); + +it("Module.createRequire", () => { const require = Module.createRequire(import.meta.path); expect(require.resolve(import.meta.path)).toBe(path); expect(require.resolve("./" + import.meta.file)).toBe(path); + const { resolve } = require; + expect(resolve("./" + import.meta.file)).toBe(path); // check it works with URL objects expect(Module.createRequire(new URL(import.meta.url)).resolve(import.meta.path)).toBe(import.meta.path); @@ -68,8 +73,11 @@ it("import.meta.require (json)", () => { }); it("const f = require;require(json)", () => { + function capture(f) { + return f.length; + } const f = require; - console.log(f); + capture(f); expect(f("./require-json.json").hello).toBe(sync.hello); }); @@ -82,12 +90,6 @@ it("Module.createRequire().resolve", () => { expect(result).toBe(expected); }); -// this is stubbed out -it("Module._nodeModulePaths()", () => { - const expected = Module._nodeModulePaths(); - expect(!!expected).toBe(true); -}); - // this isn't used in bun but exists anyway // we just want it to not be undefined it("Module._cache", () => { @@ -95,9 +97,9 @@ it("Module._cache", () => { expect(!!expected).toBe(true); }); -it("Module._resolveFileName()", () => { +it("Module._resolveFilename()", () => { const expected = Bun.resolveSync(import.meta.path, "/"); - const result = Module._resolveFileName(import.meta.path, "/", true); + const result = Module._resolveFilename(import.meta.path, "/", true); expect(result).toBe(expected); }); @@ -107,7 +109,6 @@ it("Module.createRequire(file://url).resolve(file://url)", () => { const createdRequire = Module.createRequire(import.meta.url); const result1 = createdRequire.resolve("./require-json.json"); const result2 = createdRequire.resolve("file://./require-json.json"); - expect(result1).toBe(expected); expect(result2).toBe(expected); }); diff --git a/test/js/bun/resolve/with-type-module/export-esModule-annotation-empty.cjs b/test/js/bun/resolve/with-type-module/export-esModule-annotation-empty.cjs new file mode 100644 index 000000000..f053ebf79 --- /dev/null +++ b/test/js/bun/resolve/with-type-module/export-esModule-annotation-empty.cjs @@ -0,0 +1 @@ +module.exports = {}; diff --git a/test/js/bun/resolve/with-type-module/export-esModule-annotation-no-default.cjs b/test/js/bun/resolve/with-type-module/export-esModule-annotation-no-default.cjs new file mode 100644 index 000000000..32b83d4a5 --- /dev/null +++ b/test/js/bun/resolve/with-type-module/export-esModule-annotation-no-default.cjs @@ -0,0 +1 @@ +exports.__esModule = true; diff --git a/test/js/bun/resolve/with-type-module/export-esModule-annotation.cjs b/test/js/bun/resolve/with-type-module/export-esModule-annotation.cjs new file mode 100644 index 000000000..bc0625a0c --- /dev/null +++ b/test/js/bun/resolve/with-type-module/export-esModule-annotation.cjs @@ -0,0 +1,2 @@ +exports.default = true; +exports.__esModule = true; diff --git a/test/js/bun/resolve/with-type-module/export-esModule-no-annotation.cjs b/test/js/bun/resolve/with-type-module/export-esModule-no-annotation.cjs new file mode 100644 index 000000000..a4b65815f --- /dev/null +++ b/test/js/bun/resolve/with-type-module/export-esModule-no-annotation.cjs @@ -0,0 +1 @@ +exports.default = true; diff --git a/test/js/bun/resolve/with-type-module/package.json b/test/js/bun/resolve/with-type-module/package.json new file mode 100644 index 000000000..f1863a426 --- /dev/null +++ b/test/js/bun/resolve/with-type-module/package.json @@ -0,0 +1,4 @@ +{ + "name": "with-type-module", + "type": "module" +} diff --git a/test/js/bun/resolve/without-type-module/export-esModule-annotation-empty.cjs b/test/js/bun/resolve/without-type-module/export-esModule-annotation-empty.cjs new file mode 100644 index 000000000..f053ebf79 --- /dev/null +++ b/test/js/bun/resolve/without-type-module/export-esModule-annotation-empty.cjs @@ -0,0 +1 @@ +module.exports = {}; diff --git a/test/js/bun/resolve/without-type-module/export-esModule-annotation-no-default.cjs b/test/js/bun/resolve/without-type-module/export-esModule-annotation-no-default.cjs new file mode 100644 index 000000000..32b83d4a5 --- /dev/null +++ b/test/js/bun/resolve/without-type-module/export-esModule-annotation-no-default.cjs @@ -0,0 +1 @@ +exports.__esModule = true; diff --git a/test/js/bun/resolve/without-type-module/export-esModule-annotation.cjs b/test/js/bun/resolve/without-type-module/export-esModule-annotation.cjs new file mode 100644 index 000000000..bc0625a0c --- /dev/null +++ b/test/js/bun/resolve/without-type-module/export-esModule-annotation.cjs @@ -0,0 +1,2 @@ +exports.default = true; +exports.__esModule = true; diff --git a/test/js/bun/resolve/without-type-module/export-esModule-no-annotation.cjs b/test/js/bun/resolve/without-type-module/export-esModule-no-annotation.cjs new file mode 100644 index 000000000..a4b65815f --- /dev/null +++ b/test/js/bun/resolve/without-type-module/export-esModule-no-annotation.cjs @@ -0,0 +1 @@ +exports.default = true; diff --git a/test/js/bun/resolve/without-type-module/package.json b/test/js/bun/resolve/without-type-module/package.json new file mode 100644 index 000000000..5b290db1c --- /dev/null +++ b/test/js/bun/resolve/without-type-module/package.json @@ -0,0 +1,4 @@ +{ + "name": "without-type-module", + "type": "commonjs" +} diff --git a/test/js/bun/spawn/spawn-streaming-stdin.test.ts b/test/js/bun/spawn/spawn-streaming-stdin.test.ts index 27efa14ec..0c430b680 100644 --- a/test/js/bun/spawn/spawn-streaming-stdin.test.ts +++ b/test/js/bun/spawn/spawn-streaming-stdin.test.ts @@ -2,18 +2,22 @@ import { it, test, expect } from "bun:test"; import { spawn } from "bun"; import { bunExe, bunEnv, gcTick } from "harness"; import { closeSync, openSync } from "fs"; +import { tmpdir } from "node:os"; +import { join } from "path"; +import { unlinkSync } from "node:fs"; const N = 100; test("spawn can write to stdin multiple chunks", async () => { const maxFD = openSync("/dev/null", "w"); for (let i = 0; i < N; i++) { + const tmperr = join(tmpdir(), "stdin-repro-error.log." + i); var exited; await (async function () { const proc = spawn({ cmd: [bunExe(), import.meta.dir + "/stdin-repro.js"], stdout: "pipe", stdin: "pipe", - stderr: Bun.file("/tmp/out.log"), + stderr: Bun.file(tmperr), env: bunEnv, }); exited = proc.exited; @@ -45,6 +49,10 @@ test("spawn can write to stdin multiple chunks", async () => { await Promise.all([prom, prom2]); expect(Buffer.concat(chunks).toString().trim()).toBe("Wrote to stdin!\n".repeat(4).trim()); await proc.exited; + + try { + unlinkSync(tmperr); + } catch (e) {} })(); } @@ -54,4 +62,4 @@ test("spawn can write to stdin multiple chunks", async () => { // assert we didn't leak any file descriptors expect(newMaxFD).toBe(maxFD); -}); +}, 10_000); diff --git a/test/js/bun/sqlite/sqlite.test.js b/test/js/bun/sqlite/sqlite.test.js index faa7d5015..e4725cac2 100644 --- a/test/js/bun/sqlite/sqlite.test.js +++ b/test/js/bun/sqlite/sqlite.test.js @@ -513,6 +513,24 @@ it("latin1 supplement chars", () => { expect(db.query("SELECT * FROM foo WHERE id > 9999").values()).toEqual([]); }); +it("supports FTS5", () => { + const db = new Database(); + db.run("CREATE VIRTUAL TABLE movies USING fts5(title, tokenize='trigram')"); + const insert = db.prepare("INSERT INTO movies VALUES ($title)"); + const insertMovies = db.transaction(movies => { + for (const movie of movies) insert.run(movie); + }); + insertMovies([ + { $title: "The Shawshank Redemption" }, + { $title: "WarGames" }, + { $title: "Interstellar" }, + { $title: "Se7en" }, + { $title: "City of God" }, + { $title: "Spirited Away" }, + ]); + expect(db.query("SELECT * FROM movies('game')").all()).toEqual([{ title: "WarGames" }]); +}); + describe("Database.run", () => { it("should not throw error `not an error` when provided query containing only whitespace", () => { const db = Database.open(":memory:"); diff --git a/test/js/bun/test/expect.test.js b/test/js/bun/test/expect.test.js index f09f7d196..ed94b7e9a 100644 --- a/test/js/bun/test/expect.test.js +++ b/test/js/bun/test/expect.test.js @@ -6,6 +6,28 @@ var { isBun, test, describe, expect, jest, vi, mock, bunTest, spyOn } = require("./test-interop.js")(); describe("expect()", () => { + test("rejects", async () => { + await expect(Promise.reject(1)).rejects.toBe(1); + + // Different task + await expect( + new Promise((_, reject) => { + setTimeout(() => reject(1), 0); + }), + ).rejects.toBe(1); + }); + + test("resolves", async () => { + await expect(Promise.resolve(1)).resolves.toBe(1); + + // Different task + await expect( + new Promise(resolve => { + setTimeout(() => resolve(1), 0); + }), + ).resolves.toBe(1); + }); + test("can call without an argument", () => { expect().toBe(undefined); }); @@ -1313,6 +1335,62 @@ describe("expect()", () => { expect([1, 2, 3, 4]).not.toEqual([1, 2, 3]); }); + test("toEqual() - private class fields", () => { + class A { + #three = 3; + set three(value) { + this.#three = value; + } + + get three() { + return this.#three; + } + } + + class B { + #three = 3; + set three(value) { + this.#three = value; + } + + get three() { + return this.#three; + } + } + + let a1 = new A(); + let a2 = new A(); + a1.three = 4; + expect(a1).toEqual(a2); + expect(a2).toEqual(a1); + + let a3 = new A(); + let a4 = new A(); + a3.three = 4; + // use indexed properties for slow path + a3[1] = 2; + a4[1] = 2; + expect(a3).toEqual(a4); + expect(a4).toEqual(a3); + + let b1 = new B(); + let a5 = new A(); + expect(b1).toEqual(a5); + expect(a5).toEqual(b1); + + b1.three = 4; + expect(b1).toEqual(a5); + expect(a5).toEqual(b1); + + b1[1] = 2; + expect(b1).not.toEqual(a5); + expect(a5).not.toEqual(b1); + + a5[1] = 2; + expect(b1).toEqual(a5); + expect(a5).toEqual(b1); + }); + test("properties with different circularity are not equal", () => { const a = {}; a.x = { y: a }; @@ -2654,28 +2732,74 @@ describe("expect()", () => { describe("toBeEmpty()", () => { const values = [ - "", - [], - {}, - new Set(), - new Map(), - new String(), - new Array(), - new Uint8Array(), - new Object(), - Buffer.from(""), - ...(isBun ? [Bun.file("/tmp/empty.txt")] : []), - new Headers(), - new URLSearchParams(), - new FormData(), - (function* () {})(), + { + label: `""`, + value: "", + }, + { + label: `[]`, + value: [], + }, + { + label: `{}`, + value: {}, + }, + { + label: `new Set()`, + value: new Set(), + }, + { + label: `new Map()`, + value: new Map(), + }, + { + label: `new String()`, + value: new String(), + }, + { + label: `new Array()`, + value: new Array(), + }, + { + label: `new Uint8Array()`, + value: new Uint8Array(), + }, + { + label: `new Object()`, + value: new Object(), + }, + { + label: `Buffer.from("")`, + value: Buffer.from(""), + }, + { + label: `new Headers()`, + value: new Headers(), + }, + { + label: `new URLSearchParams()`, + value: new URLSearchParams(), + }, + { + label: `new FormData()`, + value: new FormData(), + }, + { + label: `(function* () {})()`, + value: (function* () {})(), + }, ]; - for (const value of values) { - test(label(value), () => { - if (value && typeof value === "object" && value instanceof Blob) { + if (isBun) { + values.push({ + label: `Bun.file()`, + value: Bun.file("/tmp/empty.txt"), + }); + } + for (const { label, value } of values) { + test(label, () => { + if (value instanceof Blob) { require("fs").writeFileSync("/tmp/empty.txt", ""); } - expect(value).toBeEmpty(); }); } @@ -2683,34 +2807,81 @@ describe("expect()", () => { describe("not.toBeEmpty()", () => { const values = [ - " ", - [""], - [undefined], - { "": "" }, - new Set([""]), - new Map([["", ""]]), - new String(" "), - new Array(1), - new Uint8Array(1), - Buffer.from(" "), - ...(isBun ? [Bun.file(__filename)] : []), - new Headers({ - a: "b", - c: "d", - }), - new URL("https://example.com?d=e&f=g").searchParams, - (() => { - var a = new FormData(); - a.append("a", "b"); - a.append("c", "d"); - return a; - })(), - (function* () { - yield "123"; - })(), + { + label: `" "`, + value: " ", + }, + { + label: `[""]`, + value: [""], + }, + { + label: `[undefined]`, + value: [undefined], + }, + { + label: `{ "": "" }`, + value: { "": "" }, + }, + { + label: `new Set([""])`, + value: new Set([""]), + }, + { + label: `new Map([["", ""]])`, + value: new Map([["", ""]]), + }, + { + label: `new String(" ")`, + value: new String(" "), + }, + { + label: `new Array(1)`, + value: new Array(1), + }, + { + label: `new Uint8Array(1)`, + value: new Uint8Array(1), + }, + { + label: `Buffer.from(" ")`, + value: Buffer.from(" "), + }, + { + label: `new Headers({...})`, + value: new Headers({ + a: "b", + c: "d", + }), + }, + { + label: `URL.searchParams`, + value: new URL("https://example.com?d=e&f=g").searchParams, + }, + { + label: `FormData`, + value: (() => { + var a = new FormData(); + a.append("a", "b"); + a.append("c", "d"); + return a; + })(), + }, + { + label: `generator function`, + value: (function* () { + yield "123"; + })(), + }, ]; - for (const value of values) { - test(label(value), () => { + if (isBun) { + values.push({ + label: `Bun.file()`, + value: Bun.file(__filename), + }); + } + for (const { label, value } of values) { + test(label, () => { expect(value).not.toBeEmpty(); }); } @@ -2743,7 +2914,7 @@ describe("expect()", () => { expect([]).toBeArrayOfSize(0); expect(new Array()).toBeArrayOfSize(0); expect([1, 2, 3, "🫓"]).toBeArrayOfSize(4); - expect((new Array() < string) | (number > (1, 2, 3, "🫓"))).toBeArrayOfSize(4); + expect(new Array(1, 2, 3, "🫓")).toBeArrayOfSize(4); expect({}).not.toBeArrayOfSize(1); expect("").not.toBeArrayOfSize(1); expect(0).not.toBeArrayOfSize(1); diff --git a/test/js/bun/test/jest-hooks.test.ts b/test/js/bun/test/jest-hooks.test.ts index c99dc7759..618cdc4c6 100644 --- a/test/js/bun/test/jest-hooks.test.ts +++ b/test/js/bun/test/jest-hooks.test.ts @@ -1,5 +1,36 @@ import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it } from "bun:test"; +let hooks_run: string[] = []; + +beforeAll(() => hooks_run.push("global beforeAll")); +beforeEach(() => hooks_run.push("global beforeEach")); +afterAll(() => hooks_run.push("global afterAll")); +afterEach(() => hooks_run.push("global afterEach")); + +describe("describe scope", () => { + beforeAll(() => hooks_run.push("describe beforeAll")); + beforeEach(() => hooks_run.push("describe beforeEach")); + afterAll(() => hooks_run.push("describe afterAll")); + afterEach(() => hooks_run.push("describe afterEach")); + + it("should run after beforeAll/beforeEach in the correct order", () => { + expect(hooks_run).toEqual(["global beforeAll", "describe beforeAll", "global beforeEach", "describe beforeEach"]); + }); + + it("should run after afterEach/afterAll in the correct order", () => { + expect(hooks_run).toEqual([ + "global beforeAll", + "describe beforeAll", + "global beforeEach", + "describe beforeEach", + "describe afterEach", + "global afterEach", + "global beforeEach", + "describe beforeEach", + ]); + }); +}); + describe("test jest hooks in bun-test", () => { describe("test beforeAll hook", () => { let animal = "tiger"; diff --git a/test/js/bun/test/mock-fn.test.js b/test/js/bun/test/mock-fn.test.js index eac981fd1..ef3c4b7d3 100644 --- a/test/js/bun/test/mock-fn.test.js +++ b/test/js/bun/test/mock-fn.test.js @@ -2,7 +2,16 @@ * This file is meant to be runnable in both Jest and Bun. * `bunx jest mock-fn.test.js` */ -var { isBun, test, describe, expect, jest, vi, mock, bunTest, spyOn } = require("./test-interop.js")(); +var { isBun, expect, jest, vi, mock, spyOn } = require("./test-interop.js")(); + +// if you want to test vitest, comment the above and uncomment the below + +// import { expect, describe, test, vi } from "vitest"; +// const isBun = false; +// const jest = { fn: vi.fn, restoreAllMocks: vi.restoreAllMocks }; +// const spyOn = vi.spyOn; +// import * as extended from "jest-extended"; +// expect.extend(extended); async function expectResolves(promise) { expect(promise).toBeInstanceOf(Promise); @@ -434,7 +443,6 @@ describe("mock()", () => { return "3"; }, ); - expect(result).toBe(undefined); expect(fn()).toBe("1"); }); test("withImplementation (async)", async () => { @@ -595,5 +603,19 @@ describe("spyOn", () => { }); } + test("spyOn twice works", () => { + var obj = { + original() { + return 42; + }, + }; + const _original = obj.original; + const fn = spyOn(obj, "original"); + const fn2 = spyOn(obj, "original"); + expect(fn).toBe(obj.original); + expect(fn2).toBe(fn); + expect(fn).not.toBe(_original); + }); + // spyOn does not work with getters/setters yet. }); diff --git a/test/js/bun/test/test-interop.js b/test/js/bun/test/test-interop.js index 5c41082d6..4b2199ae9 100644 --- a/test/js/bun/test/test-interop.js +++ b/test/js/bun/test/test-interop.js @@ -20,6 +20,25 @@ module.exports = () => { vi: bunTest.vi, spyOn: bunTest.spyOn, }; + } else if (process.env.VITEST) { + const vi = require("vitest"); + + return { + isBun: false, + bunTest: null, + test: vi.test, + describe: vi.describe, + it: vi.it, + expect: vi.expect, + beforeEach: vi.beforeEach, + afterEach: vi.afterEach, + beforeAll: vi.beforeAll, + afterAll: vi.afterAll, + jest: { fn: vi.fn }, + mock: null, + vi, + spyOn: vi.spyOn, + }; } else { const globals = require("@jest/globals"); const extended = require("jest-extended"); diff --git a/test/js/bun/test/test-test.test.ts b/test/js/bun/test/test-test.test.ts index 7ecfdef11..5f732bb82 100644 --- a/test/js/bun/test/test-test.test.ts +++ b/test/js/bun/test/test-test.test.ts @@ -540,18 +540,18 @@ beforeEach: #2 beforeEach: TEST-FILE beforeEach: one describe scope -- inside one describe scope -- +afterEach: one describe scope +afterEach: TEST-FILE afterEach: #1 afterEach: #2 -afterEach: TEST-FILE -afterEach: one describe scope afterAll: one describe scope beforeEach: #1 beforeEach: #2 beforeEach: TEST-FILE -- the top-level test -- +afterEach: TEST-FILE afterEach: #1 afterEach: #2 -afterEach: TEST-FILE afterAll: TEST-FILE afterAll: #1 afterAll: #2 diff --git a/test/js/bun/test/test-timers.test.ts b/test/js/bun/test/test-timers.test.ts new file mode 100644 index 000000000..963467dee --- /dev/null +++ b/test/js/bun/test/test-timers.test.ts @@ -0,0 +1,28 @@ +test("we can go back in time", () => { + const DateBeforeMocked = Date; + const orig = new Date(); + orig.setHours(0, 0, 0, 0); + jest.useFakeTimers(); + jest.setSystemTime(new Date("1995-12-19T00:00:00.000Z")); + + expect(new Date().toISOString()).toBe("1995-12-19T00:00:00.000Z"); + expect(Date.now()).toBe(819331200000); + + if (typeof Bun !== "undefined") { + // In bun, the Date object remains the same despite being mocked. + // This prevents a whole bunch of subtle bugs in tests. + expect(DateBeforeMocked).toBe(Date); + expect(DateBeforeMocked.now).toBe(Date.now); + + // Jest doesn't property mock new Intl.DateTimeFormat().format() + expect(new Intl.DateTimeFormat().format()).toBe("12/19/1995"); + } else { + expect(DateBeforeMocked).not.toBe(Date); + expect(DateBeforeMocked.now).not.toBe(Date.now); + } + + jest.useRealTimers(); + const now = new Date(); + now.setHours(0, 0, 0, 0); + expect(now.toISOString()).toBe(orig.toISOString()); +}); diff --git a/test/js/bun/util/bun-file-exists.test.js b/test/js/bun/util/bun-file-exists.test.js new file mode 100644 index 000000000..cca28e359 --- /dev/null +++ b/test/js/bun/util/bun-file-exists.test.js @@ -0,0 +1,20 @@ +import { test, expect } from "bun:test"; +import { join } from "path"; +import { tmpdir } from "os"; +import { write } from "bun"; +import { unlinkSync } from "fs"; +test("bun-file-exists", async () => { + expect(await Bun.file(import.meta.path).exists()).toBeTrue(); + expect(await Bun.file(import.meta.path + "boop").exists()).toBeFalse(); + expect(await Bun.file(import.meta.dir).exists()).toBeFalse(); + expect(await Bun.file(import.meta.dir + "/").exists()).toBeFalse(); + const temp = join(tmpdir(), "bun-file-exists.test.js"); + try { + unlinkSync(temp); + } catch (e) {} + expect(await Bun.file(temp).exists()).toBeFalse(); + await write(temp, "boop"); + expect(await Bun.file(temp).exists()).toBeTrue(); + unlinkSync(temp); + expect(await Bun.file(temp).exists()).toBeFalse(); +}); diff --git a/test/js/bun/util/error-gc-test.test.js b/test/js/bun/util/error-gc-test.test.js new file mode 100644 index 000000000..4a45346b6 --- /dev/null +++ b/test/js/bun/util/error-gc-test.test.js @@ -0,0 +1,81 @@ +import { test, expect } from "bun:test"; +import { readFileSync } from "fs"; +// This test checks that printing stack traces increments and decrements +// reference-counted strings +test("error gc test", () => { + for (let i = 0; i < 100; i++) { + var fn = function yo() { + var err = (function innerOne() { + var err = new Error(); + for (let i = 0; i < 1000; i++) { + Bun.inspect(err); + } + Bun.gc(true); + return err; + })(); + err.stack += ""; + }; + + Object.defineProperty(fn, "name", { + value: + "yoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyoyo" + + i, + }); + + fn(); + Bun.gc(true); + } +}); + +test("error gc test #2", () => { + for (let i = 0; i < 1000; i++) { + new Error().stack; + Bun.gc(); + } +}); + +test("error gc test #3", () => { + for (let i = 0; i < 1000; i++) { + var err = new Error(); + Error.captureStackTrace(err); + Bun.inspect(err); + Bun.gc(); + } +}); + +// This test fails if: +// - it crashes +// - The test failure message gets a non-sensical error +test("error gc test #4", () => { + for (let i = 0; i < 1000; i++) { + let path = + // Use a long-enough string for it to be obvious if we leak memory + "/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/ii/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/ii/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i/don/t/exist/tmp/i"; + try { + readFileSync(path); + throw new Error("unreachable"); + } catch (e) { + if (e.message === "unreachable") { + throw e; + } + + const inspected = Bun.inspect(e); + Bun.gc(true); + + // Deliberately avoid using .toContain() directly to avoid + // BunString shenanigins. + // + // Only JSC builtin functions to operate on the string after inspecting it. + // + if (!inspected.includes(path)) { + expect(inspected).toContain(path); + } + + if (!inspected.includes("ENOENT")) { + expect(inspected).toContain("ENOENT"); + } + } finally { + Bun.gc(true); + } + } +}); diff --git a/test/js/bun/websocket/websocket-server.test.ts b/test/js/bun/websocket/websocket-server.test.ts index 7d43c7e65..7a79f9f5f 100644 --- a/test/js/bun/websocket/websocket-server.test.ts +++ b/test/js/bun/websocket/websocket-server.test.ts @@ -3,6 +3,77 @@ import { gcTick } from "harness"; import { serve, ServerWebSocket } from "bun"; describe("websocket server", () => { + it("send & receive empty messages", done => { + const serverReceived: any[] = []; + const clientReceived: any[] = []; + var clientDone = false; + var serverDone = false; + + let server = Bun.serve({ + websocket: { + open(ws) { + ws.send(""); + ws.send(new ArrayBuffer(0)); + }, + message(ws, data) { + serverReceived.push(data); + + if (serverReceived.length === 2) { + if (serverReceived.find(d => d === "") === undefined) { + done(new Error("expected empty string")); + } + + if (!serverReceived.find(d => d.byteLength === 0)) { + done(new Error("expected empty Buffer")); + } + + serverDone = true; + + if (clientDone && serverDone) { + z.close(); + server.stop(true); + done(); + } + } + }, + close() {}, + }, + fetch(req, server) { + if (!server.upgrade(req)) { + return new Response(null, { status: 404 }); + } + }, + port: 0, + }); + + let z = new WebSocket(`ws://${server.hostname}:${server.port}`); + z.onmessage = e => { + clientReceived.push(e.data); + + if (clientReceived.length === 2) { + if (clientReceived.find(d => d === "") === undefined) { + done(new Error("expected empty string")); + } + + if (!clientReceived.find(d => d.byteLength === 0)) { + done(new Error("expected empty Buffer")); + } + + clientDone = true; + if (clientDone && serverDone) { + server.stop(true); + z.close(); + + done(); + } + } + }; + z.addEventListener("open", () => { + z.send(""); + z.send(new Buffer(0)); + }); + }); + it("remoteAddress works", done => { let server = Bun.serve({ websocket: { @@ -849,7 +920,7 @@ describe("websocket server", () => { it("send rope strings", async () => { var ropey = "hello world".repeat(10); var sendQueue: any[] = []; - for (var i = 0; i < 100; i++) { + for (var i = 0; i < 20; i++) { sendQueue.push(ropey + " " + i); } @@ -859,16 +930,13 @@ describe("websocket server", () => { const server = serve({ port: 0, websocket: { - open(ws) { - server.stop(); - }, + open(ws) {}, message(ws, msg) { ws.send(sendQueue[serverCounter++] + " "); - gcTick(); + serverCounter % 10 === 0 && gcTick(); }, }, fetch(req, server) { - server.stop(); if ( server.upgrade(req, { data: { count: 0 }, @@ -879,54 +947,56 @@ describe("websocket server", () => { return new Response("noooooo hello world"); }, }); + try { + await new Promise<void>((resolve, reject) => { + const websocket = new WebSocket(`ws://${server.hostname}:${server.port}`); + websocket.onerror = e => { + reject(e); + }; - await new Promise<void>((resolve, reject) => { - const websocket = new WebSocket(`ws://${server.hostname}:${server.port}`); - websocket.onerror = e => { - reject(e); - }; + websocket.onopen = () => { + server.stop(); + websocket.send("first"); + }; - var counter = 0; - websocket.onopen = () => websocket.send("first"); - websocket.onmessage = e => { - try { - const expected = sendQueue[clientCounter++] + " "; - expect(e.data).toBe(expected); - websocket.send("next"); - if (clientCounter === sendQueue.length) { + websocket.onmessage = e => { + try { + const expected = sendQueue[clientCounter++] + " "; + expect(e.data).toBe(expected); + websocket.send("next"); + if (clientCounter === sendQueue.length) { + websocket.close(); + resolve(); + } + } catch (r) { + reject(r); + console.error(r); websocket.close(); - resolve(); } - } catch (r) { - reject(r); - console.error(r); - websocket.close(); - } - }; - }); - server.stop(true); + }; + }); + } catch (e) { + throw e; + } finally { + server.stop(true); + } }); - // this test sends 100 messages to 10 connected clients via pubsub + // this test sends 50 messages to 10 connected clients via pubsub it("pub/sub", async () => { var ropey = "hello world".repeat(10); var sendQueue: any[] = []; - for (var i = 0; i < 100; i++) { + for (var i = 0; i < 50; i++) { sendQueue.push(ropey + " " + i); - gcTick(); } + var serverCounter = 0; var clientCount = 0; const server = serve({ port: 0, websocket: { - // FIXME: update this test to not rely on publishToSelf: true, - publishToSelf: true, - open(ws) { - server.stop(); ws.subscribe("test"); - gcTick(); if (!ws.isSubscribed("test")) { throw new Error("not subscribed"); } @@ -936,15 +1006,15 @@ describe("websocket server", () => { } ws.subscribe("test"); clientCount++; - if (clientCount === 10) setTimeout(() => ws.publish("test", "hello world"), 1); + if (clientCount === 10) { + setTimeout(() => server.publish("test", "hello world"), 1); + } }, message(ws, msg) { - if (serverCounter < sendQueue.length) ws.publish("test", sendQueue[serverCounter++] + " "); + if (serverCounter < sendQueue.length) server.publish("test", sendQueue[serverCounter++] + " "); }, }, fetch(req) { - gcTick(); - server.stop(); if ( server.upgrade(req, { data: { count: 0 }, @@ -954,90 +1024,90 @@ describe("websocket server", () => { return new Response("noooooo hello world"); }, }); + try { + const connections = new Array(10); + const websockets = new Array(connections.length); + var doneCounter = 0; + await new Promise<void>(done => { + for (var i = 0; i < connections.length; i++) { + var j = i; + var resolve: (_?: unknown) => void, + reject: (_?: unknown) => void, + resolveConnection: (_?: unknown) => void, + rejectConnection: (_?: unknown) => void; + connections[j] = new Promise((res, rej) => { + resolveConnection = res; + rejectConnection = rej; + }); + websockets[j] = new Promise((res, rej) => { + resolve = res; + reject = rej; + }); + const websocket = new WebSocket(`ws://${server.hostname}:${server.port}`); + websocket.onerror = e => { + reject(e); + }; + websocket.onclose = () => { + doneCounter++; + if (doneCounter === connections.length) { + done(); + } + }; + var hasOpened = false; + websocket.onopen = () => { + if (!hasOpened) { + hasOpened = true; + resolve(websocket); + } + }; - const connections = new Array(10); - const websockets = new Array(connections.length); - var doneCounter = 0; - await new Promise<void>(done => { - for (var i = 0; i < connections.length; i++) { - var j = i; - var resolve: (_?: unknown) => void, - reject: (_?: unknown) => void, - resolveConnection: (_?: unknown) => void, - rejectConnection: (_?: unknown) => void; - connections[j] = new Promise((res, rej) => { - resolveConnection = res; - rejectConnection = rej; - }); - websockets[j] = new Promise((res, rej) => { - resolve = res; - reject = rej; - }); - gcTick(); - const websocket = new WebSocket(`ws://${server.hostname}:${server.port}`); - websocket.onerror = e => { - reject(e); - }; - websocket.onclose = () => { - doneCounter++; - if (doneCounter === connections.length) { - done(); - } - }; - var hasOpened = false; - websocket.onopen = () => { - if (!hasOpened) { - hasOpened = true; - resolve(websocket); - } - }; - - let clientCounter = -1; - var hasSentThisTick = false; - - websocket.onmessage = e => { - gcTick(); - - if (!hasOpened) { - hasOpened = true; - resolve(websocket); - } + let clientCounter = -1; + var hasSentThisTick = false; - if (e.data === "hello world") { - clientCounter = 0; - websocket.send("first"); - return; - } + websocket.onmessage = e => { + if (!hasOpened) { + hasOpened = true; + resolve(websocket); + } - try { - expect(!!sendQueue.find(a => a + " " === e.data)).toBe(true); - - if (!hasSentThisTick) { - websocket.send("second"); - hasSentThisTick = true; - queueMicrotask(() => { - hasSentThisTick = false; - }); + if (e.data === "hello world") { + clientCounter = 0; + websocket.send("first"); + return; } - gcTick(); + try { + expect(!!sendQueue.find(a => a + " " === e.data)).toBe(true); + + if (!hasSentThisTick) { + websocket.send("second"); + hasSentThisTick = true; + queueMicrotask(() => { + hasSentThisTick = false; + }); + } - if (clientCounter++ === sendQueue.length - 1) { + if (clientCounter++ === sendQueue.length - 1) { + websocket.close(); + resolveConnection(); + } + } catch (r) { + console.error(r); websocket.close(); - resolveConnection(); + rejectConnection(r); } - } catch (r) { - console.error(r); - websocket.close(); - rejectConnection(r); - gcTick(); - } - }; - } - }); + }; + } + }); + } catch (e) { + throw e; + } finally { + server.stop(true); + gcTick(); + } + expect(serverCounter).toBe(sendQueue.length); - server.stop(true); - }, 10_000); + }, 30_000); it("can close with reason and code #2631", done => { let timeout: any; let server = Bun.serve({ diff --git a/test/js/node/assert/assert.test.cjs b/test/js/node/assert/assert.test.cjs new file mode 100644 index 000000000..e9d472412 --- /dev/null +++ b/test/js/node/assert/assert.test.cjs @@ -0,0 +1,9 @@ +const assert = require("assert"); + +test("assert from require as a function does not throw", () => assert(true)); +test("assert from require as a function does throw", () => { + try { + assert(false); + expect(false).toBe(true); + } catch (e) {} +}); diff --git a/test/js/node/assert/assert-test.test.ts b/test/js/node/assert/assert.test.ts index 1723b7d47..1723b7d47 100644 --- a/test/js/node/assert/assert-test.test.ts +++ b/test/js/node/assert/assert.test.ts diff --git a/test/js/node/buffer.test.js b/test/js/node/buffer.test.js index 697774e0a..cfd114423 100644 --- a/test/js/node/buffer.test.js +++ b/test/js/node/buffer.test.js @@ -1,4 +1,4 @@ -import { Buffer, SlowBuffer } from "buffer"; +import { Buffer, SlowBuffer, isAscii, isUtf8 } from "buffer"; import { describe, it, expect, beforeEach, afterEach } from "bun:test"; import { gc } from "harness"; @@ -7,6 +7,28 @@ const BufferModule = await import("buffer"); beforeEach(() => gc()); afterEach(() => gc()); +it("isAscii", () => { + expect(isAscii(new Buffer("abc"))).toBeTrue(); + expect(isAscii(new Buffer(""))).toBeTrue(); + expect(isAscii(new Buffer([32, 32, 128]))).toBeFalse(); + expect(isAscii(new Buffer("What did the 🦊 say?"))).toBeFalse(); + + expect(isAscii(new Buffer("").buffer)).toBeTrue(); + expect(isAscii(new Buffer([32, 32, 128]).buffer)).toBeFalse(); +}); + +it("isUtf8", () => { + expect(isUtf8(new Buffer("abc"))).toBeTrue(); + expect(isAscii(new Buffer(""))).toBeTrue(); + expect(isUtf8(new Buffer("What did the 🦊 say?"))).toBeTrue(); + expect(isUtf8(new Buffer([129, 129, 129]))).toBeFalse(); + + expect(isUtf8(new Buffer("abc").buffer)).toBeTrue(); + expect(isAscii(new Buffer("").buffer)).toBeTrue(); + expect(isUtf8(new Buffer("What did the 🦊 say?").buffer)).toBeTrue(); + expect(isUtf8(new Buffer([129, 129, 129]).buffer)).toBeFalse(); +}); + // https://github.com/oven-sh/bun/issues/2052 it("Buffer global is settable", () => { var prevBuffer = globalThis.Buffer; @@ -2353,6 +2375,85 @@ it("Buffer.byteLength()", () => { } }); +it("Buffer.toString(encoding, start, end)", () => { + const buf = Buffer.from("0123456789", "utf8"); + + expect(buf.toString()).toStrictEqual("0123456789"); + expect(buf.toString("utf8")).toStrictEqual("0123456789"); + expect(buf.toString("utf8", 3)).toStrictEqual("3456789"); + expect(buf.toString("utf8", 3, 4)).toStrictEqual("3"); + + expect(buf.toString("utf8", 3, 100)).toStrictEqual("3456789"); + expect(buf.toString("utf8", 3, 1)).toStrictEqual(""); + expect(buf.toString("utf8", 100, 200)).toStrictEqual(""); + expect(buf.toString("utf8", 100, 1)).toStrictEqual(""); +}); + +it("Buffer.toString(offset, length, encoding)", () => { + const buf = Buffer.from("0123456789", "utf8"); + + expect(buf.toString(3, 6, "utf8")).toStrictEqual("345678"); + expect(buf.toString(3, 100, "utf8")).toStrictEqual("3456789"); + expect(buf.toString(100, 200, "utf8")).toStrictEqual(""); + expect(buf.toString(100, 50, "utf8")).toStrictEqual(""); +}); + +it("Buffer.asciiSlice())", () => { + const buf = Buffer.from("0123456789", "ascii"); + + expect(buf.asciiSlice()).toStrictEqual("0123456789"); + expect(buf.asciiSlice(3)).toStrictEqual("3456789"); + expect(buf.asciiSlice(3, 4)).toStrictEqual("3"); +}); + +it("Buffer.latin1Slice()", () => { + const buf = Buffer.from("âéö", "latin1"); + + expect(buf.latin1Slice()).toStrictEqual("âéö"); + expect(buf.latin1Slice(1)).toStrictEqual("éö"); + expect(buf.latin1Slice(1, 2)).toStrictEqual("é"); +}); + +it("Buffer.utf8Slice()", () => { + const buf = Buffer.from("あいうえお", "utf8"); + + expect(buf.utf8Slice()).toStrictEqual("あいうえお"); + expect(buf.utf8Slice(3)).toStrictEqual("いうえお"); + expect(buf.utf8Slice(3, 6)).toStrictEqual("い"); +}); + +it("Buffer.hexSlice()", () => { + const buf = Buffer.from("0123456789", "utf8"); + + expect(buf.hexSlice()).toStrictEqual("30313233343536373839"); + expect(buf.hexSlice(3)).toStrictEqual("33343536373839"); + expect(buf.hexSlice(3, 4)).toStrictEqual("33"); +}); + +it("Buffer.ucs2Slice()", () => { + const buf = Buffer.from("あいうえお", "ucs2"); + + expect(buf.ucs2Slice()).toStrictEqual("あいうえお"); + expect(buf.ucs2Slice(2)).toStrictEqual("いうえお"); + expect(buf.ucs2Slice(2, 6)).toStrictEqual("いう"); +}); + +it("Buffer.base64Slice()", () => { + const buf = Buffer.from("0123456789", "utf8"); + + expect(buf.base64Slice()).toStrictEqual("MDEyMzQ1Njc4OQ=="); + expect(buf.base64Slice(3)).toStrictEqual("MzQ1Njc4OQ=="); + expect(buf.base64Slice(3, 4)).toStrictEqual("Mw=="); +}); + +it("Buffer.base64urlSlice()", () => { + const buf = Buffer.from("0123456789", "utf8"); + + expect(buf.base64urlSlice()).toStrictEqual("MDEyMzQ1Njc4OQ"); + expect(buf.base64urlSlice(3)).toStrictEqual("MzQ1Njc4OQ"); + expect(buf.base64urlSlice(3, 4)).toStrictEqual("Mw"); +}); + it("should not crash on invalid UTF-8 byte sequence", () => { const buf = Buffer.from([0xc0, 0xfd]); expect(buf.length).toBe(2); @@ -2392,3 +2493,48 @@ it("inspect() should exist", () => { expect(Buffer.prototype.inspect).toBeInstanceOf(Function); expect(new Buffer("123").inspect()).toBe(Bun.inspect(new Buffer("123"))); }); + +it("read alias", () => { + var buf = new Buffer(1024); + var data = new DataView(buf.buffer); + + data.setUint8(0, 200, false); + + expect(buf.readUint8(0)).toBe(buf.readUInt8(0)); + expect(buf.readUintBE(0, 4)).toBe(buf.readUIntBE(0, 4)); + expect(buf.readUintLE(0, 4)).toBe(buf.readUIntLE(0, 4)); + expect(buf.readUint16BE(0)).toBe(buf.readUInt16BE(0)); + expect(buf.readUint16LE(0)).toBe(buf.readUInt16LE(0)); + expect(buf.readUint32BE(0)).toBe(buf.readUInt32BE(0)); + expect(buf.readUint32LE(0)).toBe(buf.readUInt32LE(0)); + expect(buf.readBigUint64BE(0)).toBe(buf.readBigUInt64BE(0)); + expect(buf.readBigUint64LE(0)).toBe(buf.readBigUInt64LE(0)); +}); + +it("write alias", () => { + var buf = new Buffer(1024); + var buf2 = new Buffer(1024); + + function reset() { + new Uint8Array(buf.buffer).fill(0); + new Uint8Array(buf2.buffer).fill(0); + } + + function shouldBeSame(name, name2, ...args) { + buf[name].call(buf, ...args); + buf2[name2].call(buf2, ...args); + + expect(buf).toStrictEqual(buf2); + reset(); + } + + shouldBeSame("writeUint8", "writeUInt8", 10); + shouldBeSame("writeUintBE", "writeUIntBE", 10, 0, 4); + shouldBeSame("writeUintLE", "writeUIntLE", 10, 0, 4); + shouldBeSame("writeUint16BE", "writeUInt16BE", 1000); + shouldBeSame("writeUint16LE", "writeUInt16LE", 1000); + shouldBeSame("writeUint32BE", "writeUInt32BE", 1000); + shouldBeSame("writeUint32LE", "writeUInt32LE", 1000); + shouldBeSame("writeBigUint64BE", "writeBigUInt64BE", BigInt(1000)); + shouldBeSame("writeBigUint64LE", "writeBigUInt64LE", BigInt(1000)); +}); diff --git a/test/js/node/crypto/crypto.test.ts b/test/js/node/crypto/crypto.test.ts index d8bfe5353..b1b8646f3 100644 --- a/test/js/node/crypto/crypto.test.ts +++ b/test/js/node/crypto/crypto.test.ts @@ -1,6 +1,6 @@ import { sha, MD5, MD4, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_256, gc, CryptoHasher } from "bun"; import { it, expect, describe } from "bun:test"; - +import crypto from "crypto"; const HashClasses = [MD5, MD4, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_256]; describe("CryptoHasher", () => { @@ -109,6 +109,13 @@ describe("CryptoHasher", () => { } }); +describe("crypto.getCurves", () => { + it("should return an array of strings", () => { + expect(Array.isArray(crypto.getCurves())).toBe(true); + expect(typeof crypto.getCurves()[0]).toBe("string"); + }); +}); + describe("crypto", () => { for (let Hash of HashClasses) { for (let [input, label] of [ diff --git a/test/js/node/crypto/node-crypto.test.js b/test/js/node/crypto/node-crypto.test.js index 9e0e7f396..2489f96c7 100644 --- a/test/js/node/crypto/node-crypto.test.js +++ b/test/js/node/crypto/node-crypto.test.js @@ -8,6 +8,27 @@ it("crypto.randomBytes should return a Buffer", () => { expect(Buffer.isBuffer(crypto.randomBytes(1))).toBe(true); }); +it("crypto.randomInt should return a number", () => { + const result = crypto.randomInt(0, 10); + expect(typeof result).toBe("number"); + expect(result).toBeGreaterThanOrEqual(0); + expect(result).toBeLessThanOrEqual(10); +}); + +it("crypto.randomInt with no arguments", () => { + const result = crypto.randomInt(); + expect(typeof result).toBe("number"); + expect(result).toBeGreaterThanOrEqual(0); + expect(result).toBeLessThanOrEqual(Number.MAX_SAFE_INTEGER); +}); + +it("crypto.randomInt with one argument", () => { + const result = crypto.randomInt(100); + expect(typeof result).toBe("number"); + expect(result).toBeGreaterThanOrEqual(0); + expect(result).toBeLessThanOrEqual(100); +}); + // https://github.com/oven-sh/bun/issues/1839 describe("createHash", () => { it("update & digest", () => { @@ -22,6 +43,50 @@ describe("createHash", () => { expect(Buffer.isBuffer(hash.digest())).toBeTrue(); }); + const otherEncodings = { + ucs2: [ + 11626, 2466, 37699, 38942, 64564, 53010, 48101, 47943, 44761, 18499, 12442, 26994, 46434, 62582, 39395, 20542, + ], + latin1: [ + 106, 45, 162, 9, 67, 147, 30, 152, 52, 252, 18, 207, 229, 187, 71, 187, 217, 174, 67, 72, 154, 48, 114, 105, 98, + 181, 118, 244, 227, 153, 62, 80, + ], + binary: [ + 106, 45, 162, 9, 67, 147, 30, 152, 52, 252, 18, 207, 229, 187, 71, 187, 217, 174, 67, 72, 154, 48, 114, 105, 98, + 181, 118, 244, 227, 153, 62, 80, + ], + base64: [ + 97, 105, 50, 105, 67, 85, 79, 84, 72, 112, 103, 48, 47, 66, 76, 80, 53, 98, 116, 72, 117, 57, 109, 117, 81, 48, + 105, 97, 77, 72, 74, 112, 89, 114, 86, 50, 57, 79, 79, 90, 80, 108, 65, 61, + ], + hex: [ + 54, 97, 50, 100, 97, 50, 48, 57, 52, 51, 57, 51, 49, 101, 57, 56, 51, 52, 102, 99, 49, 50, 99, 102, 101, 53, 98, + 98, 52, 55, 98, 98, 100, 57, 97, 101, 52, 51, 52, 56, 57, 97, 51, 48, 55, 50, 54, 57, 54, 50, 98, 53, 55, 54, 102, + 52, 101, 51, 57, 57, 51, 101, 53, 48, + ], + ascii: [ + 106, 45, 34, 9, 67, 19, 30, 24, 52, 124, 18, 79, 101, 59, 71, 59, 89, 46, 67, 72, 26, 48, 114, 105, 98, 53, 118, + 116, 99, 25, 62, 80, + ], + utf8: [ + 106, 45, 65533, 9, 67, 65533, 30, 65533, 52, 65533, 18, 65533, 65533, 71, 65533, 1646, 67, 72, 65533, 48, 114, + 105, 98, 65533, 118, 65533, 65533, 62, 80, + ], + }; + + for (let encoding in otherEncodings) { + it("digest " + encoding, () => { + const hash = crypto.createHash("sha256"); + hash.update("some data to hash"); + expect( + hash + .digest(encoding) + .split("") + .map(a => a.charCodeAt(0)), + ).toEqual(otherEncodings[encoding]); + }); + } + it("stream (sync)", () => { const hash = crypto.createHash("sha256"); hash.write("some data to hash"); diff --git a/test/js/node/disabled-module.test.cjs b/test/js/node/disabled-module.test.cjs new file mode 100644 index 000000000..bc4817b8d --- /dev/null +++ b/test/js/node/disabled-module.test.cjs @@ -0,0 +1,6 @@ +test("not implemented yet module masquerades as undefined in cjs and throws an error", () => { + const worker_threads = require("worker_threads"); + + expect(typeof worker_threads).toBe("undefined"); + expect(typeof worker_threads.getEnvironmentData).toBe("undefined"); +}); diff --git a/test/js/node/disabled-module.test.js b/test/js/node/disabled-module.test.js index d02a6b6df..bb707a122 100644 --- a/test/js/node/disabled-module.test.js +++ b/test/js/node/disabled-module.test.js @@ -1,15 +1,16 @@ import { expect, test } from "bun:test"; +import { AsyncResource, AsyncLocalStorage } from "async_hooks"; +import * as worker_threads from "worker_threads"; +import worker_threads_default from "worker_threads"; test("not implemented yet module masquerades as undefined and throws an error", () => { - const worker_threads = import.meta.require("worker_threads"); - - expect(typeof worker_threads).toBe("undefined"); + expect(typeof worker_threads.default).toBe("undefined"); + expect(typeof worker_threads_default).toBe("undefined"); expect(typeof worker_threads.getEnvironmentData).toBe("undefined"); + expect(typeof worker_threads_default.getEnvironmentData).toBe("undefined"); }); test("AsyncLocalStorage polyfill", () => { - const { AsyncLocalStorage } = import.meta.require("async_hooks"); - const store = new AsyncLocalStorage(); var called = false; expect(store.getStore()).toBe(null); @@ -22,8 +23,6 @@ test("AsyncLocalStorage polyfill", () => { }); test("AsyncResource polyfill", () => { - const { AsyncResource } = import.meta.require("async_hooks"); - const resource = new AsyncResource("prisma-client-request"); var called = false; resource.runInAsyncScope( @@ -36,3 +35,9 @@ test("AsyncResource polyfill", () => { ); expect(called).toBe(true); }); + +test("esbuild functions with worker_threads stub", async () => { + const esbuild = await import("esbuild"); + const result = await esbuild.transform('console . log( "hello world" )', { minify: true }); + expect(result.code).toBe('console.log("hello world");\n'); +}); diff --git a/test/js/node/dns/dns.node.mjs b/test/js/node/dns/dns.node.mjs deleted file mode 100644 index e69de29bb..000000000 --- a/test/js/node/dns/dns.node.mjs +++ /dev/null diff --git a/test/js/node/dns/node-dns.test.js b/test/js/node/dns/node-dns.test.js index 5fb8e0739..5de840146 100644 --- a/test/js/node/dns/node-dns.test.js +++ b/test/js/node/dns/node-dns.test.js @@ -1,5 +1,6 @@ import { expect, test } from "bun:test"; import * as dns from "node:dns"; +import * as dns_promises from "node:dns/promises"; // TODO: test("it exists", () => { @@ -18,6 +19,38 @@ test("it exists", () => { expect(dns.resolveNs).toBeDefined(); expect(dns.resolvePtr).toBeDefined(); expect(dns.resolveCname).toBeDefined(); + + expect(dns.promises).toBeDefined(); + expect(dns.promises.lookup).toBeDefined(); + expect(dns.promises.lookupService).toBeDefined(); + expect(dns.promises.resolve).toBeDefined(); + expect(dns.promises.resolve4).toBeDefined(); + expect(dns.promises.resolve6).toBeDefined(); + expect(dns.promises.resolveSrv).toBeDefined(); + expect(dns.promises.resolveTxt).toBeDefined(); + expect(dns.promises.resolveSoa).toBeDefined(); + expect(dns.promises.resolveNaptr).toBeDefined(); + expect(dns.promises.resolveMx).toBeDefined(); + expect(dns.promises.resolveCaa).toBeDefined(); + expect(dns.promises.resolveNs).toBeDefined(); + expect(dns.promises.resolvePtr).toBeDefined(); + expect(dns.promises.resolveCname).toBeDefined(); + + expect(dns_promises).toBeDefined(); + expect(dns_promises.lookup).toBeDefined(); + expect(dns_promises.lookupService).toBeDefined(); + expect(dns_promises.resolve).toBeDefined(); + expect(dns_promises.resolve4).toBeDefined(); + expect(dns_promises.resolve6).toBeDefined(); + expect(dns_promises.resolveSrv).toBeDefined(); + expect(dns_promises.resolveTxt).toBeDefined(); + expect(dns_promises.resolveSoa).toBeDefined(); + expect(dns_promises.resolveNaptr).toBeDefined(); + expect(dns_promises.resolveMx).toBeDefined(); + expect(dns_promises.resolveCaa).toBeDefined(); + expect(dns_promises.resolveNs).toBeDefined(); + expect(dns_promises.resolvePtr).toBeDefined(); + expect(dns_promises.resolveCname).toBeDefined(); }); // //TODO: use a bun.sh SRV for testing diff --git a/test/js/node/events/event-emitter.test.ts b/test/js/node/events/event-emitter.test.ts index cef309d48..5a1385383 100644 --- a/test/js/node/events/event-emitter.test.ts +++ b/test/js/node/events/event-emitter.test.ts @@ -1,5 +1,6 @@ import { test, describe, expect } from "bun:test"; import { sleep } from "bun"; +import { createRequire } from "module"; // this is also testing that imports with default and named imports in the same statement work // our transpiler transform changes this to a var with import.meta.require @@ -534,4 +535,10 @@ describe("EventEmitter constructors", () => { expect(called).toBe(true); }); } + + test("with createRequire, events is callable", () => { + const req = createRequire(import.meta.path); + const events = req("events"); + new events(); + }); }); diff --git a/test/js/node/events/events-cjs.test.js b/test/js/node/events/events-cjs.test.js new file mode 100644 index 000000000..5bee9979f --- /dev/null +++ b/test/js/node/events/events-cjs.test.js @@ -0,0 +1,4 @@ +test("in cjs, events is callable", () => { + const events = require("events"); + new events(); +}); diff --git a/test/js/node/fs/fs.test.ts b/test/js/node/fs/fs.test.ts index 37c3253a4..48aa9d3b9 100644 --- a/test/js/node/fs/fs.test.ts +++ b/test/js/node/fs/fs.test.ts @@ -29,6 +29,8 @@ import fs, { realpathSync, readlinkSync, symlinkSync, + writevSync, + readvSync, } from "node:fs"; import _promises from "node:fs/promises"; @@ -157,6 +159,18 @@ it("readdirSync on import.meta.dir", () => { expect(match).toBe(true); }); +it("statSync throwIfNoEntry", () => { + expect(statSync("/tmp/404/not-found/ok", { throwIfNoEntry: false })).toBeUndefined(); + expect(lstatSync("/tmp/404/not-found/ok", { throwIfNoEntry: false })).toBeUndefined(); +}); + +it("statSync throwIfNoEntry: true", () => { + expect(() => statSync("/tmp/404/not-found/ok", { throwIfNoEntry: true })).toThrow("No such file or directory"); + expect(() => statSync("/tmp/404/not-found/ok")).toThrow("No such file or directory"); + expect(() => lstatSync("/tmp/404/not-found/ok", { throwIfNoEntry: true })).toThrow("No such file or directory"); + expect(() => lstatSync("/tmp/404/not-found/ok")).toThrow("No such file or directory"); +}); + // https://github.com/oven-sh/bun/issues/1887 it("mkdtempSync, readdirSync, rmdirSync and unlinkSync with non-ascii", () => { const tempdir = mkdtempSync(`${tmpdir()}/emoji-fruit-🍇 🍈 🍉 🍊 🍋`); @@ -276,6 +290,41 @@ it("readdirSync throws when given a file path with trailing slash", () => { describe("readSync", () => { const firstFourBytes = new Uint32Array(new TextEncoder().encode("File").buffer)[0]; + + it("works on large files", () => { + const dest = join(tmpdir(), "readSync-large-file.txt"); + rmSync(dest, { force: true }); + + const writefd = openSync(dest, "w"); + writeSync(writefd, Buffer.from([0x10]), 0, 1, 4_900_000_000); + closeSync(writefd); + + const fd = openSync(dest, "r"); + const out = Buffer.alloc(1); + const bytes = readSync(fd, out, 0, 1, 4_900_000_000); + expect(bytes).toBe(1); + expect(out[0]).toBe(0x10); + closeSync(fd); + rmSync(dest, { force: true }); + }); + + it("works with bigint on read", () => { + const dest = join(tmpdir(), "readSync-large-file-bigint.txt"); + rmSync(dest, { force: true }); + + const writefd = openSync(dest, "w"); + writeSync(writefd, Buffer.from([0x10]), 0, 1, 400); + closeSync(writefd); + + const fd = openSync(dest, "r"); + const out = Buffer.alloc(1); + const bytes = readSync(fd, out, 0, 1, 400n as any); + expect(bytes).toBe(1); + expect(out[0]).toBe(0x10); + closeSync(fd); + rmSync(dest, { force: true }); + }); + it("works with a position set to 0", () => { const fd = openSync(import.meta.dir + "/readFileSync.txt", "r"); const four = new Uint8Array(4); @@ -301,7 +350,87 @@ describe("readSync", () => { }); }); +it("writevSync", () => { + var fd = openSync(`${tmpdir()}/writevSync.txt`, "w"); + fs.ftruncateSync(fd, 0); + const buffers = [new Uint8Array([1, 2, 3]), new Uint8Array([4, 5, 6]), new Uint8Array([7, 8, 9])]; + const result = writevSync(fd, buffers); + expect(result).toBe(9); + closeSync(fd); + + fd = openSync(`${tmpdir()}/writevSync.txt`, "r"); + const buf = new Uint8Array(9); + readSync(fd, buf, 0, 9, 0); + expect(buf).toEqual(new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9])); +}); + +it("pwritevSync", () => { + var fd = openSync(`${tmpdir()}/pwritevSync.txt`, "w"); + fs.ftruncateSync(fd, 0); + writeSync(fd, "lalalala", 0); + const buffers = [new Uint8Array([1, 2, 3]), new Uint8Array([4, 5, 6]), new Uint8Array([7, 8, 9])]; + const result = writevSync(fd, buffers, "lalalala".length); + expect(result).toBe(9); + closeSync(fd); + + const out = readFileSync(`${tmpdir()}/pwritevSync.txt`); + expect(out.slice(0, "lalalala".length).toString()).toBe("lalalala"); + expect(out.slice("lalalala".length)).toEqual(new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9])); +}); + +it("readvSync", () => { + var fd = openSync(`${tmpdir()}/readv.txt`, "w"); + fs.ftruncateSync(fd, 0); + + const buf = new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9]); + writeSync(fd, buf, 0, 9, 0); + closeSync(fd); + + var fd = openSync(`${tmpdir()}/readv.txt`, "r"); + const buffers = [new Uint8Array(3), new Uint8Array(3), new Uint8Array(3)]; + const result = readvSync(fd, buffers); + expect(result).toBe(9); + expect(buffers[0]).toEqual(new Uint8Array([1, 2, 3])); + expect(buffers[1]).toEqual(new Uint8Array([4, 5, 6])); + expect(buffers[2]).toEqual(new Uint8Array([7, 8, 9])); + closeSync(fd); +}); + +it("preadv", () => { + var fd = openSync(`${tmpdir()}/preadv.txt`, "w"); + fs.ftruncateSync(fd, 0); + + const buf = new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]); + writeSync(fd, buf, 0, buf.byteLength, 0); + closeSync(fd); + + var fd = openSync(`${tmpdir()}/preadv.txt`, "r"); + const buffers = [new Uint8Array(3), new Uint8Array(3), new Uint8Array(3)]; + const result = readvSync(fd, buffers, 3); + expect(result).toBe(9); + expect(buffers[0]).toEqual(new Uint8Array([4, 5, 6])); + expect(buffers[1]).toEqual(new Uint8Array([7, 8, 9])); + expect(buffers[2]).toEqual(new Uint8Array([10, 11, 12])); +}); + describe("writeSync", () => { + it("works with bigint", () => { + const dest = join(tmpdir(), "writeSync-large-file-bigint.txt"); + rmSync(dest, { force: true }); + + const writefd = openSync(dest, "w"); + writeSync(writefd, Buffer.from([0x10]), 0, 1, 400n as any); + closeSync(writefd); + + const fd = openSync(dest, "r"); + const out = Buffer.alloc(1); + const bytes = readSync(fd, out, 0, 1, 400 as any); + expect(bytes).toBe(1); + expect(out[0]).toBe(0x10); + closeSync(fd); + rmSync(dest, { force: true }); + }); + it("works with a position set to 0", () => { const fd = openSync(import.meta.dir + "/writeFileSync.txt", "w+"); const four = new Uint8Array(4); @@ -1068,6 +1197,44 @@ describe("createWriteStream", () => { expect(exception.code).toBe("ERR_INVALID_ARG_TYPE"); } }); + + it("writing in append mode should not truncate the file", async () => { + const path = `${tmpdir()}/fs.test.js/${Date.now()}.createWriteStreamAppend.txt`; + const stream = createWriteStream(path, { + // @ts-ignore-next-line + flags: "a", + }); + stream.write("first line\n"); + stream.end(); + + await new Promise((resolve, reject) => { + stream.on("error", e => { + reject(e); + }); + + stream.on("finish", () => { + resolve(true); + }); + }); + + const stream2 = createWriteStream(path, { + // @ts-ignore-next-line + flags: "a", + }); + stream2.write("second line\n"); + stream2.end(); + + return await new Promise((resolve, reject) => { + stream2.on("error", e => { + reject(e); + }); + + stream2.on("finish", () => { + expect(readFileSync(path, "utf8")).toBe("first line\nsecond line\n"); + resolve(true); + }); + }); + }); }); describe("fs/promises", () => { @@ -1293,3 +1460,26 @@ describe("utimesSync", () => { expect(finalStats.atime).toEqual(prevAccessTime); }); }); + +it("createReadStream on a large file emits readable event correctly", () => { + return new Promise<void>((resolve, reject) => { + const tmp = mkdtempSync(`${tmpdir()}/readable`); + // write a 10mb file + writeFileSync(`${tmp}/large.txt`, "a".repeat(10 * 1024 * 1024)); + var stream = createReadStream(`${tmp}/large.txt`); + var ended = false; + var timer: Timer; + stream.on("readable", () => { + const v = stream.read(); + if (ended) { + clearTimeout(timer); + reject(new Error("readable emitted after end")); + } else if (v == null) { + ended = true; + timer = setTimeout(() => { + resolve(); + }, 20); + } + }); + }); +}); diff --git a/test/js/node/fs/node-fetch.cjs.test.js b/test/js/node/fs/node-fetch.cjs.test.js new file mode 100644 index 000000000..9a6a4b407 --- /dev/null +++ b/test/js/node/fs/node-fetch.cjs.test.js @@ -0,0 +1,13 @@ +const fetch = require("node-fetch"); + +test("require('node-fetch') fetches", async () => { + const server = Bun.serve({ + port: 0, + fetch(req, server) { + server.stop(); + return new Response(); + }, + }); + expect(await fetch("http://" + server.hostname + ":" + server.port)).toBeInstanceOf(Response); + server.stop(true); +}); diff --git a/test/js/node/fs/node-fetch.test.js b/test/js/node/fs/node-fetch.test.js index 11c5e0ed3..33af3252d 100644 --- a/test/js/node/fs/node-fetch.test.js +++ b/test/js/node/fs/node-fetch.test.js @@ -1,4 +1,4 @@ -import { fetch, Response, Request, Headers } from "node-fetch"; +import fetch2, { fetch, Response, Request, Headers } from "node-fetch"; import { test, expect } from "bun:test"; @@ -19,3 +19,15 @@ test("node-fetch fetches", async () => { expect(await fetch("http://" + server.hostname + ":" + server.port)).toBeInstanceOf(Response); server.stop(true); }); + +test("node-fetch.default fetches", async () => { + const server = Bun.serve({ + port: 0, + fetch(req, server) { + server.stop(); + return new Response(); + }, + }); + expect(await fetch2("http://" + server.hostname + ":" + server.port)).toBeInstanceOf(Response); + server.stop(true); +}); diff --git a/test/js/node/http/node-http.test.ts b/test/js/node/http/node-http.test.ts index b1910a1f7..0e7b3ca13 100644 --- a/test/js/node/http/node-http.test.ts +++ b/test/js/node/http/node-http.test.ts @@ -1,5 +1,14 @@ // @ts-nocheck -import { createServer, request, get, Agent, globalAgent, Server } from "node:http"; +import { + createServer, + request, + get, + Agent, + globalAgent, + Server, + validateHeaderName, + validateHeaderValue, +} from "node:http"; import { createTest } from "node-harness"; const { describe, expect, it, beforeAll, afterAll, createDoneDotAll } = createTest(import.meta.path); @@ -137,6 +146,29 @@ describe("node:http", () => { res.end("Path correct!\n"); return; } + if (reqUrl.pathname === "/customWriteHead") { + function createWriteHead(prevWriteHead, listener) { + let fired = false; + return function writeHead() { + if (!fired) { + fired = true; + listener.call(this); + } + return prevWriteHead.apply(this, arguments); + }; + } + + function addPoweredBy() { + if (!this.getHeader("X-Powered-By")) { + this.setHeader("X-Powered-By", "Bun"); + } + } + + res.writeHead = createWriteHead(res.writeHead, addPoweredBy); + res.setHeader("Content-Type", "text/plain"); + res.end("Hello World"); + return; + } } res.writeHead(200, { "Content-Type": "text/plain" }); @@ -498,6 +530,16 @@ describe("node:http", () => { req.end(); }); }); + it("reassign writeHead method, issue#3585", done => { + runTest(done, (server, serverPort, done) => { + const req = request(`http://localhost:${serverPort}/customWriteHead`, res => { + expect(res.headers["content-type"]).toBe("text/plain"); + expect(res.headers["x-powered-by"]).toBe("Bun"); + done(); + }); + req.end(); + }); + }); }); describe("signal", () => { @@ -624,4 +666,16 @@ describe("node:http", () => { }); }); }); + + test("validateHeaderName", () => { + validateHeaderName("Foo"); + expect(() => validateHeaderName("foo:")).toThrow(); + expect(() => validateHeaderName("foo:bar")).toThrow(); + }); + + test("validateHeaderValue", () => { + validateHeaderValue("Foo", "Bar"); + expect(() => validateHeaderValue("Foo", undefined as any)).toThrow(); + expect(() => validateHeaderValue("Foo", "Bar\r")).toThrow(); + }); }); diff --git a/test/js/node/module/node-module-module.test.js b/test/js/node/module/node-module-module.test.js index 549b5e085..434bac829 100644 --- a/test/js/node/module/node-module-module.test.js +++ b/test/js/node/module/node-module-module.test.js @@ -1,5 +1,29 @@ import { expect, test } from "bun:test"; +import { _nodeModulePaths } from "module"; +import Module from "module"; test("module.globalPaths exists", () => { expect(Array.isArray(require("module").globalPaths)).toBe(true); }); + +test("Module exists", () => { + expect(Module).toBeDefined(); +}); + +test("_nodeModulePaths() works", () => { + expect(() => { + _nodeModulePaths(); + }).toThrow(); + expect(_nodeModulePaths(".").length).toBeGreaterThan(0); + expect(_nodeModulePaths(".").pop()).toBe("/node_modules"); + expect(_nodeModulePaths("")).toEqual(_nodeModulePaths(".")); + expect(_nodeModulePaths("/")).toEqual(["/node_modules"]); + expect(_nodeModulePaths("/a/b/c/d")).toEqual([ + "/a/b/c/d/node_modules", + "/a/b/c/node_modules", + "/a/b/node_modules", + "/a/node_modules", + "/node_modules", + ]); + expect(_nodeModulePaths("/a/b/../d")).toEqual(["/a/d/node_modules", "/a/node_modules", "/node_modules"]); +}); diff --git a/test/js/node/net/node-net-server.test.ts b/test/js/node/net/node-net-server.test.ts index 398959bd6..3cdaa17e1 100644 --- a/test/js/node/net/node-net-server.test.ts +++ b/test/js/node/net/node-net-server.test.ts @@ -181,61 +181,6 @@ describe("net.createServer listen", () => { ); }); - it("should listen on the correct port", done => { - const { mustCall, mustNotCall } = createCallCheckCtx(done); - - const server: Server = createServer(); - - let timeout: Timer; - const closeAndFail = () => { - clearTimeout(timeout); - server.close(); - mustNotCall()(); - }; - server.on("error", closeAndFail); - timeout = setTimeout(closeAndFail, 100); - - server.listen( - 49027, - mustCall(() => { - const address = server.address() as AddressInfo; - expect(address.address).toStrictEqual("::"); - expect(address.port).toStrictEqual(49027); - expect(address.family).toStrictEqual("IPv6"); - server.close(); - done(); - }), - ); - }); - - it("should listen on the correct port with IPV4", done => { - const { mustCall, mustNotCall } = createCallCheckCtx(done); - - const server: Server = createServer(); - - let timeout: Timer; - const closeAndFail = () => { - clearTimeout(timeout); - server.close(); - mustNotCall()(); - }; - server.on("error", closeAndFail); - timeout = setTimeout(closeAndFail, 100); - - server.listen( - 49026, - "0.0.0.0", - mustCall(() => { - const address = server.address() as AddressInfo; - expect(address.address).toStrictEqual("0.0.0.0"); - expect(address.port).toStrictEqual(49026); - expect(address.family).toStrictEqual("IPv4"); - server.close(); - done(); - }), - ); - }); - it("should listen on unix domain socket", done => { const { mustCall, mustNotCall } = createCallCheckCtx(done); diff --git a/test/js/node/os/os.test.js b/test/js/node/os/os.test.js index d7229b56d..8b4d54bb7 100644 --- a/test/js/node/os/os.test.js +++ b/test/js/node/os/os.test.js @@ -43,11 +43,16 @@ it("tmpdir", () => { expect(os.tmpdir()).toBe(process.env.TEMP || process.env.TMP); expect(os.tmpdir()).toBe(`${process.env.SystemRoot || process.env.windir}\\temp`); } else { + const originalEnv = process.env.TMPDIR; let dir = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp"; if (dir.length > 1 && dir.endsWith("/")) { dir = dir.substring(0, dir.length - 1); } expect(realpathSync(os.tmpdir())).toBe(realpathSync(dir)); + + process.env.TMPDIR = "/boop"; + expect(os.tmpdir()).toBe("/boop"); + process.env.TMPDIR = originalEnv; } }); diff --git a/test/js/node/path/path.test.js b/test/js/node/path/path.test.js index 94b0568f6..8f5a76da7 100644 --- a/test/js/node/path/path.test.js +++ b/test/js/node/path/path.test.js @@ -1,7 +1,7 @@ const { file } = import.meta; import { describe, it, expect } from "bun:test"; -import * as path from "node:path"; +import path from "node:path"; import assert from "assert"; import { hideFromStackTrace } from "harness"; diff --git a/test/js/node/process/call-raise.js b/test/js/node/process/call-raise.js new file mode 100644 index 000000000..898906759 --- /dev/null +++ b/test/js/node/process/call-raise.js @@ -0,0 +1,15 @@ +import { dlopen } from "bun:ffi"; + +var lazyRaise; +export function raise(signal) { + if (!lazyRaise) { + const suffix = process.platform === "darwin" ? "dylib" : "so.6"; + lazyRaise = dlopen(`libc.${suffix}`, { + raise: { + args: ["int"], + returns: "int", + }, + }).symbols.raise; + } + lazyRaise(signal); +} diff --git a/test/js/node/process/print-process-args.js b/test/js/node/process/print-process-args.js index 0ab238122..e9d2295c8 100644 --- a/test/js/node/process/print-process-args.js +++ b/test/js/node/process/print-process-args.js @@ -1,3 +1,11 @@ +import assert from "assert"; + +// ensure process.argv and Bun.argv are the same +assert.deepStrictEqual(process.argv, Bun.argv, "process.argv does not equal Bun.argv"); +assert(process.argv === process.argv, "process.argv isn't cached"); +// assert(Bun.argv === Bun.argv, 'Bun.argv isn\'t cached'); +// assert(Bun.argv === process.argv, 'Bun.argv doesnt share same ref as process.argv'); + var writer = Bun.stdout.writer(); writer.write(JSON.stringify(process.argv)); await writer.flush(true); diff --git a/test/js/node/process/process-exit-fixture.js b/test/js/node/process/process-exit-fixture.js new file mode 100644 index 000000000..c5a492285 --- /dev/null +++ b/test/js/node/process/process-exit-fixture.js @@ -0,0 +1,16 @@ +process.on("beforeExit", () => { + throw new Error("process.on('beforeExit') called"); +}); + +if (process._exiting) { + throw new Error("process._exiting should be undefined"); +} + +process.on("exit", () => { + if (!process._exiting) { + throw new Error("process.on('exit') called with process._exiting false"); + } + console.log("PASS"); +}); + +process.exit(0); diff --git a/test/js/node/process/process-exitCode-fixture.js b/test/js/node/process/process-exitCode-fixture.js new file mode 100644 index 000000000..2d5182d93 --- /dev/null +++ b/test/js/node/process/process-exitCode-fixture.js @@ -0,0 +1,7 @@ +process.exitCode = Number(process.argv.at(-1)); +process.on("exit", code => { + if (code !== process.exitCode) { + throw new Error("process.exitCode should be " + process.exitCode); + } + console.log("PASS"); +}); diff --git a/test/js/node/process/process-exitCode-with-exit.js b/test/js/node/process/process-exitCode-with-exit.js new file mode 100644 index 000000000..610975bc2 --- /dev/null +++ b/test/js/node/process/process-exitCode-with-exit.js @@ -0,0 +1,8 @@ +process.exitCode = Number(process.argv.at(-1)); +process.on("exit", code => { + if (code !== process.exitCode) { + throw new Error("process.exitCode should be " + process.exitCode); + } + console.log("PASS"); +}); +process.exit(); diff --git a/test/js/node/process/process-onBeforeExit-fixture.js b/test/js/node/process/process-onBeforeExit-fixture.js new file mode 100644 index 000000000..8cbdcebf0 --- /dev/null +++ b/test/js/node/process/process-onBeforeExit-fixture.js @@ -0,0 +1,7 @@ +process.on("beforeExit", () => { + console.log("beforeExit"); +}); + +process.on("exit", () => { + console.log("exit"); +}); diff --git a/test/js/node/process/process-onBeforeExit-keepAlive.js b/test/js/node/process/process-onBeforeExit-keepAlive.js new file mode 100644 index 000000000..45b20b763 --- /dev/null +++ b/test/js/node/process/process-onBeforeExit-keepAlive.js @@ -0,0 +1,18 @@ +let counter = 0; +process.on("beforeExit", () => { + if (process._exiting) { + throw new Error("process._exiting should be undefined"); + } + + console.log("beforeExit:", counter); + if (!counter++) { + setTimeout(() => {}, 1); + } +}); + +process.on("exit", () => { + if (!process._exiting) { + throw new Error("process.on('exit') called with process._exiting false"); + } + console.log("exit:", counter); +}); diff --git a/test/js/node/process/process-signal-handler.fixture.js b/test/js/node/process/process-signal-handler.fixture.js new file mode 100644 index 000000000..de5a78bda --- /dev/null +++ b/test/js/node/process/process-signal-handler.fixture.js @@ -0,0 +1,63 @@ +import os from "os"; +import { raise } from "./call-raise"; + +var counter = 0; +function done() { + counter++; + if (counter === 2) { + setTimeout(() => { + if (counter !== 2) { + console.log(counter); + console.log("FAIL"); + process.exit(1); + } + + console.log("PASS"); + process.exit(0); + }, 1); + } +} + +var counter2 = 0; +function done2() { + counter2++; + if (counter2 === 2) { + setTimeout(() => { + if (counter2 !== 2) { + console.log(counter2); + console.log("FAIL"); + process.exit(1); + } + + console.log("PASS"); + process.exit(0); + }, 1); + } +} + +const SIGUSR1 = os.constants.signals.SIGUSR1; +const SIGUSR2 = os.constants.signals.SIGUSR2; + +switch (process.argv.at(-1)) { + case "SIGUSR1": { + process.on("SIGUSR1", () => { + done(); + }); + process.on("SIGUSR1", () => { + done(); + }); + raise(SIGUSR1); + break; + } + case "SIGUSR2": { + process.on("SIGUSR2", () => { + done2(); + }); + process.emit("SIGUSR2"); + raise(SIGUSR2); + break; + } + default: { + throw new Error("Unknown argument: " + process.argv.at(-1)); + } +} diff --git a/test/js/node/process/process.test.js b/test/js/node/process/process.test.js index ee181e70c..890f5032e 100644 --- a/test/js/node/process/process.test.js +++ b/test/js/node/process/process.test.js @@ -1,8 +1,8 @@ -import { resolveSync, which } from "bun"; +import { spawnSync, which } from "bun"; import { describe, expect, it } from "bun:test"; -import { existsSync, readFileSync, realpathSync } from "fs"; -import { bunExe } from "harness"; -import { basename, resolve } from "path"; +import { existsSync, readFileSync } from "fs"; +import { bunEnv, bunExe } from "harness"; +import { basename, join, resolve } from "path"; it("process", () => { // this property isn't implemented yet but it should at least return a string @@ -162,7 +162,8 @@ it("process.umask()", () => { expect(process.umask()).toBe(orig); }); -const versions = existsSync(import.meta.dir + "/../../src/generated_versions_list.zig"); +const generated_versions_list = join(import.meta.dir, "../../../../src/generated_versions_list.zig"); +const versions = existsSync(generated_versions_list); (versions ? it : it.skip)("process.versions", () => { // Generate a list of all the versions in the versions object // example: @@ -178,7 +179,7 @@ const versions = existsSync(import.meta.dir + "/../../src/generated_versions_lis // pub const c_ares = "0e7a5dee0fbb04080750cf6eabbe89d8bae87faa"; // pub const usockets = "fafc241e8664243fc0c51d69684d5d02b9805134"; const versions = Object.fromEntries( - readFileSync(import.meta.dir + "/../../src/generated_versions_list.zig", "utf8") + readFileSync(generated_versions_list, "utf8") .split("\n") .filter(line => line.startsWith("pub const") && !line.includes("zig") && line.includes(' = "')) .map(line => line.split(" = ")) @@ -226,11 +227,254 @@ it("process.binding", () => { expect(() => process.binding("buffer")).toThrow(); }); -it("process.argv", () => { +it("process.argv in testing", () => { expect(process.argv).toBeInstanceOf(Array); expect(process.argv[0]).toBe(bunExe()); - expect(process.argv).toEqual(Bun.argv); // assert we aren't creating a new process.argv each call expect(process.argv).toBe(process.argv); }); + +describe("process.exitCode", () => { + it("validates int", () => { + expect(() => (process.exitCode = "potato")).toThrow("exitCode must be a number"); + expect(() => (process.exitCode = 1.2)).toThrow('The "code" argument must be an integer'); + expect(() => (process.exitCode = NaN)).toThrow('The "code" argument must be an integer'); + expect(() => (process.exitCode = Infinity)).toThrow('The "code" argument must be an integer'); + expect(() => (process.exitCode = -Infinity)).toThrow('The "code" argument must be an integer'); + expect(() => (process.exitCode = -1)).toThrow("exitCode must be between 0 and 127"); + }); + + it("works with implicit process.exit", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), join(import.meta.dir, "process-exitCode-with-exit.js"), "42"], + env: bunEnv, + }); + expect(exitCode).toBe(42); + expect(stdout.toString().trim()).toBe("PASS"); + }); + + it("works with explicit process.exit", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), join(import.meta.dir, "process-exitCode-fixture.js"), "42"], + env: bunEnv, + }); + expect(exitCode).toBe(42); + expect(stdout.toString().trim()).toBe("PASS"); + }); +}); + +it("process.exit", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), join(import.meta.dir, "process-exit-fixture.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString().trim()).toBe("PASS"); +}); + +describe("process.onBeforeExit", () => { + it("emitted", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), join(import.meta.dir, "process-onBeforeExit-fixture.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString().trim()).toBe("beforeExit\nexit"); + }); + + it("works with explicit process.exit", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), join(import.meta.dir, "process-onBeforeExit-keepAlive.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString().trim()).toBe("beforeExit: 0\nbeforeExit: 1\nexit: 2"); + }); +}); + +it("process.memoryUsage", () => { + expect(process.memoryUsage()).toEqual({ + rss: expect.any(Number), + heapTotal: expect.any(Number), + heapUsed: expect.any(Number), + external: expect.any(Number), + arrayBuffers: expect.any(Number), + }); +}); + +it("process.memoryUsage.rss", () => { + expect(process.memoryUsage.rss()).toEqual(expect.any(Number)); +}); + +describe("process.cpuUsage", () => { + it("works", () => { + expect(process.cpuUsage()).toEqual({ + user: expect.any(Number), + system: expect.any(Number), + }); + }); + + it("works with diff", () => { + const init = process.cpuUsage(); + for (let i = 0; i < 1000; i++) {} + const delta = process.cpuUsage(init); + expect(delta.user).toBeGreaterThan(0); + expect(delta.system).toBeGreaterThan(0); + }); + + it("works with diff of different structure", () => { + const init = { + user: 0, + system: 0, + }; + for (let i = 0; i < 1000; i++) {} + const delta = process.cpuUsage(init); + expect(delta.user).toBeGreaterThan(0); + expect(delta.system).toBeGreaterThan(0); + }); + + it("throws on invalid property", () => { + const fixtures = [ + {}, + { user: null }, + { user: {} }, + { user: "potato" }, + + { user: 123 }, + { user: 123, system: null }, + { user: 123, system: "potato" }, + ]; + for (const fixture of fixtures) { + expect(() => process.cpuUsage(fixture)).toThrow(); + } + }); + + // Skipped on Linux because it seems to not change as often as on macOS + it.skipIf(process.platform === "linux")("increases monotonically", () => { + const init = process.cpuUsage(); + for (let i = 0; i < 10000; i++) {} + const another = process.cpuUsage(); + expect(another.user).toBeGreaterThan(init.user); + expect(another.system).toBeGreaterThan(init.system); + }); +}); + +it("process.getegid", () => { + expect(typeof process.getegid()).toBe("number"); +}); +it("process.geteuid", () => { + expect(typeof process.geteuid()).toBe("number"); +}); +it("process.getgid", () => { + expect(typeof process.getgid()).toBe("number"); +}); +it("process.getgroups", () => { + expect(process.getgroups()).toBeInstanceOf(Array); + expect(process.getgroups().length).toBeGreaterThan(0); +}); +it("process.getuid", () => { + expect(typeof process.getuid()).toBe("number"); +}); + +it("process.getuid", () => { + expect(typeof process.getuid()).toBe("number"); +}); + +describe("signal", () => { + const fixture = join(import.meta.dir, "./process-signal-handler.fixture.js"); + it("simple case works", async () => { + const child = Bun.spawn({ + cmd: [bunExe(), fixture, "SIGUSR1"], + env: bunEnv, + }); + + expect(await child.exited).toBe(0); + expect(await new Response(child.stdout).text()).toBe("PASS\n"); + }); + it("process.emit will call signal events", async () => { + const child = Bun.spawn({ + cmd: [bunExe(), fixture, "SIGUSR2"], + env: bunEnv, + }); + + expect(await child.exited).toBe(0); + expect(await new Response(child.stdout).text()).toBe("PASS\n"); + }); + + it("process.kill(2) works", async () => { + const child = Bun.spawn({ + cmd: ["bash", "-c", "sleep 1000000"], + stdout: "pipe", + }); + const prom = child.exited; + process.kill(child.pid, "SIGTERM"); + await prom; + expect(child.signalCode).toBe("SIGTERM"); + }); + + it("process._kill(2) works", async () => { + const child = Bun.spawn({ + cmd: ["bash", "-c", "sleep 1000000"], + stdout: "pipe", + }); + const prom = child.exited; + process.kill(child.pid, 9); + await prom; + expect(child.signalCode).toBe("SIGKILL"); + }); + + it("process.kill(2) throws on invalid input", async () => { + expect(() => process.kill(0, "SIGPOOP")).toThrow(); + expect(() => process.kill(0, 456)).toThrow(); + }); +}); + +const undefinedStubs = [ + "_debugEnd", + "_debugProcess", + "_fatalException", + "_linkedBinding", + "_rawDebug", + "_startProfilerIdleNotifier", + "_stopProfilerIdleNotifier", + "_tickCallback", +]; + +for (const stub of undefinedStubs) { + it(`process.${stub}`, () => { + expect(process[stub]()).toBeUndefined(); + }); +} + +const arrayStubs = ["getActiveResourcesInfo", "_getActiveRequests", "_getActiveHandles"]; + +for (const stub of arrayStubs) { + it(`process.${stub}`, () => { + expect(process[stub]()).toBeInstanceOf(Array); + }); +} + +const emptyObjectStubs = ["_preload_modules"]; +const emptySetStubs = ["allowedNodeEnvironmentFlags"]; +const emptyArrayStubs = ["moduleLoadList"]; + +for (const stub of emptyObjectStubs) { + it(`process.${stub}`, () => { + expect(process[stub]).toEqual({}); + }); +} + +for (const stub of emptySetStubs) { + it(`process.${stub}`, () => { + expect(process[stub]).toBeInstanceOf(Set); + expect(process[stub].size).toBe(0); + }); +} + +for (const stub of emptyArrayStubs) { + it(`process.${stub}`, () => { + expect(process[stub]).toBeInstanceOf(Array); + expect(process[stub]).toHaveLength(0); + }); +} diff --git a/test/js/node/string_decoder/string-decoder.test.js b/test/js/node/string_decoder/string-decoder.test.js index f37326678..aba73401a 100644 --- a/test/js/node/string_decoder/string-decoder.test.js +++ b/test/js/node/string_decoder/string-decoder.test.js @@ -241,3 +241,12 @@ for (const StringDecoder of [FakeStringDecoderCall, RealStringDecoder]) { }); }); } + +it("invalid utf-8 input, pr #3562", () => { + const decoder = new RealStringDecoder("utf-8"); + let output = ""; + output += decoder.write(Buffer.from("B9", "hex")); + output += decoder.write(Buffer.from("A9", "hex")); + output += decoder.end(); + expect(output).toStrictEqual("\uFFFD\uFFFD"); +}); diff --git a/test/js/node/stubs.test.js b/test/js/node/stubs.test.js index e6bce8aee..1025907ab 100644 --- a/test/js/node/stubs.test.js +++ b/test/js/node/stubs.test.js @@ -99,6 +99,9 @@ for (let specifier of specifiers) { } } } + } else { + // TODO: uncomment this after node:module can be default imported + // throw new Error(`Module ${specifier} has no default export`); } }); } diff --git a/test/js/node/timers/node-timers.test.ts b/test/js/node/timers/node-timers.test.ts index e6fa48010..412eabc22 100644 --- a/test/js/node/timers/node-timers.test.ts +++ b/test/js/node/timers/node-timers.test.ts @@ -1,17 +1,18 @@ import { describe, test } from "bun:test"; -import { setTimeout, clearTimeout, setInterval, setImmediate } from "node:timers"; +import { setTimeout, clearTimeout, setInterval, clearInterval, setImmediate } from "node:timers"; -for (const fn of [setTimeout, setInterval, setImmediate]) { +for (const fn of [setTimeout, setInterval]) { describe(fn.name, () => { test("unref is possible", done => { const timer = fn(() => { done(new Error("should not be called")); - }, 1); - fn(() => { + }, 1).unref(); + const other = fn(() => { + clearInterval(other); done(); }, 2); - timer.unref(); - if (fn !== setImmediate) clearTimeout(timer); + if (fn === setTimeout) clearTimeout(timer); + if (fn === setInterval) clearInterval(timer); }); }); } diff --git a/test/js/node/tls/node-tls-connect.test.ts b/test/js/node/tls/node-tls-connect.test.ts new file mode 100644 index 000000000..791dba88a --- /dev/null +++ b/test/js/node/tls/node-tls-connect.test.ts @@ -0,0 +1,32 @@ +import { TLSSocket, connect } from "tls"; + +it("should work with alpnProtocols", done => { + try { + let socket: TLSSocket | null = connect({ + ALPNProtocols: ["http/1.1"], + host: "bun.sh", + servername: "bun.sh", + port: 443, + rejectUnauthorized: false, + }); + + const timeout = setTimeout(() => { + socket?.end(); + done("timeout"); + }, 3000); + + socket.on("error", err => { + clearTimeout(timeout); + done(err); + }); + + socket.on("secureConnect", () => { + clearTimeout(timeout); + done(socket?.alpnProtocol === "http/1.1" ? undefined : "alpnProtocol is not http/1.1"); + socket?.end(); + socket = null; + }); + } catch (err) { + done(err); + } +}); diff --git a/test/js/node/tls/node-tls-server.test.ts b/test/js/node/tls/node-tls-server.test.ts index 6879d0927..2a6101b9f 100644 --- a/test/js/node/tls/node-tls-server.test.ts +++ b/test/js/node/tls/node-tls-server.test.ts @@ -195,61 +195,6 @@ describe("tls.createServer listen", () => { ); }); - it("should listen on the correct port", done => { - const { mustCall, mustNotCall } = createCallCheckCtx(done); - - const server: Server = createServer(COMMON_CERT); - - let timeout: Timer; - const closeAndFail = () => { - clearTimeout(timeout); - server.close(); - mustNotCall()(); - }; - server.on("error", closeAndFail); - timeout = setTimeout(closeAndFail, 100); - - server.listen( - 49027, - mustCall(() => { - const address = server.address() as AddressInfo; - expect(address.address).toStrictEqual("::"); - expect(address.port).toStrictEqual(49027); - expect(address.family).toStrictEqual("IPv6"); - server.close(); - done(); - }), - ); - }); - - it("should listen on the correct port with IPV4", done => { - const { mustCall, mustNotCall } = createCallCheckCtx(done); - - const server: Server = createServer(COMMON_CERT); - - let timeout: Timer; - const closeAndFail = () => { - clearTimeout(timeout); - server.close(); - mustNotCall()(); - }; - server.on("error", closeAndFail); - timeout = setTimeout(closeAndFail, 100); - - server.listen( - 49026, - "0.0.0.0", - mustCall(() => { - const address = server.address() as AddressInfo; - expect(address.address).toStrictEqual("0.0.0.0"); - expect(address.port).toStrictEqual(49026); - expect(address.family).toStrictEqual("IPv4"); - server.close(); - done(); - }), - ); - }); - it("should listen on unix domain socket", done => { const { mustCall, mustNotCall } = createCallCheckCtx(done); diff --git a/test/js/node/util/test-util-types.test.js b/test/js/node/util/test-util-types.test.js index f33ab4b1a..a75b9eac0 100644 --- a/test/js/node/util/test-util-types.test.js +++ b/test/js/node/util/test-util-types.test.js @@ -1,6 +1,9 @@ -const assert = require("assert"); -import { test, expect } from "bun:test"; -const types = require("util/types"); +import assert from "assert"; +import { describe, test, expect } from "bun:test"; +import def from "util/types"; +import * as ns from "util/types"; +const req = require("util/types"); +const types = def; function inspect(val) { return Bun.inspect(val); @@ -52,15 +55,21 @@ for (const [value, _method] of [ assert(method in types, `Missing ${method} for ${inspect(value)}`); assert(types[method](value), `Want ${inspect(value)} to match ${method}`); - for (const key of Object.keys(types)) { - if ( - ((types.isArrayBufferView(value) || types.isAnyArrayBuffer(value)) && key.includes("Array")) || - key === "isBoxedPrimitive" - ) { - continue; - } + for (const [types, label] of [ + [def, "default import"], + [ns, "ns import"], + [req, "require esm"], + ]) { + for (const key of Object.keys(types).filter(x => x !== "default")) { + if ( + ((types.isArrayBufferView(value) || types.isAnyArrayBuffer(value)) && key.includes("Array")) || + key === "isBoxedPrimitive" + ) { + continue; + } - expect(types[key](value)).toBe(key === method); + expect(types[key](value)).toBe(key === method); + } } }); } @@ -238,3 +247,4 @@ test("isBoxedPrimitive", () => { }); } } +// */ diff --git a/test/js/node/util/util-callbackify.test.js b/test/js/node/util/util-callbackify.test.js new file mode 100644 index 000000000..38c20f5c0 --- /dev/null +++ b/test/js/node/util/util-callbackify.test.js @@ -0,0 +1,323 @@ +import { callbackify } from "util"; +import { createTest } from "node-harness"; + +const { describe, expect, it, createCallCheckCtx } = createTest(import.meta.path); + +const values = [ + "hello world", + null, + undefined, + false, + 0, + {}, + { key: "value" }, + Symbol("I am a symbol"), + function ok() {}, + ["array", "with", 4, "values"], + new Error("boo"), +]; + +describe("util.callbackify", () => { + describe("rejection reason", () => { + for (const value of values) { + it(`callback is async function, value is ${String(value)}`, done => { + const { mustCall } = createCallCheckCtx(done); + async function asyncFn() { + return Promise.reject(value); + } + + const cbAsyncFn = callbackify(asyncFn); + cbAsyncFn( + mustCall((err, ret) => { + try { + expect(ret).toBeUndefined(); + if (err instanceof Error) { + if ("reason" in err) { + expect(!value).toBeTrue(); + expect(err.code).toStrictEqual("ERR_FALSY_VALUE_REJECTION"); + expect(err.reason).toStrictEqual(value); + } else { + expect(String(value)).toEndWith(err.message); + } + } else { + expect(err).toStrictEqual(value); + } + + done(); + } catch (error) { + done(error); + } + }), + ); + }); + + it(`callback is promise, value is ${String(value)}`, done => { + const { mustCall } = createCallCheckCtx(done); + function promiseFn() { + return Promise.reject(value); + } + const obj = {}; + Object.defineProperty(promiseFn, "name", { + value: obj, + writable: false, + enumerable: false, + configurable: true, + }); + + const cbPromiseFn = callbackify(promiseFn); + try { + expect(promiseFn.name).toStrictEqual(obj); + } catch (error) { + done(error); + } + + cbPromiseFn( + mustCall((err, ret) => { + try { + expect(ret).toBeUndefined(); + if (err instanceof Error) { + if ("reason" in err) { + expect(!value).toBeTrue(); + expect(err.code).toStrictEqual("ERR_FALSY_VALUE_REJECTION"); + expect(err.reason).toStrictEqual(value); + } else { + expect(String(value)).toEndWith(err.message); + } + } else { + expect(err).toStrictEqual(value); + } + + done(); + } catch (error) { + done(error); + } + }), + ); + }); + + it(`callback is thenable, value is ${String(value)}`, done => { + const { mustCall } = createCallCheckCtx(done); + function thenableFn() { + return { + then(onRes, onRej) { + onRej(value); + }, + }; + } + + const cbThenableFn = callbackify(thenableFn); + cbThenableFn( + mustCall((err, ret) => { + try { + expect(ret).toBeUndefined(); + if (err instanceof Error) { + if ("reason" in err) { + expect(!value).toBeTrue(); + expect(err.code).toStrictEqual("ERR_FALSY_VALUE_REJECTION"); + expect(err.reason).toStrictEqual(value); + } else { + expect(String(value)).toEndWith(err.message); + } + } else { + expect(err).toStrictEqual(value); + } + + done(); + } catch (error) { + done(error); + } + }), + ); + }); + } + }); + + describe("return value", () => { + for (const value of values) { + it(`callback is async function, value is ${String(value)}`, done => { + const { mustSucceed } = createCallCheckCtx(done); + async function asyncFn() { + return value; + } + + const cbAsyncFn = callbackify(asyncFn); + cbAsyncFn( + mustSucceed(ret => { + try { + expect(ret).toStrictEqual(value); + expect(ret).toStrictEqual(value); + + done(); + } catch (error) { + done(error); + } + }), + ); + }); + + it(`callback is promise, value is ${String(value)}`, done => { + const { mustSucceed } = createCallCheckCtx(done); + function promiseFn() { + return Promise.resolve(value); + } + + const cbPromiseFn = callbackify(promiseFn); + cbPromiseFn( + mustSucceed(ret => { + try { + expect(ret).toStrictEqual(value); + done(); + } catch (error) { + done(error); + } + }), + ); + }); + + it(`callback is thenable, value is ${String(value)}`, done => { + const { mustSucceed } = createCallCheckCtx(done); + function thenableFn() { + return { + then(onRes, onRej) { + onRes(value); + }, + }; + } + + const cbThenableFn = callbackify(thenableFn); + cbThenableFn( + mustSucceed(ret => { + try { + expect(ret).toStrictEqual(value); + done(); + } catch (error) { + done(error); + } + }), + ); + }); + } + }); + + describe("arguments", () => { + for (const value of values) { + it(`callback is async function, value is ${String(value)}`, done => { + const { mustSucceed } = createCallCheckCtx(done); + async function asyncFn(arg) { + try { + expect(arg).toStrictEqual(value); + } catch (error) { + done(error); + } + return arg; + } + + const cbAsyncFn = callbackify(asyncFn); + cbAsyncFn( + value, + mustSucceed(ret => { + try { + expect(ret).toStrictEqual(value); + done(); + } catch (error) { + done(error); + } + }), + ); + }); + + it(`callback is promise, value is ${String(value)}`, done => { + const { mustSucceed } = createCallCheckCtx(done); + function promiseFn(arg) { + try { + expect(arg).toStrictEqual(value); + } catch (error) { + done(error); + } + + return Promise.resolve(arg); + } + const obj = {}; + Object.defineProperty(promiseFn, "length", { + value: obj, + writable: false, + enumerable: false, + configurable: true, + }); + const cbPromiseFn = callbackify(promiseFn); + try { + expect(promiseFn.length).toStrictEqual(obj); + } catch (error) { + done(error); + } + + cbPromiseFn( + value, + mustSucceed(ret => { + try { + expect(ret).toStrictEqual(value); + done(); + } catch (error) { + done(error); + } + }), + ); + }); + } + }); + + describe("this binding", () => { + const value = "hello world"; + it("callback is sync function", done => { + // TODO: + // const { mustSucceed } = createCallCheckCtx(done); + const iAmThis = { + fn(arg) { + try { + expect(this).toStrictEqual(iAmThis); + } catch (error) { + done(error); + } + return Promise.resolve(arg); + }, + }; + + iAmThis.cbFn = callbackify(iAmThis.fn); + iAmThis.cbFn(value, function (rej, ret) { + try { + expect(ret).toStrictEqual(value); + expect(this).toStrictEqual(iAmThis); + + done(); + } catch (error) { + done(error); + } + }); + }); + + it("callback is async function", done => { + const iAmThis = { + async fn(arg) { + try { + expect(this).toStrictEqual(iAmThis); + } catch (error) { + done(error); + } + return Promise.resolve(arg); + }, + }; + + iAmThis.cbFn = callbackify(iAmThis.fn); + iAmThis.cbFn(value, function (rej, ret) { + try { + expect(ret).toStrictEqual(value); + expect(this).toStrictEqual(iAmThis); + + done(); + } catch (error) { + done(error); + } + }); + }); + }); +}); diff --git a/test/js/node/util/util.test.js b/test/js/node/util/util.test.js index 45ecffda8..741b27d19 100644 --- a/test/js/node/util/util.test.js +++ b/test/js/node/util/util.test.js @@ -36,6 +36,23 @@ const deepStrictEqual = (...args) => { // Tests adapted from https://github.com/nodejs/node/blob/main/test/parallel/test-util.js describe("util", () => { + it("toUSVString", () => { + const strings = [ + // Lone high surrogate + "ab\uD800", + "ab\uD800c", + // Lone low surrogate + "\uDFFFab", + "c\uDFFFab", + // Well-formed + "abc", + "ab\uD83D\uDE04c", + ]; + const outputs = ["ab�", "ab�c", "�ab", "c�ab", "abc", "ab😄c"]; + for (let i = 0; i < strings.length; i++) { + expect(util.toUSVString(strings[i])).toBe(outputs[i]); + } + }); describe("isArray", () => { it("all cases", () => { strictEqual(util.isArray([]), true); diff --git a/test/js/node/v8/capture-stack-trace.test.js b/test/js/node/v8/capture-stack-trace.test.js index d96f91483..cb2624681 100644 --- a/test/js/node/v8/capture-stack-trace.test.js +++ b/test/js/node/v8/capture-stack-trace.test.js @@ -5,6 +5,18 @@ afterEach(() => { Error.prepareStackTrace = origPrepareStackTrace; }); +test("Regular .stack", () => { + var err; + class Foo { + constructor() { + err = new Error("wat"); + } + } + + new Foo(); + expect(err.stack).toMatch(/at new Foo/); +}); + test("capture stack trace", () => { function f1() { f2(); diff --git a/test/js/node/watch/fixtures/close.js b/test/js/node/watch/fixtures/close.js new file mode 100644 index 000000000..8eeeb79a3 --- /dev/null +++ b/test/js/node/watch/fixtures/close.js @@ -0,0 +1,7 @@ +import fs from "fs"; +fs.watch(import.meta.path, { signal: AbortSignal.timeout(4000) }) + .on("error", err => { + console.error(err.message); + process.exit(1); + }) + .close(); diff --git a/test/js/node/watch/fixtures/persistent.js b/test/js/node/watch/fixtures/persistent.js new file mode 100644 index 000000000..72a2b6564 --- /dev/null +++ b/test/js/node/watch/fixtures/persistent.js @@ -0,0 +1,5 @@ +import fs from "fs"; +fs.watch(import.meta.path, { persistent: false, signal: AbortSignal.timeout(4000) }).on("error", err => { + console.error(err.message); + process.exit(1); +}); diff --git a/test/js/node/watch/fixtures/relative.js b/test/js/node/watch/fixtures/relative.js new file mode 100644 index 000000000..26e09da1a --- /dev/null +++ b/test/js/node/watch/fixtures/relative.js @@ -0,0 +1,23 @@ +import fs from "fs"; +const watcher = fs.watch("relative.txt", { signal: AbortSignal.timeout(2000) }); + +watcher.on("change", function (event, filename) { + if (filename !== "relative.txt" && event !== "change") { + console.error("fail"); + clearInterval(interval); + watcher.close(); + process.exit(1); + } else { + clearInterval(interval); + watcher.close(); + } +}); +watcher.on("error", err => { + clearInterval(interval); + console.error(err.message); + process.exit(1); +}); + +const interval = setInterval(() => { + fs.writeFileSync("relative.txt", "world"); +}, 10); diff --git a/test/js/node/watch/fixtures/unref.js b/test/js/node/watch/fixtures/unref.js new file mode 100644 index 000000000..a0c506a04 --- /dev/null +++ b/test/js/node/watch/fixtures/unref.js @@ -0,0 +1,7 @@ +import fs from "fs"; +fs.watch(import.meta.path, { signal: AbortSignal.timeout(4000) }) + .on("error", err => { + console.error(err.message); + process.exit(1); + }) + .unref(); diff --git a/test/js/node/watch/fs.watch.test.ts b/test/js/node/watch/fs.watch.test.ts new file mode 100644 index 000000000..aa7959bed --- /dev/null +++ b/test/js/node/watch/fs.watch.test.ts @@ -0,0 +1,522 @@ +import fs, { FSWatcher } from "node:fs"; +import path from "path"; +import { tempDirWithFiles, bunRun, bunRunAsScript } from "harness"; +import { pathToFileURL } from "bun"; + +import { describe, expect, test } from "bun:test"; +// Because macOS (and possibly other operating systems) can return a watcher +// before it is actually watching, we need to repeat the operation to avoid +// a race condition. +function repeat(fn: any) { + const interval = setInterval(fn, 20); + return interval; +} +const encodingFileName = `新建文夹件.txt`; +const testDir = tempDirWithFiles("watch", { + "watch.txt": "hello", + "relative.txt": "hello", + "abort.txt": "hello", + "url.txt": "hello", + "close.txt": "hello", + "close-close.txt": "hello", + "sym-sync.txt": "hello", + "sym.txt": "hello", + [encodingFileName]: "hello", +}); + +describe("fs.watch", () => { + test("non-persistent watcher should not block the event loop", done => { + try { + // https://github.com/joyent/node/issues/2293 - non-persistent watcher should not block the event loop + bunRun(path.join(import.meta.dir, "fixtures", "persistent.js")); + done(); + } catch (e: any) { + done(e); + } + }); + + test("watcher should close and not block the event loop", done => { + try { + bunRun(path.join(import.meta.dir, "fixtures", "close.js")); + done(); + } catch (e: any) { + done(e); + } + }); + + test("unref watcher should not block the event loop", done => { + try { + bunRun(path.join(import.meta.dir, "fixtures", "unref.js")); + done(); + } catch (e: any) { + done(e); + } + }); + + test("should work with relative files", done => { + try { + bunRunAsScript(testDir, path.join(import.meta.dir, "fixtures", "relative.js")); + done(); + } catch (e: any) { + done(e); + } + }); + + test("add file/folder to folder", done => { + let count = 0; + const root = path.join(testDir, "add-directory"); + try { + fs.mkdirSync(root); + } catch {} + let err: Error | undefined = undefined; + const watcher = fs.watch(root, { signal: AbortSignal.timeout(3000) }); + watcher.on("change", (event, filename) => { + count++; + try { + expect(event).toBe("rename"); + expect(["new-file.txt", "new-folder.txt"]).toContain(filename); + if (count >= 2) { + watcher.close(); + } + } catch (e: any) { + err = e; + watcher.close(); + } + }); + + watcher.on("error", e => (err = e)); + watcher.on("close", () => { + clearInterval(interval); + done(err); + }); + + const interval = repeat(() => { + fs.writeFileSync(path.join(root, "new-file.txt"), "hello"); + fs.mkdirSync(path.join(root, "new-folder.txt")); + fs.rmdirSync(path.join(root, "new-folder.txt")); + }); + }); + + test("add file/folder to subfolder", done => { + let count = 0; + const root = path.join(testDir, "add-subdirectory"); + try { + fs.mkdirSync(root); + } catch {} + const subfolder = path.join(root, "subfolder"); + fs.mkdirSync(subfolder); + const watcher = fs.watch(root, { recursive: true, signal: AbortSignal.timeout(3000) }); + let err: Error | undefined = undefined; + watcher.on("change", (event, filename) => { + const basename = path.basename(filename as string); + + if (basename === "subfolder") return; + count++; + try { + expect(event).toBe("rename"); + expect(["new-file.txt", "new-folder.txt"]).toContain(basename); + if (count >= 2) { + watcher.close(); + } + } catch (e: any) { + err = e; + watcher.close(); + } + }); + watcher.on("error", e => (err = e)); + watcher.on("close", () => { + clearInterval(interval); + done(err); + }); + + const interval = repeat(() => { + fs.writeFileSync(path.join(subfolder, "new-file.txt"), "hello"); + fs.mkdirSync(path.join(subfolder, "new-folder.txt")); + fs.rmdirSync(path.join(subfolder, "new-folder.txt")); + }); + }); + + test("should emit event when file is deleted", done => { + const testsubdir = tempDirWithFiles("subdir", { + "deleted.txt": "hello", + }); + const filepath = path.join(testsubdir, "deleted.txt"); + let err: Error | undefined = undefined; + const watcher = fs.watch(testsubdir, function (event, filename) { + try { + expect(event).toBe("rename"); + expect(filename).toBe("deleted.txt"); + } catch (e: any) { + err = e; + } finally { + clearInterval(interval); + watcher.close(); + } + }); + + watcher.once("close", () => { + done(err); + }); + + const interval = repeat(() => { + fs.rmSync(filepath, { force: true }); + const fd = fs.openSync(filepath, "w"); + fs.closeSync(fd); + }); + }); + + test("should emit 'change' event when file is modified", done => { + const filepath = path.join(testDir, "watch.txt"); + + const watcher = fs.watch(filepath); + let err: Error | undefined = undefined; + watcher.on("change", function (event, filename) { + try { + expect(event).toBe("change"); + expect(filename).toBe("watch.txt"); + } catch (e: any) { + err = e; + } finally { + clearInterval(interval); + watcher.close(); + } + }); + + watcher.once("close", () => { + done(err); + }); + + const interval = repeat(() => { + fs.writeFileSync(filepath, "world"); + }); + }); + + test("should error on invalid path", done => { + try { + fs.watch(path.join(testDir, "404.txt")); + done(new Error("should not reach here")); + } catch (err: any) { + expect(err).toBeInstanceOf(Error); + expect(err.code).toBe("ENOENT"); + expect(err.syscall).toBe("watch"); + done(); + } + }); + + const encodings = ["utf8", "buffer", "hex", "ascii", "base64", "utf16le", "ucs2", "latin1", "binary"] as const; + + test(`should work with encodings ${encodings.join(", ")}`, async () => { + const watchers: FSWatcher[] = []; + const filepath = path.join(testDir, encodingFileName); + + const promises: Promise<any>[] = []; + encodings.forEach(name => { + const encoded_filename = + name !== "buffer" ? Buffer.from(encodingFileName, "utf8").toString(name) : Buffer.from(encodingFileName); + + promises.push( + new Promise((resolve, reject) => { + watchers.push( + fs.watch(filepath, { encoding: name }, (event, filename) => { + try { + expect(event).toBe("change"); + + if (name !== "buffer") { + expect(filename).toBe(encoded_filename); + } else { + expect(filename).toBeInstanceOf(Buffer); + expect((filename as any as Buffer)!.toString("utf8")).toBe(encodingFileName); + } + + resolve(undefined); + } catch (e: any) { + reject(e); + } + }), + ); + }), + ); + }); + + const interval = repeat(() => { + fs.writeFileSync(filepath, "world"); + }); + + try { + await Promise.all(promises); + } finally { + clearInterval(interval); + watchers.forEach(watcher => watcher.close()); + } + }); + + test("should work with url", done => { + const filepath = path.join(testDir, "url.txt"); + try { + const watcher = fs.watch(pathToFileURL(filepath)); + let err: Error | undefined = undefined; + watcher.on("change", function (event, filename) { + try { + expect(event).toBe("change"); + expect(filename).toBe("url.txt"); + } catch (e: any) { + err = e; + } finally { + clearInterval(interval); + watcher.close(); + } + }); + + watcher.once("close", () => { + done(err); + }); + + const interval = repeat(() => { + fs.writeFileSync(filepath, "world"); + }); + } catch (e: any) { + done(e); + } + }); + + test("calling close from error event should not throw", done => { + const filepath = path.join(testDir, "close.txt"); + try { + const ac = new AbortController(); + const watcher = fs.watch(pathToFileURL(filepath), { signal: ac.signal }); + watcher.once("error", () => { + try { + watcher.close(); + done(); + } catch (e: any) { + done("Should not error when calling close from error event"); + } + }); + ac.abort(); + } catch (e: any) { + done(e); + } + }); + + test("calling close from close event should not throw", done => { + const filepath = path.join(testDir, "close-close.txt"); + try { + const ac = new AbortController(); + const watcher = fs.watch(pathToFileURL(filepath), { signal: ac.signal }); + + watcher.once("close", () => { + try { + watcher.close(); + done(); + } catch (e: any) { + done("Should not error when calling close from close event"); + } + }); + + ac.abort(); + } catch (e: any) { + done(e); + } + }); + + test("Signal aborted after creating the watcher", async () => { + const filepath = path.join(testDir, "abort.txt"); + + const ac = new AbortController(); + const promise = new Promise((resolve, reject) => { + const watcher = fs.watch(filepath, { signal: ac.signal }); + watcher.once("error", err => (err.message === "The operation was aborted." ? resolve(undefined) : reject(err))); + watcher.once("close", () => reject()); + }); + await Bun.sleep(10); + ac.abort(); + await promise; + }); + + test("Signal aborted before creating the watcher", async () => { + const filepath = path.join(testDir, "abort.txt"); + + const signal = AbortSignal.abort(); + await new Promise((resolve, reject) => { + const watcher = fs.watch(filepath, { signal }); + watcher.once("error", err => (err.message === "The operation was aborted." ? resolve(undefined) : reject(err))); + watcher.once("close", () => reject()); + }); + }); + + test("should work with symlink", async () => { + const filepath = path.join(testDir, "sym-symlink2.txt"); + await fs.promises.symlink(path.join(testDir, "sym-sync.txt"), filepath); + + const interval = repeat(() => { + fs.writeFileSync(filepath, "hello"); + }); + + const promise = new Promise((resolve, reject) => { + let timeout: any = null; + const watcher = fs.watch(filepath, event => { + clearTimeout(timeout); + clearInterval(interval); + try { + resolve(event); + } catch (e: any) { + reject(e); + } finally { + watcher.close(); + } + }); + setTimeout(() => { + clearInterval(interval); + watcher?.close(); + reject("timeout"); + }, 3000); + }); + expect(promise).resolves.toBe("change"); + }); +}); + +describe("fs.promises.watch", () => { + test("add file/folder to folder", async () => { + let count = 0; + const root = path.join(testDir, "add-promise-directory"); + try { + fs.mkdirSync(root); + } catch {} + let success = false; + let err: Error | undefined = undefined; + try { + const ac = new AbortController(); + const watcher = fs.promises.watch(root, { signal: ac.signal }); + + const interval = repeat(() => { + fs.writeFileSync(path.join(root, "new-file.txt"), "hello"); + fs.mkdirSync(path.join(root, "new-folder.txt")); + fs.rmdirSync(path.join(root, "new-folder.txt")); + }); + + for await (const event of watcher) { + count++; + try { + expect(event.eventType).toBe("rename"); + expect(["new-file.txt", "new-folder.txt"]).toContain(event.filename); + + if (count >= 2) { + success = true; + clearInterval(interval); + ac.abort(); + } + } catch (e: any) { + err = e; + clearInterval(interval); + ac.abort(); + } + } + } catch (e: any) { + if (!success) { + throw err || e; + } + } + }); + + test("add file/folder to subfolder", async () => { + let count = 0; + const root = path.join(testDir, "add-promise-subdirectory"); + try { + fs.mkdirSync(root); + } catch {} + const subfolder = path.join(root, "subfolder"); + fs.mkdirSync(subfolder); + let success = false; + let err: Error | undefined = undefined; + + try { + const ac = new AbortController(); + const watcher = fs.promises.watch(root, { recursive: true, signal: ac.signal }); + + const interval = repeat(() => { + fs.writeFileSync(path.join(subfolder, "new-file.txt"), "hello"); + fs.mkdirSync(path.join(subfolder, "new-folder.txt")); + fs.rmdirSync(path.join(subfolder, "new-folder.txt")); + }); + for await (const event of watcher) { + const basename = path.basename(event.filename!); + if (basename === "subfolder") continue; + + count++; + try { + expect(event.eventType).toBe("rename"); + expect(["new-file.txt", "new-folder.txt"]).toContain(basename); + + if (count >= 2) { + success = true; + clearInterval(interval); + ac.abort(); + } + } catch (e: any) { + err = e; + clearInterval(interval); + ac.abort(); + } + } + } catch (e: any) { + if (!success) { + throw err || e; + } + } + }); + + test("Signal aborted after creating the watcher", async () => { + const filepath = path.join(testDir, "abort.txt"); + + const ac = new AbortController(); + const watcher = fs.promises.watch(filepath, { signal: ac.signal }); + + const promise = (async () => { + try { + for await (const _ of watcher); + } catch (e: any) { + expect(e.message).toBe("The operation was aborted."); + } + })(); + await Bun.sleep(10); + ac.abort(); + await promise; + }); + + test("Signal aborted before creating the watcher", async () => { + const filepath = path.join(testDir, "abort.txt"); + + const signal = AbortSignal.abort(); + const watcher = fs.promises.watch(filepath, { signal }); + await (async () => { + try { + for await (const _ of watcher); + } catch (e: any) { + expect(e.message).toBe("The operation was aborted."); + } + })(); + }); + + test("should work with symlink", async () => { + const filepath = path.join(testDir, "sym-symlink.txt"); + await fs.promises.symlink(path.join(testDir, "sym.txt"), filepath); + + const watcher = fs.promises.watch(filepath); + const interval = repeat(() => { + fs.writeFileSync(filepath, "hello"); + }); + + const promise = (async () => { + try { + for await (const event of watcher) { + return event.eventType; + } + } catch (e: any) { + expect("unreacheable").toBe(false); + } finally { + clearInterval(interval); + } + })(); + expect(promise).resolves.toBe("change"); + }); +}); diff --git a/test/js/third_party/esbuild/bun.lockb b/test/js/third_party/esbuild/bun.lockb Binary files differindex f46c6aa5d..1fcce3837 100755 --- a/test/js/third_party/esbuild/bun.lockb +++ b/test/js/third_party/esbuild/bun.lockb diff --git a/test/js/third_party/esbuild/package.json b/test/js/third_party/esbuild/package.json index ad6bc55f6..46535bc29 100644 --- a/test/js/third_party/esbuild/package.json +++ b/test/js/third_party/esbuild/package.json @@ -1,6 +1,6 @@ { "type": "module", "dependencies": { - "esbuild": "^0.17.11" + "esbuild": "0.17.11" } -}
\ No newline at end of file +} diff --git a/test/js/third_party/nodemailer/nodemailer.test.ts b/test/js/third_party/nodemailer/nodemailer.test.ts new file mode 100644 index 000000000..36a229524 --- /dev/null +++ b/test/js/third_party/nodemailer/nodemailer.test.ts @@ -0,0 +1,19 @@ +import { test, expect, describe } from "bun:test"; +import { bunRun } from "harness"; +import path from "path"; + +const it = process.env.SMTP_SENDGRID_KEY && process.env.SMTP_SENDGRID_SENDER ? test : test.skip; +describe("nodemailer", () => { + it("basic smtp", async () => { + try { + const info = bunRun(path.join(import.meta.dir, "process-nodemailer-fixture.js"), { + SMTP_SENDGRID_SENDER: process.env.SMTP_SENDGRID_SENDER as string, + SMTP_SENDGRID_KEY: process.env.SMTP_SENDGRID_KEY as string, + }); + expect(info.stdout).toBe("true"); + expect(info.stderr || "").toBe(""); + } catch (err: any) { + expect(err?.message || err).toBe(""); + } + }, 10000); +}); diff --git a/test/js/third_party/nodemailer/package.json b/test/js/third_party/nodemailer/package.json new file mode 100644 index 000000000..08e98074f --- /dev/null +++ b/test/js/third_party/nodemailer/package.json @@ -0,0 +1,6 @@ +{ + "name": "nodemailer", + "dependencies": { + "nodemailer": "6.9.3" + } +} diff --git a/test/js/third_party/nodemailer/process-nodemailer-fixture.js b/test/js/third_party/nodemailer/process-nodemailer-fixture.js new file mode 100644 index 000000000..49ab6a516 --- /dev/null +++ b/test/js/third_party/nodemailer/process-nodemailer-fixture.js @@ -0,0 +1,20 @@ +const nodemailer = require("nodemailer"); +const transporter = nodemailer.createTransport({ + host: "smtp.sendgrid.net", + port: 587, + secure: false, + auth: { + user: "apikey", // generated ethereal user + pass: process.env.SMTP_SENDGRID_KEY, // generated ethereal password + }, +}); + +// send mail with defined transport object +let info = await transporter.sendMail({ + from: process.env.SMTP_SENDGRID_SENDER, // sender address + to: process.env.SMTP_SENDGRID_SENDER, // list of receivers + subject: "Hello ✔", // Subject line + text: "Hello world?", // plain text body + html: "<b>Hello world?</b>", // html body +}); +console.log(typeof info?.messageId === "string"); diff --git a/test/js/third_party/postgres/package.json b/test/js/third_party/postgres/package.json new file mode 100644 index 000000000..90809f48f --- /dev/null +++ b/test/js/third_party/postgres/package.json @@ -0,0 +1,8 @@ +{ + "name": "postgres", + "dependencies": { + "pg": "8.11.1", + "postgres": "3.3.5", + "pg-connection-string": "2.6.1" + } +} diff --git a/test/js/third_party/postgres/postgres.test.ts b/test/js/third_party/postgres/postgres.test.ts new file mode 100644 index 000000000..490192ae7 --- /dev/null +++ b/test/js/third_party/postgres/postgres.test.ts @@ -0,0 +1,56 @@ +import { test, expect, describe } from "bun:test"; +import { Pool } from "pg"; +import { parse } from "pg-connection-string"; +import postgres from "postgres"; + +const CONNECTION_STRING = process.env.TLS_POSTGRES_DATABASE_URL; + +const it = CONNECTION_STRING ? test : test.skip; + +describe("pg", () => { + it("should connect using TLS", async () => { + const pool = new Pool(parse(CONNECTION_STRING as string)); + try { + const { rows } = await pool.query("SELECT version()", []); + const [{ version }] = rows; + + expect(version).toMatch(/PostgreSQL/); + } finally { + pool.end(); + } + }); +}); + +describe("postgres", () => { + it("should connect using TLS", async () => { + const sql = postgres(CONNECTION_STRING as string); + try { + const [{ version }] = await sql`SELECT version()`; + expect(version).toMatch(/PostgreSQL/); + } finally { + sql.end(); + } + }); + + it("should insert, select and delete", async () => { + const sql = postgres(CONNECTION_STRING as string); + try { + await sql`CREATE TABLE IF NOT EXISTS users ( + user_id serial PRIMARY KEY, + username VARCHAR ( 50 ) NOT NULL + );`; + + const [{ user_id, username }] = await sql`insert into users (username) values ('bun') returning *`; + expect(username).toBe("bun"); + + const [{ user_id: user_id2, username: username2 }] = await sql`select * from users where user_id = ${user_id}`; + expect(username2).toBe("bun"); + expect(user_id2).toBe(user_id); + + const [{ username: username3 }] = await sql`delete from users where user_id = ${user_id} returning *`; + expect(username3).toBe("bun"); + } finally { + sql.end(); + } + }); +}); diff --git a/test/js/third_party/prisma/package.json b/test/js/third_party/prisma/package.json index 369bd42ba..ac8694e36 100644 --- a/test/js/third_party/prisma/package.json +++ b/test/js/third_party/prisma/package.json @@ -3,11 +3,11 @@ "module": "index.ts", "type": "module", "devDependencies": { - "bun-types": "^0.6.0", + "bun-types": "0.6.12", "prisma": "4.15.0" }, "peerDependencies": { - "typescript": "^5.0.0" + "typescript": "5.0.0" }, "dependencies": { "@prisma/client": "4.15.0" diff --git a/test/js/third_party/prisma/prisma.test.ts b/test/js/third_party/prisma/prisma.test.ts index abe6f0635..2c87a9fcb 100644 --- a/test/js/third_party/prisma/prisma.test.ts +++ b/test/js/third_party/prisma/prisma.test.ts @@ -10,7 +10,7 @@ function* TestIDGenerator() { } const test_id = TestIDGenerator(); -["sqlite", "postgres", "mongodb"].forEach(async type => { +["sqlite" /*"postgres", "mongodb"*/].forEach(async type => { let Client: typeof PrismaClient; try { diff --git a/test/js/third_party/socket.io/package.json b/test/js/third_party/socket.io/package.json index edeb84845..e54aa3de9 100644 --- a/test/js/third_party/socket.io/package.json +++ b/test/js/third_party/socket.io/package.json @@ -2,9 +2,8 @@ "name": "socket.io", "version": "1.0.0", "dependencies": { - "socket.io": "^4.6.1", - "socket.io-client": "^4.6.1", - "supertest": "^6.1.6", - "uWebSockets.js": "uNetworking/uWebSockets.js#v20.24.0" + "socket.io": "4.6.1", + "socket.io-client": "4.6.1", + "supertest": "6.3.3" } } diff --git a/test/js/third_party/socket.io/support/util.ts b/test/js/third_party/socket.io/support/util.ts index 597b40d65..b5f515568 100644 --- a/test/js/third_party/socket.io/support/util.ts +++ b/test/js/third_party/socket.io/support/util.ts @@ -1,3 +1,4 @@ +// @ts-nocheck import type { Server } from "socket.io"; import request from "supertest"; diff --git a/test/js/third_party/webpack/package.json b/test/js/third_party/webpack/package.json new file mode 100644 index 000000000..fb08bfdc5 --- /dev/null +++ b/test/js/third_party/webpack/package.json @@ -0,0 +1,7 @@ +{ + "name": "webpack-test", + "version": "2.0.0", + "dependencies": { + "webpack": "5.88.0" + } +}
\ No newline at end of file diff --git a/test/js/third_party/webpack/test.js b/test/js/third_party/webpack/test.js new file mode 100644 index 000000000..bfd3e80a1 --- /dev/null +++ b/test/js/third_party/webpack/test.js @@ -0,0 +1,11 @@ +import { world } from "./world.js"; + +function component() { + const element = document.createElement("div"); + + element.innerHTML = "hello " + world(); + + return element; +} + +document.body.appendChild(component()); diff --git a/test/js/third_party/webpack/webpack.test.ts b/test/js/third_party/webpack/webpack.test.ts new file mode 100644 index 000000000..ffc8195c6 --- /dev/null +++ b/test/js/third_party/webpack/webpack.test.ts @@ -0,0 +1,27 @@ +import { bunExe, bunEnv } from "harness"; +import { existsSync, rmdirSync } from "fs"; +import { join } from "path"; + +afterEach(() => { + rmdirSync(join(import.meta.dir, "dist"), { recursive: true }); +}); + +test("webpack works", () => { + Bun.spawnSync({ + cmd: [bunExe(), "-b", "webpack", "--entry", "./test.js", "-o", "./dist/test1/main.js"], + cwd: import.meta.dir, + env: bunEnv, + }); + + expect(existsSync(join(import.meta.dir, "dist", "test1/main.js"))).toBe(true); +}); + +test("webpack --watch works", async () => { + Bun.spawnSync({ + cmd: ["timeout", "3", bunExe(), "-b", "webpack", "--entry", "./test.js", "-o", "./dist/test2/main.js", "--watch"], + cwd: import.meta.dir, + env: bunEnv, + }); + + expect(existsSync(join(import.meta.dir, "dist", "test2/main.js"))).toBe(true); +}); diff --git a/test/js/third_party/webpack/world.js b/test/js/third_party/webpack/world.js new file mode 100644 index 000000000..3fa21bf67 --- /dev/null +++ b/test/js/third_party/webpack/world.js @@ -0,0 +1,3 @@ +export function world() { + return "world"; +} diff --git a/test/js/web/console/console-log.expected.txt b/test/js/web/console/console-log.expected.txt index 97191c8be..332322665 100644 --- a/test/js/web/console/console-log.expected.txt +++ b/test/js/web/console/console-log.expected.txt @@ -1,4 +1,6 @@ Hello World! +0 +-0 123 -123 123.567 @@ -7,6 +9,8 @@ true false null undefined +Infinity +-Infinity Symbol(Symbol Description) 2000-06-27T02:24:34.304Z [ 123, 456, 789 ] @@ -29,7 +33,9 @@ Symbol(Symbol Description) } Promise { <pending> } [Function] -[Function: Foo] +[Function] +[class Foo] +[class] {} [Function: foooo] /FooRegex/ diff --git a/test/js/web/console/console-log.js b/test/js/web/console/console-log.js index e23a3e9cb..4db40aaac 100644 --- a/test/js/web/console/console-log.js +++ b/test/js/web/console/console-log.js @@ -1,4 +1,6 @@ console.log("Hello World!"); +console.log(0); +console.log(-0); console.log(123); console.log(-123); console.log(123.567); @@ -7,6 +9,8 @@ console.log(true); console.log(false); console.log(null); console.log(undefined); +console.log(Infinity); +console.log(-Infinity); console.log(Symbol("Symbol Description")); console.log(new Date(Math.pow(2, 34) * 56)); console.log([123, 456, 789]); @@ -27,7 +31,9 @@ console.log(new Promise(() => {})); class Foo {} console.log(() => {}); +console.log(function () {}); console.log(Foo); +console.log(class {}); console.log(new Foo()); console.log(function foooo() {}); diff --git a/test/js/web/fetch/fetch-leak-test-fixture.js b/test/js/web/fetch/fetch-leak-test-fixture.js index 07275a425..c83bbea83 100644 --- a/test/js/web/fetch/fetch-leak-test-fixture.js +++ b/test/js/web/fetch/fetch-leak-test-fixture.js @@ -29,6 +29,6 @@ await (async function runAll() { await Bun.sleep(10); Bun.gc(true); -if ((heapStats().objectTypeCounts.Response ?? 0) > 10) { +if ((heapStats().objectTypeCounts.Response ?? 0) > 1 + ((COUNT / 2) | 0)) { throw new Error("Too many Response objects: " + heapStats().objectTypeCounts.Response); } diff --git a/test/js/web/fetch/fetch.test.ts b/test/js/web/fetch/fetch.test.ts index 4d529b231..768818420 100644 --- a/test/js/web/fetch/fetch.test.ts +++ b/test/js/web/fetch/fetch.test.ts @@ -387,6 +387,25 @@ describe("fetch", () => { }).toThrow("fetch() request with GET/HEAD/OPTIONS method cannot have body."); }), ); + + it("content length is inferred", async () => { + startServer({ + fetch(req) { + return new Response(req.headers.get("content-length")); + }, + hostname: "localhost", + }); + + // POST with body + const url = `http://${server.hostname}:${server.port}`; + const response = await fetch(url, { method: "POST", body: "buntastic" }); + expect(response.status).toBe(200); + expect(await response.text()).toBe("9"); + + const response2 = await fetch(url, { method: "POST", body: "" }); + expect(response2.status).toBe(200); + expect(await response2.text()).toBe("0"); + }); }); it("simultaneous HTTPS fetch", async () => { @@ -1156,6 +1175,10 @@ it("#2794", () => { expect(typeof Bun.fetch.bind).toBe("function"); }); +it("#3545", () => { + expect(() => fetch("http://example.com?a=b")).not.toThrow(); +}); + it("invalid header doesnt crash", () => { expect(() => fetch("http://example.com", { diff --git a/test/js/web/html/FormData.test.ts b/test/js/web/html/FormData.test.ts index cbaf5aaa7..45b4f2f5a 100644 --- a/test/js/web/html/FormData.test.ts +++ b/test/js/web/html/FormData.test.ts @@ -301,17 +301,18 @@ describe("FormData", () => { expect(await (body.get("foo") as Blob).text()).toBe("baz"); server.stop(true); }); - + type FetchReqArgs = [request: Request, init?: RequestInit]; + type FetchURLArgs = [url: string | URL | Request, init?: FetchRequestInit]; for (let useRequestConstructor of [true, false]) { describe(useRequestConstructor ? "Request constructor" : "fetch()", () => { - function send(args: Parameters<typeof fetch>) { + function send(args: FetchReqArgs | FetchURLArgs) { if (useRequestConstructor) { - return fetch(new Request(...args)); + return fetch(new Request(...(args as FetchReqArgs))); } else { - return fetch(...args); + return fetch(...(args as FetchURLArgs)); } } - for (let headers of [{}, undefined, { headers: { X: "Y" } }]) { + for (let headers of [{} as {}, undefined, { headers: { X: "Y" } }]) { describe("headers: " + Bun.inspect(headers).replaceAll(/([\n ])/gim, ""), () => { it("send on HTTP server with FormData & Blob (roundtrip)", async () => { let contentType = ""; @@ -330,11 +331,10 @@ describe("FormData", () => { form.append("bar", "baz"); // @ts-ignore - const reqBody = [ + const reqBody: FetchURLArgs = [ `http://${server.hostname}:${server.port}`, { body: form, - headers, method: "POST", }, @@ -364,7 +364,6 @@ describe("FormData", () => { form.append("foo", file); form.append("bar", "baz"); - // @ts-ignore const reqBody = [ `http://${server.hostname}:${server.port}`, { @@ -374,7 +373,7 @@ describe("FormData", () => { method: "POST", }, ]; - const res = await send(reqBody); + const res = await send(reqBody as FetchURLArgs); const body = await res.formData(); expect(await (body.get("foo") as Blob).text()).toBe(text); expect(contentType).toContain("multipart/form-data"); @@ -410,7 +409,7 @@ describe("FormData", () => { method: "POST", }, ]; - const res = await send(reqBody); + const res = await send(reqBody as FetchURLArgs); const body = await res.formData(); expect(contentType).toContain("multipart/form-data"); expect(body.get("foo")).toBe("boop"); diff --git a/test/js/web/html/URLSearchParams.test.ts b/test/js/web/html/URLSearchParams.test.ts index 120bb2321..41c42c25d 100644 --- a/test/js/web/html/URLSearchParams.test.ts +++ b/test/js/web/html/URLSearchParams.test.ts @@ -7,15 +7,20 @@ describe("URLSearchParams", () => { params.append("foo", "bar"); params.append("foo", "boop"); params.append("bar", "baz"); + // @ts-ignore expect(params.length).toBe(3); params.delete("foo"); + // @ts-ignore expect(params.length).toBe(1); params.append("foo", "bar"); + // @ts-ignore expect(params.length).toBe(2); params.delete("foo"); params.delete("foo"); + // @ts-ignore expect(params.length).toBe(1); params.delete("bar"); + // @ts-ignore expect(params.length).toBe(0); }); diff --git a/test/js/web/timers/process-setImmediate-fixture.js b/test/js/web/timers/process-setImmediate-fixture.js new file mode 100644 index 000000000..6ffd91c8d --- /dev/null +++ b/test/js/web/timers/process-setImmediate-fixture.js @@ -0,0 +1,9 @@ +setImmediate(() => { + console.log("setImmediate"); + return { + a: 1, + b: 2, + c: 3, + d: 4, + }; +}); diff --git a/test/js/web/timers/setImmediate.test.js b/test/js/web/timers/setImmediate.test.js index 9cd6fa1c9..d00224e0f 100644 --- a/test/js/web/timers/setImmediate.test.js +++ b/test/js/web/timers/setImmediate.test.js @@ -1,4 +1,6 @@ import { it, expect } from "bun:test"; +import { bunExe, bunEnv } from "harness"; +import path from "path"; it("setImmediate", async () => { var lastID = -1; @@ -45,3 +47,28 @@ it("clearImmediate", async () => { }); expect(called).toBe(false); }); + +it("setImmediate should not keep the process alive forever", async () => { + let process = null; + const success = async () => { + process = Bun.spawn({ + cmd: [bunExe(), "run", path.join(import.meta.dir, "process-setImmediate-fixture.js")], + stdout: "ignore", + env: { + ...bunEnv, + NODE_ENV: undefined, + }, + }); + await process.exited; + process = null; + return true; + }; + + const fail = async () => { + await Bun.sleep(500); + process?.kill(); + return false; + }; + + expect(await Promise.race([success(), fail()])).toBe(true); +}); diff --git a/test/js/web/timers/setTimeout-unref-fixture-2.js b/test/js/web/timers/setTimeout-unref-fixture-2.js new file mode 100644 index 000000000..6a78f13cd --- /dev/null +++ b/test/js/web/timers/setTimeout-unref-fixture-2.js @@ -0,0 +1,9 @@ +setTimeout(() => { + console.log("TEST FAILED!"); +}, 100) + .ref() + .unref(); + +setTimeout(() => { + // this one should always run +}, 1); diff --git a/test/js/web/timers/setTimeout-unref-fixture-3.js b/test/js/web/timers/setTimeout-unref-fixture-3.js new file mode 100644 index 000000000..41808f5fc --- /dev/null +++ b/test/js/web/timers/setTimeout-unref-fixture-3.js @@ -0,0 +1,7 @@ +setTimeout(() => { + setTimeout(() => {}, 999_999); +}, 100).unref(); + +setTimeout(() => { + // this one should always run +}, 1); diff --git a/test/js/web/timers/setTimeout-unref-fixture-4.js b/test/js/web/timers/setTimeout-unref-fixture-4.js new file mode 100644 index 000000000..9968f3b36 --- /dev/null +++ b/test/js/web/timers/setTimeout-unref-fixture-4.js @@ -0,0 +1,5 @@ +setTimeout(() => { + console.log("TEST PASSED!"); +}, 1) + .unref() + .ref(); diff --git a/test/js/web/timers/setTimeout-unref-fixture-5.js b/test/js/web/timers/setTimeout-unref-fixture-5.js new file mode 100644 index 000000000..e5caa1be4 --- /dev/null +++ b/test/js/web/timers/setTimeout-unref-fixture-5.js @@ -0,0 +1,5 @@ +setTimeout(() => { + console.log("TEST FAILED!"); +}, 100) + .ref() + .unref(); diff --git a/test/js/web/timers/setTimeout-unref-fixture.js b/test/js/web/timers/setTimeout-unref-fixture.js new file mode 100644 index 000000000..97a0f78a2 --- /dev/null +++ b/test/js/web/timers/setTimeout-unref-fixture.js @@ -0,0 +1,12 @@ +const timer = setTimeout(() => {}, 999_999_999); +if (timer.unref() !== timer) throw new Error("Expected timer.unref() === timer"); + +var ranCount = 0; +const going2Refresh = setTimeout(() => { + if (ranCount < 1) going2Refresh.refresh(); + ranCount++; + + if (ranCount === 2) { + console.log("SUCCESS"); + } +}, 1); diff --git a/test/js/web/timers/setTimeout.test.js b/test/js/web/timers/setTimeout.test.js index dbe89dea8..eef6bbae0 100644 --- a/test/js/web/timers/setTimeout.test.js +++ b/test/js/web/timers/setTimeout.test.js @@ -1,5 +1,7 @@ +import { spawnSync } from "bun"; import { it, expect } from "bun:test"; - +import { bunEnv, bunExe } from "harness"; +import path from "node:path"; it("setTimeout", async () => { var lastID = -1; const result = await new Promise((resolve, reject) => { @@ -172,11 +174,56 @@ it.skip("order of setTimeouts", done => { Promise.resolve().then(maybeDone(() => nums.push(1))); }); +it("setTimeout -> refresh", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), path.join(import.meta.dir, "setTimeout-unref-fixture.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString()).toBe("SUCCESS\n"); +}); + +it("setTimeout -> unref -> ref works", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), path.join(import.meta.dir, "setTimeout-unref-fixture-4.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString()).toBe("TEST PASSED!\n"); +}); + +it("setTimeout -> ref -> unref works, even if there is another timer", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), path.join(import.meta.dir, "setTimeout-unref-fixture-2.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString()).toBe(""); +}); + +it("setTimeout -> ref -> unref works", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), path.join(import.meta.dir, "setTimeout-unref-fixture-5.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString()).toBe(""); +}); + +it("setTimeout -> unref doesn't keep event loop alive forever", () => { + const { exitCode, stdout } = spawnSync({ + cmd: [bunExe(), path.join(import.meta.dir, "setTimeout-unref-fixture-3.js")], + env: bunEnv, + }); + expect(exitCode).toBe(0); + expect(stdout.toString()).toBe(""); +}); + it("setTimeout should refresh N times", done => { let count = 0; let timer = setTimeout(() => { count++; - timer.refresh(); + expect(timer.refresh()).toBe(timer); }, 50); setTimeout(() => { diff --git a/test/js/web/util/atob.test.js b/test/js/web/util/atob.test.js index 4945829e1..20c029f14 100644 --- a/test/js/web/util/atob.test.js +++ b/test/js/web/util/atob.test.js @@ -60,18 +60,15 @@ it("btoa", () => { expect(btoa("abcde")).toBe("YWJjZGU="); expect(btoa("abcdef")).toBe("YWJjZGVm"); expect(typeof btoa).toBe("function"); - try { - btoa(); - throw new Error("Expected error"); - } catch (error) { - expect(error.name).toBe("TypeError"); - } + expect(() => btoa()).toThrow("btoa requires 1 argument (a string)"); var window = "[object Window]"; expect(btoa("")).toBe(""); expect(btoa(null)).toBe("bnVsbA=="); expect(btoa(undefined)).toBe("dW5kZWZpbmVk"); expect(btoa(window)).toBe("W29iamVjdCBXaW5kb3dd"); expect(btoa("éé")).toBe("6ek="); + // check for utf16 + expect(btoa("🧐éé".substring("🧐".length))).toBe("6ek="); expect(btoa("\u0080\u0081")).toBe("gIE="); expect(btoa(Bun)).toBe(btoa("[object Bun]")); }); diff --git a/test/js/web/web-globals.test.js b/test/js/web/web-globals.test.js index b7a243190..d687a1290 100644 --- a/test/js/web/web-globals.test.js +++ b/test/js/web/web-globals.test.js @@ -138,6 +138,25 @@ it("crypto.randomUUID", () => { }); }); +it("crypto.randomUUID version, issues#3575", () => { + var uuid = crypto.randomUUID(); + + function validate(uuid) { + const regex = + /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; + return typeof uuid === "string" && regex.test(uuid); + } + function version(uuid) { + if (!validate(uuid)) { + throw TypeError("Invalid UUID"); + } + + return parseInt(uuid.slice(14, 15), 16); + } + + expect(version(uuid)).toBe(4); +}); + it("URL.prototype.origin", () => { const url = new URL("https://html.spec.whatwg.org/"); const { origin, host, hostname } = url; diff --git a/test/js/web/websocket/websocket.test.js b/test/js/web/websocket/websocket.test.js index 867b86123..76ff16ecb 100644 --- a/test/js/web/websocket/websocket.test.js +++ b/test/js/web/websocket/websocket.test.js @@ -6,16 +6,33 @@ const TEST_WEBSOCKET_HOST = process.env.TEST_WEBSOCKET_HOST || "wss://ws.postman describe("WebSocket", () => { it("should connect", async () => { - const ws = new WebSocket(TEST_WEBSOCKET_HOST); - await new Promise((resolve, reject) => { + const server = Bun.serve({ + port: 0, + fetch(req, server) { + if (server.upgrade(req)) { + server.stop(); + return; + } + + return new Response(); + }, + websocket: { + open(ws) {}, + message(ws) { + ws.close(); + }, + }, + }); + const ws = new WebSocket(`ws://${server.hostname}:${server.port}`, {}); + await new Promise(resolve => { ws.onopen = resolve; - ws.onerror = reject; }); - var closed = new Promise((resolve, reject) => { + var closed = new Promise(resolve => { ws.onclose = resolve; }); ws.close(); await closed; + server.stop(true); }); it("should connect over https", async () => { @@ -59,17 +76,18 @@ describe("WebSocket", () => { const server = Bun.serve({ port: 0, fetch(req, server) { - server.stop(); done(); + server.stop(); return new Response(); }, websocket: { - open(ws) { + open(ws) {}, + message(ws) { ws.close(); }, }, }); - const ws = new WebSocket(`http://${server.hostname}:${server.port}`, {}); + new WebSocket(`http://${server.hostname}:${server.port}`, {}); }); describe("nodebuffer", () => { it("should support 'nodebuffer' binaryType", done => { @@ -93,6 +111,7 @@ describe("WebSocket", () => { expect(ws.binaryType).toBe("nodebuffer"); Bun.gc(true); ws.onmessage = ({ data }) => { + ws.close(); expect(Buffer.isBuffer(data)).toBe(true); expect(data).toEqual(new Uint8Array([1, 2, 3])); server.stop(true); @@ -117,6 +136,7 @@ describe("WebSocket", () => { ws.sendBinary(new Uint8Array([1, 2, 3])); setTimeout(() => { client.onmessage = ({ data }) => { + client.close(); expect(Buffer.isBuffer(data)).toBe(true); expect(data).toEqual(new Uint8Array([1, 2, 3])); server.stop(true); diff --git a/test/js/workerd/html-rewriter.test.js b/test/js/workerd/html-rewriter.test.js index 1ca92a567..44961df3b 100644 --- a/test/js/workerd/html-rewriter.test.js +++ b/test/js/workerd/html-rewriter.test.js @@ -300,4 +300,91 @@ describe("HTMLRewriter", () => { .text(), ).toEqual("<div></div>"); }); + + it("it supports lastInTextNode", async () => { + let lastInTextNode; + + await new HTMLRewriter() + .on("p", { + text(text) { + lastInTextNode ??= text.lastInTextNode; + }, + }) + .transform(new Response("<p>Lorem ipsum!</p>")) + .text(); + + expect(lastInTextNode).toBeBoolean(); + }); +}); + +// By not segfaulting, this test passes +it("#3334 regression", async () => { + for (let i = 0; i < 10; i++) { + const headers = new Headers({ + "content-type": "text/html", + }); + const response = new Response("<div>content</div>", { headers }); + + const result = await new HTMLRewriter() + .on("div", { + element(elem) { + elem.setInnerContent("new"); + }, + }) + .transform(response) + .text(); + expect(result).toEqual("<div>new</div>"); + } + Bun.gc(true); +}); + +it("#3489", async () => { + var el; + await new HTMLRewriter() + .on("p", { + element(element) { + el = element.getAttribute("id"); + }, + }) + .transform(new Response('<p id="Šžõäöü"></p>')) + .text(); + expect(el).toEqual("Šžõäöü"); +}); + +it("get attribute - ascii", async () => { + for (let i = 0; i < 10; i++) { + var el; + await new HTMLRewriter() + .on("p", { + element(element) { + el = element.getAttribute("id"); + }, + }) + .transform(new Response(`<p id="asciii"></p>`)) + .text(); + expect(el).toEqual("asciii"); + } +}); + +it("#3520", async () => { + const pairs = []; + + await new HTMLRewriter() + .on("p", { + element(element) { + for (const pair of element.attributes) { + pairs.push(pair); + } + }, + }) + .transform(new Response('<p šž="Õäöü" ab="Õäöü" šž="Õäöü" šž="dc" šž="🕵🏻"></p>')) + .text(); + + expect(pairs).toEqual([ + ["šž", "Õäöü"], + ["ab", "Õäöü"], + ["šž", "Õäöü"], + ["šž", "dc"], + ["šž", "🕵🏻"], + ]); }); diff --git a/test/package.json b/test/package.json index a9b8db913..75f8d35e3 100644 --- a/test/package.json +++ b/test/package.json @@ -1,28 +1,36 @@ { "name": "test", "devDependencies": { - "@types/dedent": "^0.7.0" + "@types/dedent": "0.7.0" }, "dependencies": { "@prisma/client": "4.15.0", - "@swc/core": "^1.3.38", - "@types/react": "^18.0.28", - "@types/react-dom": "^18.0.11", - "bktree-fast": "^0.0.7", - "body-parser": "^1.20.2", - "dedent": "^0.7.0", - "esbuild": "^0.17.16", - "express": "^4.18.2", - "iconv-lite": "^0.6.3", - "jest-extended": "^4.0.0", - "lodash": "^4.17.21", + "@swc/core": "1.3.38", + "@types/react": "18.0.28", + "@types/react-dom": "18.0.11", + "@types/supertest": "2.0.12", + "bktree-fast": "0.0.7", + "body-parser": "1.20.2", + "dedent": "0.7.0", + "esbuild": "0.18.6", + "express": "4.18.2", + "iconv-lite": "0.6.3", + "jest-extended": "4.0.0", + "lodash": "4.17.21", + "nodemailer": "6.9.3", + "pg": "8.11.1", + "pg-connection-string": "2.6.1", + "postgres": "3.3.5", "prisma": "4.15.0", - "socket.io": "^4.6.1", - "socket.io-client": "^4.6.1", - "supertest": "^6.1.6", - "svelte": "^3.55.1", - "typescript": "^5.0.2", - "undici": "^5.20.0" + "socket.io": "4.7.1", + "socket.io-client": "4.7.1", + "supertest": "6.3.3", + "svelte": "3.55.1", + "typescript": "5.0.2", + "undici": "5.20.0", + "vitest": "0.32.2", + "webpack": "5.88.0", + "webpack-cli": "4.7.2" }, "private": true, "scripts": { diff --git a/test/transpiler/decorator-export-default-class-fixture-anon.ts b/test/transpiler/decorator-export-default-class-fixture-anon.ts new file mode 100644 index 000000000..bf81afa2c --- /dev/null +++ b/test/transpiler/decorator-export-default-class-fixture-anon.ts @@ -0,0 +1,10 @@ +function decorator(target: any, propertyKey: any) { + target[propertyKey + "decorated"] = true; +} + +export default class { + @decorator + method() { + return 42; + } +} diff --git a/test/transpiler/decorator-export-default-class-fixture.ts b/test/transpiler/decorator-export-default-class-fixture.ts new file mode 100644 index 000000000..901c17718 --- /dev/null +++ b/test/transpiler/decorator-export-default-class-fixture.ts @@ -0,0 +1,10 @@ +function decorator(target: any, propertyKey: any) { + target[propertyKey + "decorated"] = true; +} + +export default class DecoratedClass { + @decorator + method() { + return 42; + } +} diff --git a/test/transpiler/decorators.test.ts b/test/transpiler/decorators.test.ts index 8769ea2bc..100ecc3bc 100644 --- a/test/transpiler/decorators.test.ts +++ b/test/transpiler/decorators.test.ts @@ -1,5 +1,7 @@ // @ts-nocheck import { test, expect, describe } from "bun:test"; +import DecoratedClass from "./decorator-export-default-class-fixture"; +import DecoratedAnonClass from "./decorator-export-default-class-fixture-anon"; test("decorator order of evaluation", () => { let counter = 0; @@ -988,3 +990,11 @@ describe("constructor statements", () => { expect(a.v2).toBe(0); }); }); + +test("export default class Named works", () => { + expect(new DecoratedClass()["methoddecorated"]).toBe(true); +}); + +test("export default class works (anonymous name)", () => { + expect(new DecoratedAnonClass()["methoddecorated"]).toBe(true); +}); diff --git a/test/transpiler/export-default-with-static-initializer.js b/test/transpiler/export-default-with-static-initializer.js new file mode 100644 index 000000000..2d390b008 --- /dev/null +++ b/test/transpiler/export-default-with-static-initializer.js @@ -0,0 +1,5 @@ +export default class { + static { + this.boop = "boop"; + } +} diff --git a/test/transpiler/export-default.test.js b/test/transpiler/export-default.test.js new file mode 100644 index 000000000..e557ffe00 --- /dev/null +++ b/test/transpiler/export-default.test.js @@ -0,0 +1,6 @@ +import WithStatic from "./export-default-with-static-initializer"; +import { test, expect } from "bun:test"; + +test("static initializer", () => { + expect(WithStatic.boop).toBe("boop"); +}); diff --git a/test/tsconfig.json b/test/tsconfig.json index 67f706cdf..a5e77bf59 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -1,13 +1,8 @@ { - "include": [ - ".", - "../packages/bun-types/index.d.ts" - ], + "include": [".", "../packages/bun-types/index.d.ts"], "compilerOptions": { "noEmit": true, - "lib": [ - "ESNext" - ], + "lib": ["ESNext"], "module": "ESNext", "target": "ESNext", "moduleResolution": "bundler", @@ -23,25 +18,14 @@ "resolveJsonModule": true, "baseUrl": ".", "paths": { - "harness": [ - "harness.ts" - ], - "mkfifo": [ - "mkfifo.ts" - ], - "node-harness": [ - "js/node/harness.ts" - ], - "deno:harness": [ - "js/deno/harness.ts" - ], - "foo/bar": [ - "js/bun/resolve/baz.js" - ], - "@faasjs/*": [ - "js/bun/resolve/*.js" - ] + "harness": ["harness.ts"], + "mkfifo": ["mkfifo.ts"], + "node-harness": ["js/node/harness.ts"], + "deno:harness": ["js/deno/harness.ts"], + "foo/bar": ["js/bun/resolve/baz.js"], + "@faasjs/*": ["js/bun/resolve/*.js"] } }, + "exclude": ["bundler/fixtures", "snapshots", "js/deno"] } |