Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

k-history

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

k-history

这是一个用于代替`history@4`的工具库,编写这个库主要是有以下原因:

  • 0.0.4
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

k-history

这是一个用于代替history@4的工具库,编写这个库主要是有以下原因:

  • history@4HashRouter不支持记录state
  • history@4blocker不支持异步回调
  • history@4blocker在中途刷新浏览器会失效
  • history@4不能告诉我们用户点击的是前进还是后退
  • history@4未直接将search转换为object

刚好项目中遇到了需要监听浏览器动作的需求,迫不得已,就重写一个history好了。

文档完善中,请先参考history的文档

FAQs

Package last updated on 14 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc