Skip to content

Update history-related JS dependencies #32881

@adrianduffell

Description

@adrianduffell

The React Admin client has two outdated history-related dependencies with breaking changes.

Package Installed Latest
history 4.10.1 5.3.0
@types/history (dev) 4.7.11 5.0.0

Breaking Changes

history

  • Removed support for browsers that do not support the HTML5 history API (no pushState)
  • Removed relative pathname support in hash history and memory history
  • Removed getUserConfirmation, keyLength, and hashType APIs

https://github.com/remix-run/history/releases/tag/v5.0.0

@types/history

  • This package is deprecated.

history provides its own type definitions, so you don't need @types/history installed!

https://www.npmjs.com/package/@types/history

Metadata

Metadata

Assignees

Labels

Task (new)The issue is an internally driven task (e.g. from another A8c team).plugin: woocommerceIssues related to the WooCommerce Core plugin.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions