Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependencies and Modernise Codebase #153

Merged
merged 16 commits into from
Jan 3, 2025
Merged

Conversation

hnhv
Copy link
Member

@hnhv hnhv commented Jan 3, 2025

This pull request introduces several updates aimed at addressing outdated and vulnerable dependencies, modernising the codebase, and improving maintainability.

Key changes:

  • Dependency upgrades:
    • Updated Node.js version in GitHub Actions workflow from 14 to 22.
    • Upgraded various npm dependencies and their configurations to the latest secure versions, including:
      • eslint and related plugins,
      • jest and its configs,
      • Babel and Rollup plugins.
    • Patched vulnerable packages (braces, lodash, semver) through overrides in package.json. This serves as a temporary measure while we continue to modernise the library further.
  • ESLint Configuration
    • Migrated to the new eslint.config.mjs standard
  • Test Enhancements
    • Updated timeout management to ensure compatibility with modern Jest.
    • Refactored some tests to use async/await for better readability and maintainability (this was mostly just for my own debugging).

@hnhv hnhv self-assigned this Jan 3, 2025
@hnhv hnhv requested review from aonemd and evgeniibreikin January 3, 2025 09:44
Copy link
Member

@aonemd aonemd left a comment

Choose a reason for hiding this comment

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

Nice work reviving the library 🔥

end-to-end-tests/sdk-start.test.js Show resolved Hide resolved
@hnhv hnhv merged commit e6a70d7 into master Jan 3, 2025
4 checks passed
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.

3 participants