navgo 3.0.7 → 3.0.8
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/package.json +2 -2
- package/readme.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "navgo",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/mustafa0x/navgo.git"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "perl -0777 -i -pe 's/console.debug\\(...args\\)/{}/g' index.js",
|
|
19
|
-
"prepublishOnly": "pnpm
|
|
19
|
+
"prepublishOnly": "pnpm run build",
|
|
20
20
|
"test": "vitest run index.test.js",
|
|
21
21
|
"test:e2e": "playwright test",
|
|
22
22
|
"start:testsite": "pnpm vite dev test/site --port 5714",
|
package/readme.md
CHANGED
|
@@ -111,7 +111,7 @@ Notes:
|
|
|
111
111
|
- `preload_on_hover`: `boolean` (default `true`)
|
|
112
112
|
- When `false`, disables hover/touch preloading.
|
|
113
113
|
- `attach_to_window`: `boolean` (default `true`)
|
|
114
|
-
- When `true`, `init()` attaches the instance to `window.navgo` for convenience
|
|
114
|
+
- When `true`, `init()` attaches the instance to `window.navgo` for convenience.
|
|
115
115
|
|
|
116
116
|
Important: Navgo only processes routes that match your `base` path.
|
|
117
117
|
|