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

[Snyk] Upgrade eslint-import-resolver-typescript from 3.6.3 to 3.7.0 #1882

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

qdraw
Copy link
Owner

@qdraw qdraw commented Dec 25, 2024

snyk-top-banner

Snyk has created this PR to upgrade eslint-import-resolver-typescript from 3.6.3 to 3.7.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: eslint-import-resolver-typescript
  • 3.7.0 - 2024-12-03

    Minor Changes

    • #326 93ea130 Thanks @ SukkaW! - This version has implemented the eslint-plugin-import-x's v3 resolver interface. This allows you to use import/require to reference eslint-import-resolver-typescript directly in your ESLint flat config:

      Previously

      // eslint.config.js
      module.exports = {
        settings: {
          'import-x/resolver': {
            typescript: {
              alwaysTryTypes: true,
            },
            // or
            require.resolve('eslint-import-resolver-typescript'):
              alwaysTryTypes: true,
            }
          }
        }
      }

      Now

      // eslint.config.js
      const {
      createTypeScriptImportResolver,
      } = require('eslint-import-resolver-typescript')

      module.exports = {
      settings: {
      'import-x/resolver-next': [
      createTypeScriptImportResolver({
      alwaysTryTypes: true,
      }),
      ],
      },
      }

      Note that this only works with eslint-plugin-import-x@>=4.5.0. You can't use createTypeScriptImportResolver with the older versions of eslint-plugin-import-x or any existing versions of eslint-plugin-import.

  • 3.6.3 - 2024-08-26

    Patch Changes

from eslint-import-resolver-typescript GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade eslint-import-resolver-typescript from 3.6.3 to 3.7.0.

See this package in npm:
eslint-import-resolver-typescript

See this project in Snyk:
https://app.snyk.io/org/qdraw/project/8efd618d-a300-4d64-93b4-6c13314df270?utm_source=github&utm_medium=referral&page=upgrade-pr
@qdraw qdraw merged commit b3e1aba into master Dec 25, 2024
7 checks passed
@qdraw qdraw deleted the snyk-upgrade-6c722d9ae33577e275a5f36e4db5f98a branch December 25, 2024 21:13
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