Update dependencies and fix security vulnerabilities#111
Conversation
Updated: - ESLint to version 10+ (flat config) and related plugins. - TypeScript to version 5.9+. - Prettier, Mocha, and Kelonio to latest versions. - Chai and @types/chai to version 4 (pinned for CommonJS compatibility). Changes: - Migrated `.eslintrc` to `eslint.config.js` to support ESLint 9+ flat config format. - Disabled `no-redeclare` rule in ESLint config to support project's type/value merging pattern. - Fixed `no-loss-of-precision` lint error in `test/time_test.ts` by updating test expectation. - Updated `test/unit_test.ts` assertions to comply with `no-unused-expressions` rule. - Resolved security vulnerabilities identified by `npm audit`. Co-authored-by: buge <289445+buge@users.noreply.github.com>
| 👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Dropped Node 16 support as dependencies now require newer Node versions. Updated ESLint configuration to ignore build artifacts and properly handle CommonJS files. Fixed formatting issues in eslint.config.js. Co-authored-by: buge <289445+buge@users.noreply.github.com>
Updated project dependencies to their latest stable versions, addressing security vulnerabilities and ensuring compatibility.
Key changes include:
eslint.config.js).chaito version 4 to maintain compatibility with the CommonJS environment.test/time_test.tsandtest/unit_test.ts) that were flagged by the updated linter.npm auditfindings.All tests passed successfully (
npm test) and the project builds without errors (npm run build).PR created automatically by Jules for task 5226221478310357354 started by @buge