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 @equinor/eds-core-react from 0.35.1 to 0.40.1 #690

Closed
wants to merge 1 commit into from

Conversation

mariush2
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade @equinor/eds-core-react from 0.35.1 to 0.40.1.

ℹ️ 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 8 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: @equinor/eds-core-react
  • 0.40.1 - 2024-07-10

    [0.40.1] - 2024-07-10

    Fixed

    • 🐛 Autocomplete: Do not attach document.body if server side rendering by @ magnh in #3542

    Changed

    • 🧑‍💻 Icon: improve icon type definition by making it a descriminated union on name and data by @ FredrikMWold in #3547
    • ⬆️ Updated prod dependencies by @ oddvernes in #3554
  • 0.40.0 - 2024-06-21

    [0.40.0] - 2024-06-21

    Fixed

    • 💄 DatePicker: use correct token for text color by @ oddvernes in #3520
    • 🐛 DatePicker: export DatePickerProps type by @ oddvernes in #3538
    • 🐛 Autocomplete: reverted changes from #3408 (conditional optionLabel type) due to typescript issues when wrapping the component. Also made options type readonly by @ oddvernes in #3515
    • 🚸 Autocomplete: return focus to input after pressing 'clear' button by @ oddvernes in #3531
    • 🐛 Autocomplete: crash triggered by opening dropdown using keyboard if all items are disabled by @ oddvernes in #3534

    Added

    • 🧑‍💻 Datepicker type: allow passing standard html attributes by @ oddvernes in #3509
    • Datepicker/DateRangepicker: added hideClearButton prop, and also hide clear button if no date is set by @ oddvernes in #3537
  • 0.39.1-dev13062024 - 2024-06-13
  • 0.39.0 - 2024-05-27

    [0.39.0] - 2024-05-27

    Fixed

    • 🐛 DatePicker: Datetime-input was formatted with / instead of : by @ yusijs in #3450
    • 🐛 Autocomplete: added explicit transparent background-color to [popover]::backdrop by @ oddvernes in af36ebd

    Added

    • Autocomplete: Solution for object-checking by value instead of reference with new itemCompare prop by @ yusijs in #3455

    Changed

    • 📌 Changed required styled-components version to 5.1 in peer dependencies by @ oddvernes in #3459
  • 0.38.0 - 2024-05-14

    [0.38.0] - 2024-05-14

    Added

    • DatePicker: Enable custom date-formats in the input segments when they are not focused. Also added support for custom locale by @ yusijs in #3415

    Changed

    • 🧑‍💻 Autocomplete: improved type safety for autocomplete when optionLabel is required by @ FredrikMWold in #3408
    • 🚸 Autocomplete: implement native popover for better compatability with Dialog by @ oddvernes in #3416
    • ⬆️ Updated prod dependencies by @ oddvernes in #3425

    Fixed

    • 🐛 Autocomplete "Select all" toggle causing crashes under certain circumstances with controlled Autocomplete by @ mhwaage in #3428
    • 🐛 Autocomplete when toggling "Select all" or clicking the "clear" button, disabled items are now left unchanged. The "x/y selected" text in the input has changed "y" from "total non-disabled items length" to "all items length" by @ oddvernes in #3429
    • 🐛 Autocomplete: dragging scrollbar and then switching to using up/down arrow navigation should now work as expected by @ oddvernes in #3441

    Notes

    Due to the introduction of the native popover attribute, downstream unit tests involving eds Autocomplete may fail due to Jest/jsDom not having added support for the popover api yet. The easy solution to this is to add the following lines to your jest.setup.ts or alternatively within the test itself:

    HTMLElement.prototype.showPopover = jest.fn()
    HTMLElement.prototype.hidePopover = jest.fn()
    
  • 0.37.0 - 2024-04-24
  • 0.36.1 - 2024-03-01
  • 0.36.0 - 2024-02-09
  • 0.35.1 - 2023-12-21
from @equinor/eds-core-react 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 @equinor/eds-core-react from 0.35.1 to 0.40.1.

See this package in npm:
@equinor/eds-core-react

See this project in Snyk:
https://app.snyk.io/org/amplify-qqx/project/ea777085-1555-4306-95ff-92bbae2a7f70?utm_source=github&utm_medium=referral&page=upgrade-pr
@mariush2 mariush2 requested a review from a team as a code owner August 11, 2024 03:25
@mariush2 mariush2 closed this Aug 12, 2024
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