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

@nano-router/history

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nano-router/history - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

6

package.json
{
"type": "module",
"name": "@nano-router/history",
"version": "3.0.0",
"version": "3.1.0",
"description": "Manage session history with JavaScript",

@@ -27,3 +27,3 @@ "main": "dist/bundle.cjs",

"jest": "^29.7.0",
"rollup": "^2.27.1",
"rollup": "^4.24.4",
"ts-jest": "^29.1.2"

@@ -37,3 +37,3 @@ },

},
"gitHead": "e5cd2dcc3c0669a2dd851294478661f3c2f7f00c"
"gitHead": "348940b4df97310949910fa55f9ec059ceb97e5e"
}

@@ -94,3 +94,3 @@ import {

`history library (instead of using window.history.pushState directly) ` +
`to avoid this situation.`
`to avoid this situation.`,
);

@@ -145,3 +145,3 @@ }

nextLocation,
index + 1
index + 1,
);

@@ -148,0 +148,0 @@

@@ -220,3 +220,3 @@ import { TransitionArgs, TransitionHandler, Unsubscriber } from "./history";

history.pushLocation(
"https://example.com/posts/edit/123?hello=you#anchor"
"https://example.com/posts/edit/123?hello=you#anchor",
);

@@ -241,3 +241,3 @@

"https://example.com/posts/edit/123?hello=you#anchor",
"_blank"
"_blank",
);

@@ -273,3 +273,3 @@ });

history.pushLocation(
"https://example.com/posts/edit/123?hello=you#anchor"
"https://example.com/posts/edit/123?hello=you#anchor",
);

@@ -294,3 +294,3 @@

"https://example.com/posts/edit/123?hello=you#anchor",
"_blank"
"_blank",
);

@@ -310,3 +310,3 @@

history.replaceLocation(
"https://example.com/posts/edit/123?hello=you#anchor"
"https://example.com/posts/edit/123?hello=you#anchor",
);

@@ -332,3 +332,3 @@

history.pushLocation(
"https://example.com/posts/edit/123?hello=you#anchor"
"https://example.com/posts/edit/123?hello=you#anchor",
);

@@ -335,0 +335,0 @@

@@ -47,3 +47,3 @@ import {

0,
entries.length - 1
entries.length - 1,
);

@@ -50,0 +50,0 @@

@@ -89,3 +89,3 @@ import {

to: string | RouterLocation,
state: any = null
state: any = null,
): RouterLocation {

@@ -103,3 +103,3 @@ return {

location: RouterLocation,
retry: RetryFunction
retry: RetryFunction,
) {

@@ -106,0 +106,0 @@ return (

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