mirror of
https://github.com/jakejarvis/rdapper.git
synced 2025-10-18 20:14:27 -04:00
Update TypeScript configuration and introduce constants: change module resolution to NodeNext, add DEFAULT_TIMEOUT_MS constant for consistent timeout handling across RDAP and WHOIS clients.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { DEFAULT_TIMEOUT_MS } from "../config.js";
|
||||
import { DEFAULT_TIMEOUT_MS } from "../lib/constants.js";
|
||||
import { withTimeout } from "../lib/async.js";
|
||||
import type { LookupOptions } from "../types.js";
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { DEFAULT_TIMEOUT_MS } from "../config.js";
|
||||
import { DEFAULT_TIMEOUT_MS } from "../lib/constants.js";
|
||||
import { withTimeout } from "../lib/async.js";
|
||||
import type { LookupOptions } from "../types.js";
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { createConnection } from "node:net";
|
||||
import { DEFAULT_TIMEOUT_MS } from "../config.js";
|
||||
import { DEFAULT_TIMEOUT_MS } from "../lib/constants.js";
|
||||
import { withTimeout } from "../lib/async.js";
|
||||
import type { LookupOptions } from "../types.js";
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2022", "DOM"],
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "Bundler",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
|
Reference in New Issue
Block a user