@symbo.ls/router 2.12.100 → 2.12.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -3
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import utils from '@domql/utils'
|
|
4
|
+
const { setCookie, merge } = utils
|
|
5
5
|
|
|
6
6
|
export const getLocationPath = (index = 0, route = window.location.pathname) => {
|
|
7
7
|
const routeArray = route.split('/')
|
|
@@ -19,7 +19,7 @@ export let lastPathname
|
|
|
19
19
|
export let lastLevel = 0
|
|
20
20
|
|
|
21
21
|
const defaultOptions = {
|
|
22
|
-
window,
|
|
22
|
+
window: globalThis,
|
|
23
23
|
level: lastLevel,
|
|
24
24
|
initialRender: false,
|
|
25
25
|
pushState: true,
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/router",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.103",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"vpatch": "npm version patch && npm publish --access public"
|
|
8
9
|
},
|
|
@@ -11,6 +12,6 @@
|
|
|
11
12
|
"@domql/utils": "latest",
|
|
12
13
|
"@symbo.ls/auth-redirect": "latest"
|
|
13
14
|
},
|
|
14
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "3f66a78d3d2bec315697ed20ec09b4045b3f78ce",
|
|
15
16
|
"source": "index.js"
|
|
16
17
|
}
|