Skip to content

Conversation

DhairyaMajmudar
Copy link

@DhairyaMajmudar DhairyaMajmudar commented Jul 5, 2024

Which problem is this PR solving?

Updating the history package

Replaces #1640

Resolves #2531

Description of the changes

  1. Updated yarn.lock
  2. Updated package.json
  3. And configure-store.test.js

How was this change tested?

By running the command yarn test previously 3 tests were failing due to updation of package while inspecting the failures 1 got fixed by changing import statement but the rest two were falling due to deprecated history.length

Below is the ss of failing tests

image

Upon checking open issues in core repo. got these:

remix-run/history#811
remix-run/history#960

Checklist

@DhairyaMajmudar DhairyaMajmudar requested a review from a team as a code owner July 5, 2024 07:09
@DhairyaMajmudar DhairyaMajmudar requested review from jkowall and removed request for a team July 5, 2024 07:09
Signed-off-by: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in>
Signed-off-by: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in>
@DhairyaMajmudar
Copy link
Author

cc: @yurishkuro

@yurishkuro
Copy link
Member

#1640 (comment)

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Dhairya Majmudar <124715224+DhairyaMajmudar@users.noreply.github.com>
@DhairyaMajmudar
Copy link
Author

Seems like lint checks are failing due to import { LocationDescriptor } from 'history'; which is now deprecated. In their v5 docs, there's not any mention for an alternative for this.

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You may re-open it if you need more time.

@github-actions github-actions bot added the stale label Jul 28, 2025
@github-actions github-actions bot removed the stale label Aug 4, 2025
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.

[Deps] Upgrade history package to 5.x
2 participants