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

history-extra

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

history-extra - npm Package Compare versions

Comparing version 4.0.2 to 4.0.4

5

CHANGELOG.md
### Changelog
#### [v4.0.4](https://github.com/w33ble/history-extra/compare/v4.0.3...v4.0.4) (3 June 2019)
#### [v4.0.3](https://github.com/w33ble/history-extra/compare/v4.0.2...v4.0.3) (3 June 2019)
- fix: duplicate listeners [`d27402a`](https://github.com/w33ble/history-extra/commit/d27402aad94fd57fa34ef50d5ca1a1994af8a111)
#### [v4.0.2](https://github.com/w33ble/history-extra/compare/v4.0.1...v4.0.2) (16 November 2018)

@@ -4,0 +9,0 @@ - Fix: Allow push/replace on same path [`#1`](https://github.com/w33ble/history-extra/pull/1)

4

dist/createHashStateHistory.js
/*
* history-extra version 4.0.2
* history-extra version 4.0.4
*

@@ -336,3 +336,3 @@ * The MIT License (MIT)

if (listenerCount === 1) {
if (listenerCount === 1 && delta === 1) {
addEventListener(window, eventType, handleHashChange);

@@ -339,0 +339,0 @@ } else if (listenerCount === 0) {

{
"name": "history-extra",
"version": "4.0.2",
"version": "4.0.4",
"description": "Extra functionality for the history module",

@@ -5,0 +5,0 @@ "main": "dist/createHashStateHistory.js",

@@ -324,3 +324,3 @@ /* eslint no-use-before-define: 0 */

if (listenerCount === 1) {
if (listenerCount === 1 && delta === 1) {
addEventListener(window, eventType, handleHashChange);

@@ -327,0 +327,0 @@ } else if (listenerCount === 0) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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