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 - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

lib/utils.js

@@ -23,3 +23,3 @@ "use strict";

return to;
var hash = to.hash, pathname = to.pathname, _a = to.query, query = _a === void 0 ? {} : _a, search = to.search;
var hash = to.hash, pathname = to.pathname, _a = to.query, query = _a === void 0 ? {} : _a, _b = to.search, search = _b === void 0 ? '' : _b;
var searchObject = qs_1.default.parse(search.replace(/^\?/, ''));

@@ -55,3 +55,3 @@ var mergedSearch = __assign(__assign({}, searchObject), query);

if (hashRouter === void 0) { hashRouter = false; }
var pathname = location.pathname, search = location.search, hash = location.hash;
var pathname = location.pathname, _a = location.search, search = _a === void 0 ? '' : _a, _b = location.hash, hash = _b === void 0 ? '' : _b;
var state = window.history.state || {};

@@ -58,0 +58,0 @@ if (hashRouter) {

{
"name": "k-history",
"version": "0.0.2",
"version": "0.0.3",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "files": [

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