@nano-router/history
Advanced tools
Comparing version 2.0.1 to 2.3.0
{ | ||
"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", () => { |
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
34725
Yes