history-extra
Advanced tools
Comparing version 4.0.2 to 4.0.4
### 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) |
/* | ||
* 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90119