Skip to content

dependency updates, mostly around typescript@6#547

Merged
bkendall merged 3 commits into
masterfrom
bk-audit-0708
Jul 8, 2026
Merged

dependency updates, mostly around typescript@6#547
bkendall merged 3 commits into
masterfrom
bk-audit-0708

Conversation

@bkendall

@bkendall bkendall commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

after getting rid of a bunch of audit warnings, I've upgraded many eslint and typescript packages to bring them up to more recent versions

bkendall added 3 commits July 8, 2026 09:20
…sues

- Enable esModuleInterop in tsconfig.base.json to support default imports from CommonJS modules.
- Update namespace imports (import * as) to default imports for callable CJS dependencies (like supertest, connect, and chai-as-promised) in all test files.
- Upgraded @types/node to @types/node@26 matching the Node.js runtime version, resolving the type declaration conflict for URLPattern and allowing us to compile without skipLibCheck.
- Configure rootDir: src in tsconfig.publish.json to satisfy TypeScript 6.0 output structure validation.
- Add ignoreDeprecations: 6.0 to preserve legacy moduleResolution: Node behavior without requiring file extensions on relative imports.
- Convert export structure in src/middleware/rewrites.ts to export = to align with TypeScript's CJS default import interop rules.

@joehan joehan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if all tests are passing

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several development dependencies, including ESLint, Prettier, and TypeScript to version 6.0.3, and adjusts TypeScript configurations to support these updates (notably enabling esModuleInterop). It also refactors imports across test files to use default imports, simplifies the environment middleware logic, and cleans up variable declarations in src/server.js. There are no review comments, and I have no additional feedback to provide.

@bkendall
bkendall merged commit 326f22f into master Jul 8, 2026
24 checks passed
@bkendall
bkendall deleted the bk-audit-0708 branch July 8, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants