@nano-router/history
Advanced tools
Comparing version 3.0.0 to 3.1.0
{ | ||
"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
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
108944
2050