@nekr/navigo
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -219,3 +219,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
}, | ||
navigate: function navigate(path, absolute) { | ||
navigate: function navigate(path, absolute, useReplace) { | ||
var to; | ||
@@ -227,3 +227,3 @@ | ||
to = to.replace(/([^:])(\/{2,})/g, '$1/'); | ||
history[this._paused ? 'replaceState' : 'pushState']({}, '', to); | ||
history[useReplace || this._paused ? 'replaceState' : 'pushState']({}, '', to); | ||
this.resolve(); | ||
@@ -230,0 +230,0 @@ } else if (typeof window !== 'undefined') { |
{ | ||
"name": "@nekr/navigo", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "A simple vanilla JavaScript router with a fallback for older browsers", | ||
@@ -5,0 +5,0 @@ "main": "lib/navigo.js", |
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
111434