Skip to content

chore(deps): general dependency upgrade and renovation#25

Merged
Ephigenia merged 16 commits intomasterfrom
general-upgrade
Nov 26, 2025
Merged

chore(deps): general dependency upgrade and renovation#25
Ephigenia merged 16 commits intomasterfrom
general-upgrade

Conversation

@Ephigenia
Copy link
Collaborator

@Ephigenia Ephigenia commented Sep 10, 2025

upgrades the project's dependencies and migrates from the deprecated request library to axios. The migration involves updating the HTTP request handling to use axios's Promise-based API and updating the test infrastructure to modern Node.js versions.

Copy link
Contributor

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 pull request upgrades the project's dependencies and migrates from the deprecated request library to axios. The migration involves updating the HTTP request handling to use axios's Promise-based API and updating the test infrastructure to modern Node.js versions.

Key changes:

  • Migration from request to axios for HTTP requests, converting callback-based patterns to Promise-based patterns
  • Upgrade of Node.js version from 8.x to 20.x and upgrade of all development dependencies (ESLint 9.x, Mocha 11.x)
  • Fixed a critical bug in the method check logic (parenthesis placement in indexOf check)

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
package.json Updated dependencies: replaced request with axios, upgraded ESLint, Mocha, and conventional-changelog tooling to latest versions
lib/mite-api.js Migrated from request callback API to axios Promise API, changed body to data parameter, fixed indexOf parenthesis bug
test/mock/axios.js Converted mock from callback-based to Promise-based, updated response structure from request format to axios format
test/test.js Updated mock import and usage from requestMock to axiosMock, fixed typo in comment
eslint.config.js Added new flat config format for ESLint 9.x
.eslintrc Removed legacy ESLint configuration file
.nvmrc Updated Node.js version from 8.17.0 to 20
.npmrc Added configuration for exact dependency versions and security settings
.github/workflows/test.yml Updated Node versions and GitHub Actions versions, but contains a typo in matrix key
.github/workflows/lint.yml Updated Node versions and GitHub Actions versions

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

Ephigenia and others added 4 commits November 26, 2025 14:57
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Nov 26, 2025

@Ephigenia I've opened a new pull request, #26, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 5 commits November 26, 2025 14:00
Co-authored-by: Ephigenia <73654+Ephigenia@users.noreply.github.com>
Co-authored-by: Ephigenia <73654+Ephigenia@users.noreply.github.com>
Fix makeRequest to return Promise for proper async chaining
@Ephigenia Ephigenia merged commit 8d88230 into master Nov 26, 2025
7 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.

2 participants