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

@nano-router/history

Package Overview
Dependencies
Maintainers
1
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 2.0.1 to 2.3.0

dist/bundle.cjs

11

package.json
{
"type": "module",
"name": "@nano-router/history",
"version": "2.0.1",
"version": "2.3.0",
"description": "Manage session history with JavaScript",
"main": "dist/bundle.cjs.js",
"main": "dist/bundle.cjs",
"module": "src/index.js",
"exports": {
"import": "./src/index.js",
"require": "./dist/bundle.cjs"
},
"scripts": {

@@ -28,3 +33,3 @@ "test": "mocha src",

},
"gitHead": "d7944f2f90d2bfcdb0d13dc0649cb4f0c880a498"
"gitHead": "8327c5f069895ba850f1db62f7f0d73e968caa08"
}
export default {
input: "src/index.js",
output: {
file: "dist/bundle.cjs.js",
file: "dist/bundle.cjs",
format: "cjs",
},
};

@@ -8,3 +8,3 @@ import {

isDev,
} from "./utils";
} from "./utils.js";

@@ -11,0 +11,0 @@ const BeforeUnloadEventType = "beforeunload";

@@ -1,2 +0,2 @@

export { createMemoryHistory } from "./memory";
export { createBrowserHistory } from "./browser";
export { createMemoryHistory } from "./memory.js";
export { createBrowserHistory } from "./browser.js";

@@ -8,3 +8,3 @@ import {

ensureRootRelative,
} from "./utils";
} from "./utils.js";

@@ -11,0 +11,0 @@ function clamp(n, lowerBound, upperBound) {

import unexpected from "unexpected";
import unexpectedSinon from "unexpected-sinon";
import sinon from "sinon";
import { createMemoryHistory } from "./memory";
import { createMemoryHistory } from "./memory.js";

@@ -6,0 +6,0 @@ const expect = unexpected.clone().use(unexpectedSinon);

import expect from "unexpected";
import { parseUrl } from "./utils";
import { parseUrl } from "./utils.js";

@@ -4,0 +4,0 @@ describe("parseUrl", () => {

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