Skip to content

Conversation

@neSpecc
Copy link
Member

@neSpecc neSpecc commented Dec 15, 2025

Resolves #43

  1. @hawk.so/types updated, see chore(deps): deps updates, lint fixed, mongo issue fixed hawk.types#61
  2. Node.js updated to 24+
  3. TypeScript updated to 5
  4. ESLint updated to 9
  5. ESLint Config CodeX updated
  6. all ESLint issues fixed
  7. Node.js version locked to 24 at package.json and .nvmrc
  8. /playground package added
  9. add GitHubAction for checking ESLint and build

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the @hawk.so/nodejs package infrastructure by updating critical dependencies and tooling. Key objectives include upgrading to Node.js 24+, TypeScript 5, ESLint 9, and adding a playground package for testing.

  • Updated major dependencies: @hawk.so/types (0.1.15 → 0.3.0), Node.js (14 → 24), TypeScript (3.9 → 5.9), ESLint (6.7 → 9.39)
  • Migrated ESLint configuration from legacy format to flat config (eslint.config.mjs)
  • Fixed ESLint issues throughout the codebase including import ordering, type imports, and code style
  • Added playground package for local testing with its own TypeScript configuration

Reviewed changes

Copilot reviewed 16 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Updated version to 3.2.0, added Node.js 24 engine requirement, updated all dependencies
yarn.lock Reflects all dependency updates with new lockfile entries
eslint.config.mjs New ESLint 9 flat config replacing .eslintrc.js
.eslintrc.js Removed (replaced by eslint.config.mjs)
.nvmrc Added with Node.js 24 version specification
src/index.ts Applied ESLint fixes, improved type safety, refactored global references
src/modules/event.ts Type imports, improved null checks, removed JSDoc types
src/modules/backtrace.ts Type imports, improved formatting
types/index.ts Changed to type-only import
types/stack-trace/index.d.ts Added ESLint disable comments for unavoidable any/Function types
playground/* New playground package with TypeScript setup for testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@neSpecc neSpecc merged commit 18a18e2 into master Dec 15, 2025
2 of 4 checks passed
@neSpecc neSpecc deleted the upd-deps branch December 15, 2025 00:18
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.

TypeScript 5.6.3 Incompatibility with @types/mongodb@3.6.20

1 participant