Skip to content

fix(deps): bump eslint-import-context to v0.1.5 #457

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

Merged
merged 3 commits into from
May 26, 2025
Merged

fix(deps): bump eslint-import-context to v0.1.5 #457

merged 3 commits into from
May 26, 2025

Conversation

JounQin
Copy link
Collaborator

@JounQin JounQin commented May 26, 2025

close #456


Important

Update dependencies including eslint-import-context to v0.1.5 and adjust CI workflow for Node.js 24 and Codecov on Windows.

  • Dependencies:
    • Bump eslint-import-context to v0.1.5 in package.json.
    • Update tinyglobby to v0.2.14, eslint-plugin-import-x to v4.13.1, and npm-run-all2 to v8.0.4 in package.json.
  • CI Workflow:
    • Add Node.js version 24 to the test matrix in ci.yml.
    • Modify Codecov step to exclude Windows due to known issues.

This description was created by Ellipsis for 9cf70fd. You can customize this summary. It will automatically update as commits are pushed.


Summary by CodeRabbit

  • Chores
    • Updated several dependencies to their latest versions, including eslint-import-context, tinyglobby, eslint-plugin-import-x, and npm-run-all2. No changes to app functionality.
    • Extended Node.js version support in CI and improved code coverage upload conditions to enhance build reliability.

@JounQin JounQin requested a review from Copilot May 26, 2025 04:28
@JounQin JounQin self-assigned this May 26, 2025
Copy link

changeset-bot bot commented May 26, 2025

🦋 Changeset detected

Latest commit: 9cf70fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-import-resolver-typescript Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

coderabbitai bot commented May 26, 2025

Walkthrough

This change updates dependency versions in package.json, notably bumping eslint-import-context to v0.1.5 and other related packages. A new changeset file is added to document these updates. The CI workflow is modified to include Node.js 24 and conditionally skip Codecov upload on Windows for forked PRs. No source code or exported entities were changed.

Changes

Files/Paths Change Summary
package.json Bumped versions of several dependencies and devDependencies, including eslint-import-context.
.changeset/small-drinks-wave.md Added changeset documenting the patch update and dependency version bumps.
.github/workflows/ci.yml Extended Node.js matrix to v24 and conditionally skipped Codecov upload step on Windows forks.

Assessment against linked issues

Objective Addressed Explanation
Fix "Cannot find module 'tslib'" error by updating/bumping eslint-import-context version (#456)

Possibly related PRs

Suggested reviewers

  • SukkaW

Poem

A patch arrives with gentle hop,
Dependencies get their shiny swap.
No more missing modules in the night,
With versions bumped, all works right.
🐇✨
The rabbit cheers, the code is bright—
Bugs take flight, and all is light!


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@Copilot 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 updates several dependencies to their latest patch versions to address issue #456.

  • Bumps eslint-import-context from ^0.1.3 to ^0.1.5
  • Bumps tinyglobby from ^0.2.13 to ^0.2.14
  • Bumps eslint-plugin-import-x from ^4.13.0 to ^4.13.1 and npm-run-all2 from ^8.0.3 to ^8.0.4
Comments suppressed due to low confidence (1)

package.json:73

  • After bumping versions in package.json, regenerate and commit the lock file (e.g., package-lock.json or yarn.lock) to keep installations reproducible.
"eslint-import-context": "^0.1.5",

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to dadf3fd in 42 seconds. Click for details.
  • Reviewed 30 lines of code in 1 files
  • Skipped 1 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. package.json:73
  • Draft comment:
    Bump 'eslint-import-context' to ^0.1.5 is expected to fix the missing 'tslib' issue (Cannot find module 'tslib' in v4.4.0 #456). Confirm that this version now includes 'tslib' as a dependency.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to confirm that a specific version of a dependency includes another dependency. This is related to dependency management, which is not allowed according to the rules. The comment does not provide a specific code suggestion or ask for a test to be written, so it should be removed.
2. package.json:77
  • Draft comment:
    Ensure that bumping 'tinyglobby' to ^0.2.14 doesn’t introduce breaking changes.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
3. package.json:98
  • Draft comment:
    Update 'eslint-plugin-import-x' to ^4.13.1; verify that tests and linting pass with this change.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
4. package.json:100
  • Draft comment:
    Double-check that updating 'npm-run-all2' to ^8.0.4 maintains compatibility with script tasks.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_eLEDE4iUHzXb20fL

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link

codesandbox-ci bot commented May 26, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

pkg-pr-new bot commented May 26, 2025

Open in StackBlitz

npm i https://pkg.pr.new/eslint-import-resolver-typescript@457

commit: 9cf70fd

Copy link
Contributor

github-actions bot commented May 26, 2025

size-limit report 📦

Path Size
lib/index.js 1.33 KB (0%)

Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.33%. Comparing base (93aabc2) to head (9cf70fd).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #457   +/-   ##
=======================================
  Coverage   63.33%   63.33%           
=======================================
  Files           6        6           
  Lines         390      390           
  Branches       50       50           
=======================================
  Hits          247      247           
  Misses        143      143           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Caution

Changes requested ❌

Reviewed 9cf70fd in 1 minute and 25 seconds. Click for details.
  • Reviewed 21 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .github/workflows/ci.yml:20
  • Draft comment:
    New Node.js v24 added to the matrix. Ensure that all tests and dependencies are compatible with Node 24.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_2BhUFobBk4QJOJoN

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a83cee9 and 9cf70fd.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml (2 hunks)
🔇 Additional comments (1)
.github/workflows/ci.yml (1)

20-20: Expand Node.js version matrix
Including Node.js v24 ensures coverage for the latest Node.js release. Please verify that all dependencies, build scripts, and test runners support Node.js 24 without regressions.

@JounQin JounQin merged commit d9f3e68 into master May 26, 2025
38 checks passed
@JounQin JounQin deleted the fix/deps branch May 26, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Cannot find module 'tslib' in v4.4.0
1 participant