flemo 1.5.0 → 1.5.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +8 -10
package/dist/index.mjs CHANGED
@@ -1058,7 +1058,7 @@ function Se({
1058
1058
  layoutId: null
1059
1059
  },
1060
1060
  "",
1061
- window.location.pathname
1061
+ window.location.href
1062
1062
  );
1063
1063
  }, [t]), Y(() => {
1064
1064
  s.forEach((u) => et.set(u.name, u));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flemo",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "A modern React router library with built-in motion animations and smooth transitions",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -33,14 +33,6 @@
33
33
  },
34
34
  "homepage": "https://flemo-dev.lovable.app",
35
35
  "license": "MIT",
36
- "scripts": {
37
- "build": "vite build",
38
- "watch": "vite build --watch",
39
- "prettier": "prettier --write --config ./.prettierrc \"**/*.{js,mjs,ts,jsx,tsx,mts,json}\"",
40
- "convention": "pnpm prettier && eslint --fix \"**/*.{js,mjs,ts,jsx,tsx,mts,html}\"",
41
- "prepare": "husky",
42
- "prepublishOnly": "pnpm build"
43
- },
44
36
  "dependencies": {
45
37
  "path-to-regexp": "^8.2.0",
46
38
  "zustand": "^5.0.11"
@@ -75,5 +67,11 @@
75
67
  "lint-staged": {
76
68
  "*.{js,mjs,ts,jsx,tsx,mts,json}": "prettier --write",
77
69
  "*.{js,mjs,ts,jsx,tsx,mts,html}": "eslint --fix"
70
+ },
71
+ "scripts": {
72
+ "build": "vite build",
73
+ "watch": "vite build --watch",
74
+ "prettier": "prettier --write --config ./.prettierrc \"**/*.{js,mjs,ts,jsx,tsx,mts,json}\"",
75
+ "convention": "pnpm prettier && eslint --fix \"**/*.{js,mjs,ts,jsx,tsx,mts,html}\""
78
76
  }
79
- }
77
+ }