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

chore(deps): update dependency eslint-plugin-import to v2.31.0 #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 11, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import 2.29.1 -> 2.31.0 age adoption passing confidence

Release Notes

import-js/eslint-plugin-import (eslint-plugin-import)

v2.31.0

Compare Source

Added
Fixed
Changed

v2.30.0

Compare Source

Added
Fixed
Changed
  • [Docs] no-extraneous-dependencies: Make glob pattern description more explicit ([#​2944], thanks [@​mulztob])
  • [no-unused-modules]: add console message to help debug [#​2866]
  • [Refactor] ExportMap: make procedures static instead of monkeypatching exportmap ([#​2982], thanks [@​soryy708])
  • [Refactor] ExportMap: separate ExportMap instance from its builder logic ([#​2985], thanks [@​soryy708])
  • [Docs] order: Add a quick note on how unbound imports and --fix ([#​2640], thanks [@​minervabot])
  • [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#​2987], thanks [@​joeyguerra])
  • [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@​aks-])
  • [Refactor] exportMapBuilder: avoid hoisting ([#​2989], thanks [@​soryy708])
  • [Refactor] ExportMap: extract "builder" logic to separate files ([#​2991], thanks [@​soryy708])
  • [Docs] [order]: update the description of the pathGroupsExcludedImportTypes option ([#​3036], thanks [@​liby])
  • [readme] Clarify how to install the plugin ([#​2993], thanks [@​jwbth])

Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

[puLL-Merge] - import-js/eslint-plugin-import@v2.29.1..v2.30.0

Description

This PR introduces significant changes to the eslint-plugin-import package, including new features, bug fixes, refactoring, and modernization efforts. Key changes include support for Flat Config, improvements to various rules, and extensive code restructuring.

Possible Issues

  1. The extensive refactoring may introduce subtle bugs or behavior changes that are not immediately apparent.
  2. The addition of TypeScript types and new dependencies could potentially cause compatibility issues with existing projects.

Security Hotspots

No significant security vulnerabilities were identified in this change.

Changes

Changes

  1. .editorconfig:

    • Added quote_type = single configuration.
  2. .eslintignore:

    • Added examples to the ignored files.
  3. .eslintrc:

    • Updated various ESLint rules, including adding no-use-before-define and modifying prefer-destructuring and prefer-spread.
    • Added new configurations for specific file patterns.
  4. .github/workflows/:

    • Added new workflow native-wsl.yml for testing on Windows and WSL.
    • Updated existing workflows with concurrency settings and latest actions.
  5. CHANGELOG.md:

    • Added entries for version 2.30.0 with various new features and bug fixes.
  6. README.md:

    • Updated installation and configuration instructions, including examples for Flat Config.
  7. package.json:

    • Updated version to 2.30.0.
    • Added new scripts and dependencies.
  8. src/:

    • Extensive refactoring of ExportMap.js into multiple files in src/exportMap/.
    • Added new file src/scc.js for Strongly Connected Components calculation.
    • Updated various rules and core functionality.
  9. tests/:

    • Added new tests and updated existing ones to match the refactored code.
  10. utils/:

    • Added TypeScript type definitions for utility functions.
    • Updated various utility functions with type annotations and minor improvements.
  11. examples/:

    • Added new examples for Flat Config and legacy configurations.

Overall, this PR represents a significant update to the package, focusing on modernization, improved type safety, and new features like Flat Config support.

@renovate renovate bot force-pushed the renovate/eslint-plugin-import-2.x branch from 5756548 to 523db0a Compare October 7, 2024 10:55
@renovate renovate bot changed the title chore(deps): update dependency eslint-plugin-import to v2.30.0 chore(deps): update dependency eslint-plugin-import to v2.31.0 Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

[puLL-Merge] - import-js/eslint-plugin-import@v2.29.1..v2.31.0

Here's a description of the changes in this PR:

Description

This PR makes significant changes across the codebase to support ESLint's new flat config system, improve TypeScript support, and enhance overall functionality. Key changes include:

  1. Adding support for ESLint v9 and flat config.
  2. Introducing new TypeScript typings and improving existing ones.
  3. Refactoring several core components, including the ExportMap and parsing logic.
  4. Adding new features to existing rules and improving their functionality.
  5. Updating dependencies and development tooling.
Changes

Changes

  1. Core changes:

    • Added support for flat config in src/index.js and various rule files.
    • Refactored ExportMap into multiple files under src/exportMap/.
    • Introduced a new StronglyConnectedComponentsBuilder in src/scc.js.
    • Updated parse.js to handle flat config scenarios.
  2. Rule updates:

    • Enhanced no-cycle rule with new options and improved performance.
    • Updated order rule with new capabilities for named imports/exports.
    • Improved no-unused-modules rule with new options and better TypeScript support.
    • Added new features to dynamic-import-chunkname rule.
  3. Testing and CI:

    • Replaced Travis CI with GitHub Actions.
    • Updated test files to support new flat config and rule changes.
    • Added new test cases for updated rules and core functionality.
  4. Documentation:

    • Updated README and rule documentation to reflect new features and changes.
    • Added examples for flat config usage.
  5. Utils:

    • Added TypeScript typings for utility functions.
    • Refactored and improved various utility functions.
  6. Dependencies:

    • Updated several dependencies to their latest versions.
    • Added new devDependencies for TypeScript support.

Possible Issues

  • The extensive refactoring and new feature additions may introduce unforeseen compatibility issues with existing configurations.
  • The transition to flat config support might require users to update their ESLint configurations.

Security Hotspots

No significant security vulnerabilities were introduced in this change. However, as with any major update, it's advisable to thoroughly test the new version in a non-production environment before adoption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants