[Snyk] Upgrade history from 5.0.0 to 5.3.0 #193
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Snyk has created this PR to upgrade history from 5.0.0 to 5.3.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 7 versions ahead of your current version.
The recommended version was released 4 years ago.
Release notes
Package name: history
- 
        5.3.0 - 2022-02-22
 
      - 
        5.3.0-pre.0 - 2022-02-18
 
      - 
        5.2.0 - 2021-12-17
- Fixed a few type declarations and deprecated the following types:
 
 
 
 
- Fixed a regression related to the 
 
- We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts (See the commit).
 
 
      - 
        5.1.0 - 2021-11-02
 
      - 
        5.0.3 - 2021-11-01
 
      - 
        5.0.2 - 2021-11-01
- Fixed search params persisting on redirects
 
- Changed the 
 
 
      - 
        5.0.1 - 2021-08-13
 
      - 
        5.0.0 - 2020-06-12
- Hash history now has support for 
 
- Better 
 
- Full TypeScript declarations and IntelliSense docs
 
- Adds development and production builds for 
 
- Both browser and hash history have support for iframes (custom 
 
- About 50% smaller than v4 (and no dependencies)
 
- Fixed some long-standing encoding issues with 
 
- Removed unfixable warnings about pushing the same path in hash history
 
- Renamed browser global to 
 
- Removed support for browsers that do not support the HTML5 history API (no 
 
- Removed relative pathname support in hash history and memory history
 
- Removed 
 
 
    
from history GitHub release notesThis release provides support for native ESM consumption of all exports.
No content.
🐛 Bug fixes
State(now set tounknownwhich will require consumer type narrowing)PartialPath(usePartial<Path>instead)PartialLocation(usePartial<Location>instead)createPathreturn value (#813)✨ Features
Full Changelog: v5.1.0...v5.2.0
Because the prior 5.0.2 release removed the
Statetype parameter fromLocation, this was technically a breaking change. To correct for this, I'm bumping this as a minor release. It won't affect runtime code, but it may affect your development experience and tests if you were using that parameter.The
Statetype export is also restored, so you shouldn't have issues with installing React Router v6.Oh, by the way, did you hear we released React Router v6?
Full Changelog: v5.0.3...v5.1.0
Fixed
parsePathadding incorrectly addingsearchJust a couple fixes:
location.statetype toanyand removed the generic onLocationFull Changelog: v5.0.1...v5.0.2
This patch release contains a tiny TypeScript update to use the built-in
Partialutility forPartialPathandPartialLocation. We always love it when we can ship just a little less code!🙏 Credits
Thanks to @ liuhanqu, @ hanquliu, @ chaance and @ mjackson for your contributions!
Today we are very pleased to announce the stable release of history version 5!
Overview
This version includes many enhancements and fixes a few important issues with the library.
New Features
location.statehistory.blockAPI, with support for retrying transitions<script type=module>userswindowobjects)Bugfixes
location.pathnameHistoryLibraryso it doesn't conflict withwindow.HistoryBreaking Changes
pushState)getUserConfirmation,keyLength, andhashTypeAPIsUsage
Please refer to our installation guide for instructions about how to install the library.
There is also a getting started guide as well as a complete API reference in the
docsfolder.We are very excited about this release, especially because it will serve as the foundation for the upcoming release of React Router version 6.
Thank you for your support. Enjoy! 😀
Important
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: