@budarin/use-route 1.3.0 → 1.3.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.
- package/CHANGELOG.md +13 -0
- package/LICENSE +21 -21
- package/README.md +631 -594
- package/demo/node_modules/.bin/browserslist +2 -2
- package/demo/node_modules/.bin/browserslist.CMD +12 -0
- package/demo/node_modules/.bin/browserslist.ps1 +41 -0
- package/demo/node_modules/.bin/tsc +2 -2
- package/demo/node_modules/.bin/tsc.CMD +12 -0
- package/demo/node_modules/.bin/tsc.ps1 +41 -0
- package/demo/node_modules/.bin/tsserver +2 -2
- package/demo/node_modules/.bin/tsserver.CMD +12 -0
- package/demo/node_modules/.bin/tsserver.ps1 +41 -0
- package/demo/node_modules/.bin/vite +2 -2
- package/demo/node_modules/.bin/vite.CMD +12 -0
- package/demo/node_modules/.bin/vite.ps1 +41 -0
- package/demo/node_modules/.vite/deps/@budarin_use-route.js +25 -71
- package/demo/node_modules/.vite/deps/@budarin_use-route.js.map +3 -3
- package/demo/node_modules/.vite/deps/_metadata.json +15 -15
- package/demo/node_modules/.vite/deps/{chunk-DBBEQ5LR.js → chunk-3SNVYWQ3.js} +3 -16
- package/demo/node_modules/.vite/deps/{chunk-DBBEQ5LR.js.map → chunk-3SNVYWQ3.js.map} +1 -1
- package/demo/node_modules/.vite/deps/{chunk-4BQM3FN6.js → chunk-OTZU4T7N.js} +3 -16
- package/demo/node_modules/.vite/deps/{chunk-4BQM3FN6.js.map → chunk-OTZU4T7N.js.map} +1 -1
- package/demo/node_modules/.vite/deps/react-dom.js +2 -2
- package/demo/node_modules/.vite/deps/react-dom_client.js +10 -34
- package/demo/node_modules/.vite/deps/react-dom_client.js.map +1 -1
- package/demo/node_modules/.vite/deps/react.js +1 -1
- package/demo/node_modules/.vite/deps/react_jsx-dev-runtime.js +2 -15
- package/demo/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +1 -1
- package/demo/node_modules/.vite/deps/react_jsx-runtime.js +2 -15
- package/demo/node_modules/.vite/deps/react_jsx-runtime.js.map +1 -1
- package/demo/package.json +9 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +2 -1
- package/demo/dist/assets/index-CehTkyXl.css +0 -1
- package/demo/dist/assets/index-wDy-y7oj.js +0 -49
- package/demo/dist/index.html +0 -13
- package/demo/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/
|
|
13
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/browserslist@4.28.1/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/
|
|
15
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/browserslist@4.28.1/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" "$@"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@SETLOCAL
|
|
2
|
+
@IF NOT DEFINED NODE_PATH (
|
|
3
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\browserslist@4.28.1\node_modules\browserslist\node_modules;D:\Projects\use-route\node_modules\.pnpm\browserslist@4.28.1\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
4
|
+
) ELSE (
|
|
5
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\browserslist@4.28.1\node_modules\browserslist\node_modules;D:\Projects\use-route\node_modules\.pnpm\browserslist@4.28.1\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
+
)
|
|
7
|
+
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
+
"%~dp0\node.exe" "%~dp0\..\..\..\node_modules\.pnpm\browserslist@4.28.1\node_modules\browserslist\cli.js" %*
|
|
9
|
+
) ELSE (
|
|
10
|
+
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
+
node "%~dp0\..\..\..\node_modules\.pnpm\browserslist@4.28.1\node_modules\browserslist\cli.js" %*
|
|
12
|
+
)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env pwsh
|
|
2
|
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
+
|
|
4
|
+
$exe=""
|
|
5
|
+
$pathsep=":"
|
|
6
|
+
$env_node_path=$env:NODE_PATH
|
|
7
|
+
$new_node_path="D:\Projects\use-route\node_modules\.pnpm\browserslist@4.28.1\node_modules\browserslist\node_modules;D:\Projects\use-route\node_modules\.pnpm\browserslist@4.28.1\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
8
|
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
+
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
+
# are installed in the same directory
|
|
11
|
+
$exe=".exe"
|
|
12
|
+
$pathsep=";"
|
|
13
|
+
} else {
|
|
14
|
+
$new_node_path="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/browserslist@4.28.1/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
15
|
+
}
|
|
16
|
+
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
+
$env:NODE_PATH=$new_node_path
|
|
18
|
+
} else {
|
|
19
|
+
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
$ret=0
|
|
23
|
+
if (Test-Path "$basedir/node$exe") {
|
|
24
|
+
# Support pipeline input
|
|
25
|
+
if ($MyInvocation.ExpectingInput) {
|
|
26
|
+
$input | & "$basedir/node$exe" "$basedir/../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" $args
|
|
27
|
+
} else {
|
|
28
|
+
& "$basedir/node$exe" "$basedir/../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" $args
|
|
29
|
+
}
|
|
30
|
+
$ret=$LASTEXITCODE
|
|
31
|
+
} else {
|
|
32
|
+
# Support pipeline input
|
|
33
|
+
if ($MyInvocation.ExpectingInput) {
|
|
34
|
+
$input | & "node$exe" "$basedir/../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" $args
|
|
35
|
+
} else {
|
|
36
|
+
& "node$exe" "$basedir/../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" $args
|
|
37
|
+
}
|
|
38
|
+
$ret=$LASTEXITCODE
|
|
39
|
+
}
|
|
40
|
+
$env:NODE_PATH=$env_node_path
|
|
41
|
+
exit $ret
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/
|
|
13
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/
|
|
15
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@SETLOCAL
|
|
2
|
+
@IF NOT DEFINED NODE_PATH (
|
|
3
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
4
|
+
) ELSE (
|
|
5
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
+
)
|
|
7
|
+
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
+
"%~dp0\node.exe" "%~dp0\..\typescript\bin\tsc" %*
|
|
9
|
+
) ELSE (
|
|
10
|
+
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
+
node "%~dp0\..\typescript\bin\tsc" %*
|
|
12
|
+
)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env pwsh
|
|
2
|
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
+
|
|
4
|
+
$exe=""
|
|
5
|
+
$pathsep=":"
|
|
6
|
+
$env_node_path=$env:NODE_PATH
|
|
7
|
+
$new_node_path="D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
8
|
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
+
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
+
# are installed in the same directory
|
|
11
|
+
$exe=".exe"
|
|
12
|
+
$pathsep=";"
|
|
13
|
+
} else {
|
|
14
|
+
$new_node_path="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
15
|
+
}
|
|
16
|
+
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
+
$env:NODE_PATH=$new_node_path
|
|
18
|
+
} else {
|
|
19
|
+
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
$ret=0
|
|
23
|
+
if (Test-Path "$basedir/node$exe") {
|
|
24
|
+
# Support pipeline input
|
|
25
|
+
if ($MyInvocation.ExpectingInput) {
|
|
26
|
+
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
|
|
27
|
+
} else {
|
|
28
|
+
& "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args
|
|
29
|
+
}
|
|
30
|
+
$ret=$LASTEXITCODE
|
|
31
|
+
} else {
|
|
32
|
+
# Support pipeline input
|
|
33
|
+
if ($MyInvocation.ExpectingInput) {
|
|
34
|
+
$input | & "node$exe" "$basedir/../typescript/bin/tsc" $args
|
|
35
|
+
} else {
|
|
36
|
+
& "node$exe" "$basedir/../typescript/bin/tsc" $args
|
|
37
|
+
}
|
|
38
|
+
$ret=$LASTEXITCODE
|
|
39
|
+
}
|
|
40
|
+
$env:NODE_PATH=$env_node_path
|
|
41
|
+
exit $ret
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/
|
|
13
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/
|
|
15
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@SETLOCAL
|
|
2
|
+
@IF NOT DEFINED NODE_PATH (
|
|
3
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
4
|
+
) ELSE (
|
|
5
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
+
)
|
|
7
|
+
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
+
"%~dp0\node.exe" "%~dp0\..\typescript\bin\tsserver" %*
|
|
9
|
+
) ELSE (
|
|
10
|
+
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
+
node "%~dp0\..\typescript\bin\tsserver" %*
|
|
12
|
+
)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env pwsh
|
|
2
|
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
+
|
|
4
|
+
$exe=""
|
|
5
|
+
$pathsep=":"
|
|
6
|
+
$env_node_path=$env:NODE_PATH
|
|
7
|
+
$new_node_path="D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\Projects\use-route\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
8
|
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
+
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
+
# are installed in the same directory
|
|
11
|
+
$exe=".exe"
|
|
12
|
+
$pathsep=";"
|
|
13
|
+
} else {
|
|
14
|
+
$new_node_path="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
15
|
+
}
|
|
16
|
+
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
+
$env:NODE_PATH=$new_node_path
|
|
18
|
+
} else {
|
|
19
|
+
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
$ret=0
|
|
23
|
+
if (Test-Path "$basedir/node$exe") {
|
|
24
|
+
# Support pipeline input
|
|
25
|
+
if ($MyInvocation.ExpectingInput) {
|
|
26
|
+
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args
|
|
27
|
+
} else {
|
|
28
|
+
& "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args
|
|
29
|
+
}
|
|
30
|
+
$ret=$LASTEXITCODE
|
|
31
|
+
} else {
|
|
32
|
+
# Support pipeline input
|
|
33
|
+
if ($MyInvocation.ExpectingInput) {
|
|
34
|
+
$input | & "node$exe" "$basedir/../typescript/bin/tsserver" $args
|
|
35
|
+
} else {
|
|
36
|
+
& "node$exe" "$basedir/../typescript/bin/tsserver" $args
|
|
37
|
+
}
|
|
38
|
+
$ret=$LASTEXITCODE
|
|
39
|
+
}
|
|
40
|
+
$env:NODE_PATH=$env_node_path
|
|
41
|
+
exit $ret
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/
|
|
13
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules/vite/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules/vite/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/
|
|
15
|
+
export NODE_PATH="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules/vite/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules/vite/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@SETLOCAL
|
|
2
|
+
@IF NOT DEFINED NODE_PATH (
|
|
3
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules\vite\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules\vite\node_modules;D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
4
|
+
) ELSE (
|
|
5
|
+
@SET "NODE_PATH=D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules\vite\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules\vite\node_modules;D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
|
6
|
+
)
|
|
7
|
+
@IF EXIST "%~dp0\node.exe" (
|
|
8
|
+
"%~dp0\node.exe" "%~dp0\..\vite\bin\vite.js" %*
|
|
9
|
+
) ELSE (
|
|
10
|
+
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
11
|
+
node "%~dp0\..\vite\bin\vite.js" %*
|
|
12
|
+
)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env pwsh
|
|
2
|
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
+
|
|
4
|
+
$exe=""
|
|
5
|
+
$pathsep=":"
|
|
6
|
+
$env_node_path=$env:NODE_PATH
|
|
7
|
+
$new_node_path="D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules\vite\bin\node_modules;D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules\vite\node_modules;D:\Projects\use-route\node_modules\.pnpm\vite@7.3.1\node_modules;D:\Projects\use-route\node_modules\.pnpm\node_modules"
|
|
8
|
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
9
|
+
# Fix case when both the Windows and Linux builds of Node
|
|
10
|
+
# are installed in the same directory
|
|
11
|
+
$exe=".exe"
|
|
12
|
+
$pathsep=";"
|
|
13
|
+
} else {
|
|
14
|
+
$new_node_path="/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules/vite/bin/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules/vite/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/vite@7.3.1/node_modules:/proc/cygdrive/d/Projects/use-route/node_modules/.pnpm/node_modules"
|
|
15
|
+
}
|
|
16
|
+
if ([string]::IsNullOrEmpty($env_node_path)) {
|
|
17
|
+
$env:NODE_PATH=$new_node_path
|
|
18
|
+
} else {
|
|
19
|
+
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
$ret=0
|
|
23
|
+
if (Test-Path "$basedir/node$exe") {
|
|
24
|
+
# Support pipeline input
|
|
25
|
+
if ($MyInvocation.ExpectingInput) {
|
|
26
|
+
$input | & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
27
|
+
} else {
|
|
28
|
+
& "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
29
|
+
}
|
|
30
|
+
$ret=$LASTEXITCODE
|
|
31
|
+
} else {
|
|
32
|
+
# Support pipeline input
|
|
33
|
+
if ($MyInvocation.ExpectingInput) {
|
|
34
|
+
$input | & "node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
35
|
+
} else {
|
|
36
|
+
& "node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
37
|
+
}
|
|
38
|
+
$ret=$LASTEXITCODE
|
|
39
|
+
}
|
|
40
|
+
$env:NODE_PATH=$env_node_path
|
|
41
|
+
exit $ret
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__toESM,
|
|
3
3
|
require_react
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3SNVYWQ3.js";
|
|
5
5
|
|
|
6
|
-
// ../node_modules/.pnpm/@budarin+use-route@1.
|
|
6
|
+
// ../node_modules/.pnpm/@budarin+use-route@1.3.1/node_modules/@budarin/use-route/dist/types.js
|
|
7
7
|
var routerConfig = {
|
|
8
8
|
urlCacheLimit: 50
|
|
9
9
|
};
|
|
@@ -17,7 +17,7 @@ function getLogger() {
|
|
|
17
17
|
return routerConfig.logger ?? console;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
// ../node_modules/.pnpm/@budarin+use-route@1.
|
|
20
|
+
// ../node_modules/.pnpm/@budarin+use-route@1.3.1/node_modules/@budarin/use-route/dist/index.js
|
|
21
21
|
var import_react = __toESM(require_react());
|
|
22
22
|
var isBrowser = typeof window !== "undefined";
|
|
23
23
|
function isValidUrl(url) {
|
|
@@ -94,13 +94,12 @@ function getNavigation() {
|
|
|
94
94
|
return typeof window !== "undefined" && "navigation" in window ? window.navigation : void 0;
|
|
95
95
|
}
|
|
96
96
|
function computeNavigationSnapshot(nav) {
|
|
97
|
-
var _a, _b;
|
|
98
97
|
if (!nav)
|
|
99
98
|
return DEFAULT_SNAPSHOT;
|
|
100
|
-
const urlStr =
|
|
99
|
+
const urlStr = nav.currentEntry?.url ?? (isBrowser ? window.location.href : "/");
|
|
101
100
|
const parsed = getCachedParsedUrl(urlStr);
|
|
102
101
|
return {
|
|
103
|
-
currentKey:
|
|
102
|
+
currentKey: nav.currentEntry?.key ?? "",
|
|
104
103
|
canGoBackFlag: !!nav.canGoBack,
|
|
105
104
|
canGoForwardFlag: !!nav.canGoForward,
|
|
106
105
|
entriesKeys: nav.entries().map((e) => e.key) ?? [],
|
|
@@ -112,36 +111,37 @@ function computeNavigationSnapshot(nav) {
|
|
|
112
111
|
var sharedSnapshot = null;
|
|
113
112
|
var storeCallbacks = /* @__PURE__ */ new Set();
|
|
114
113
|
var unsubscribeNavigation = null;
|
|
115
|
-
var unsubscribePopstate = null;
|
|
116
|
-
function invalidateSnapshotAndNotify() {
|
|
117
|
-
sharedSnapshot = null;
|
|
118
|
-
noNavSnapshot = null;
|
|
119
|
-
noNavSnapshotUrl = null;
|
|
120
|
-
storeCallbacks.forEach((cb) => cb());
|
|
121
|
-
}
|
|
122
114
|
function subscribeToNavigation(callback) {
|
|
123
115
|
storeCallbacks.add(callback);
|
|
124
116
|
if (storeCallbacks.size === 1) {
|
|
125
117
|
const nav = getNavigation();
|
|
126
118
|
if (nav) {
|
|
119
|
+
const interceptListener = (event) => {
|
|
120
|
+
const navEvent = event;
|
|
121
|
+
if (!navEvent.canIntercept || !isBrowser)
|
|
122
|
+
return;
|
|
123
|
+
try {
|
|
124
|
+
const destUrl = new URL(navEvent.destination.url);
|
|
125
|
+
if (destUrl.origin !== window.location.origin)
|
|
126
|
+
return;
|
|
127
|
+
navEvent.intercept({ handler() {
|
|
128
|
+
} });
|
|
129
|
+
} catch {
|
|
130
|
+
}
|
|
131
|
+
};
|
|
127
132
|
const listener = () => {
|
|
128
133
|
sharedSnapshot = computeNavigationSnapshot(nav);
|
|
129
134
|
storeCallbacks.forEach((cb) => cb());
|
|
130
135
|
};
|
|
136
|
+
nav.addEventListener("navigate", interceptListener);
|
|
131
137
|
nav.addEventListener("navigate", listener);
|
|
132
138
|
nav.addEventListener("currententrychange", listener);
|
|
133
139
|
unsubscribeNavigation = () => {
|
|
140
|
+
nav.removeEventListener("navigate", interceptListener);
|
|
134
141
|
nav.removeEventListener("navigate", listener);
|
|
135
142
|
nav.removeEventListener("currententrychange", listener);
|
|
136
143
|
};
|
|
137
144
|
}
|
|
138
|
-
if (isBrowser && typeof window.addEventListener === "function") {
|
|
139
|
-
const popListener = () => invalidateSnapshotAndNotify();
|
|
140
|
-
window.addEventListener("popstate", popListener);
|
|
141
|
-
unsubscribePopstate = () => {
|
|
142
|
-
window.removeEventListener("popstate", popListener);
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
145
|
}
|
|
146
146
|
return () => {
|
|
147
147
|
storeCallbacks.delete(callback);
|
|
@@ -150,10 +150,6 @@ function subscribeToNavigation(callback) {
|
|
|
150
150
|
unsubscribeNavigation();
|
|
151
151
|
unsubscribeNavigation = null;
|
|
152
152
|
}
|
|
153
|
-
if (unsubscribePopstate) {
|
|
154
|
-
unsubscribePopstate();
|
|
155
|
-
unsubscribePopstate = null;
|
|
156
|
-
}
|
|
157
153
|
sharedSnapshot = null;
|
|
158
154
|
noNavSnapshot = null;
|
|
159
155
|
noNavSnapshotUrl = null;
|
|
@@ -165,29 +161,12 @@ var noNavSnapshotUrl = null;
|
|
|
165
161
|
function getNavigationSnapshot() {
|
|
166
162
|
if (sharedSnapshot !== null)
|
|
167
163
|
return sharedSnapshot;
|
|
168
|
-
if (isBrowser) {
|
|
169
|
-
const urlStr2 = window.location.href;
|
|
170
|
-
const parsed2 = getCachedParsedUrl(urlStr2);
|
|
171
|
-
const nav2 = getNavigation();
|
|
172
|
-
sharedSnapshot = nav2 ? {
|
|
173
|
-
...computeNavigationSnapshot(nav2),
|
|
174
|
-
urlStr: urlStr2,
|
|
175
|
-
pathname: parsed2.pathname,
|
|
176
|
-
searchParams: parsed2.searchParams
|
|
177
|
-
} : {
|
|
178
|
-
...DEFAULT_SNAPSHOT,
|
|
179
|
-
urlStr: urlStr2,
|
|
180
|
-
pathname: parsed2.pathname,
|
|
181
|
-
searchParams: parsed2.searchParams
|
|
182
|
-
};
|
|
183
|
-
return sharedSnapshot;
|
|
184
|
-
}
|
|
185
164
|
const nav = getNavigation();
|
|
186
165
|
if (nav) {
|
|
187
166
|
sharedSnapshot = computeNavigationSnapshot(nav);
|
|
188
167
|
return sharedSnapshot;
|
|
189
168
|
}
|
|
190
|
-
const urlStr = getRouterConfig().initialLocation ?? "/";
|
|
169
|
+
const urlStr = isBrowser ? window.location.href : getRouterConfig().initialLocation ?? "/";
|
|
191
170
|
if (noNavSnapshot !== null && noNavSnapshotUrl === urlStr)
|
|
192
171
|
return noNavSnapshot;
|
|
193
172
|
const parsed = getCachedParsedUrl(urlStr);
|
|
@@ -223,7 +202,7 @@ function getCompiledPattern(pattern) {
|
|
|
223
202
|
}
|
|
224
203
|
function parseParamsFromCompiled(compiled, pathname) {
|
|
225
204
|
const match = compiled.exec({ pathname });
|
|
226
|
-
const groups =
|
|
205
|
+
const groups = match?.pathname.groups ?? {};
|
|
227
206
|
return Object.fromEntries(Object.entries(groups).filter(([key]) => !/^\d+$/.test(key)));
|
|
228
207
|
}
|
|
229
208
|
function clearRouterCaches() {
|
|
@@ -247,7 +226,7 @@ function useRoute(patternOrOptions, optionsParam) {
|
|
|
247
226
|
const navigation = getNavigation();
|
|
248
227
|
const rawState = (0, import_react.useSyncExternalStore)(subscribeToNavigation, getNavigationSnapshot, () => DEFAULT_SNAPSHOT);
|
|
249
228
|
const keyToIndexMap = getKeyToIndexMap(rawState.entriesKeys);
|
|
250
|
-
const effectiveBase = combineBases(getRouterConfig().base, options
|
|
229
|
+
const effectiveBase = combineBases(getRouterConfig().base, options?.section);
|
|
251
230
|
const routerState = (0, import_react.useMemo)(() => {
|
|
252
231
|
const { urlStr, pathname: rawPathname, searchParams } = rawState;
|
|
253
232
|
const pathname = pathnameWithoutBase(rawPathname, effectiveBase);
|
|
@@ -301,25 +280,6 @@ function useRoute(patternOrOptions, optionsParam) {
|
|
|
301
280
|
getLogger().warn("[useRoute] Invalid URL rejected:", targetUrl);
|
|
302
281
|
return;
|
|
303
282
|
}
|
|
304
|
-
if (isBrowser && typeof window.history !== "undefined") {
|
|
305
|
-
const origin = window.location.origin;
|
|
306
|
-
const fullUrl = targetUrl.startsWith("http://") || targetUrl.startsWith("https://") ? targetUrl : origin + (targetUrl.startsWith("/") ? targetUrl : "/" + targetUrl);
|
|
307
|
-
try {
|
|
308
|
-
const urlParsed = new URL(fullUrl);
|
|
309
|
-
if (urlParsed.origin === origin) {
|
|
310
|
-
const useReplace = navOptions.history === "replace" || navOptions.history !== "push" && getRouterConfig().defaultHistory === "replace";
|
|
311
|
-
const state = navOptions.state ?? null;
|
|
312
|
-
if (useReplace) {
|
|
313
|
-
window.history.replaceState(state, "", fullUrl);
|
|
314
|
-
} else {
|
|
315
|
-
window.history.pushState(state, "", fullUrl);
|
|
316
|
-
}
|
|
317
|
-
invalidateSnapshotAndNotify();
|
|
318
|
-
return;
|
|
319
|
-
}
|
|
320
|
-
} catch {
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
283
|
if (!navigation) {
|
|
324
284
|
return;
|
|
325
285
|
}
|
|
@@ -336,22 +296,16 @@ function useRoute(patternOrOptions, optionsParam) {
|
|
|
336
296
|
}, [navigation, effectiveBase]);
|
|
337
297
|
const back = (0, import_react.useCallback)(() => {
|
|
338
298
|
try {
|
|
339
|
-
if (
|
|
340
|
-
window.history.back();
|
|
341
|
-
} else if (navigation) {
|
|
299
|
+
if (navigation)
|
|
342
300
|
navigation.back();
|
|
343
|
-
}
|
|
344
301
|
} catch (error) {
|
|
345
302
|
getLogger().error("[useRoute] Back navigation error:", error);
|
|
346
303
|
}
|
|
347
304
|
}, [navigation]);
|
|
348
305
|
const forward = (0, import_react.useCallback)(() => {
|
|
349
306
|
try {
|
|
350
|
-
if (
|
|
351
|
-
window.history.forward();
|
|
352
|
-
} else if (navigation) {
|
|
307
|
+
if (navigation)
|
|
353
308
|
navigation.forward();
|
|
354
|
-
}
|
|
355
309
|
} catch (error) {
|
|
356
310
|
getLogger().error("[useRoute] Forward navigation error:", error);
|
|
357
311
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../../node_modules/.pnpm/@budarin+use-route@1.
|
|
3
|
+
"sources": ["../../../../node_modules/.pnpm/@budarin+use-route@1.3.1/node_modules/@budarin/use-route/src/types.ts", "../../../../node_modules/.pnpm/@budarin+use-route@1.3.1/node_modules/@budarin/use-route/src/index.ts"],
|
|
4
4
|
"sourcesContent": [null, null],
|
|
5
|
-
"mappings": ";;;;;;AAoHA,IAAI,eAA6B;EAC7B,eAAe;;AAOb,SAAU,gBAAgB,QAA6B;AACzD,iBAAe,EAAE,GAAG,cAAc,GAAG,OAAM;AAC/C;AAKM,SAAU,kBAAe;AAC3B,SAAO;AACX;AAKM,SAAU,YAAS;AACrB,SAAO,aAAa,UAAU;AAClC;;;AC3HA,mBAA2D;AAG3D,IAAM,YAAY,OAAO,WAAW;AAGpC,SAAS,WAAW,KAAc;AAC9B,MAAI,CAAC,OAAO,OAAO,QAAQ;AAAU,WAAO;AAG5C,MAAI,IAAI,WAAW,GAAG,KAAK,CAAC,IAAI,SAAS,GAAG;AAAG,WAAO;AAGtD,MAAI;AACA,UAAM,SAAS,IAAI,IAAI,GAAG;AAC1B,WAAO,OAAO,aAAa,WAAW,OAAO,aAAa;EAC9D,QAAQ;AACJ,WAAO;EACX;AACJ;AAG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;AAGpE,QAAM,cAAU,0BACZ,CAAC,IAAkBA,aACf,SAAS,IAAI,EAAE,GAAGA,UAAS,SAAS,UAAS,CAAE,GACnD,CAAC,QAAQ,CAAC;AAGd,aAAO,sBACH,OACK;IACG;IACA;IACA;IACA;IACA;IACA;IACA;IACA,UAAU,YAAY;IACtB,UAAU,YAAY;IACtB,cAAc,YAAY;IAC1B,QAAQ,YAAY;IACpB,cAAc,YAAY;IAC1B,SAAS,YAAY;MAE7B;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;GACf;AAET;",
|
|
6
|
+
"names": ["options"]
|
|
7
7
|
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
3
|
-
"configHash": "
|
|
4
|
-
"lockfileHash": "
|
|
5
|
-
"browserHash": "
|
|
2
|
+
"hash": "989f1f3c",
|
|
3
|
+
"configHash": "5d40f1b5",
|
|
4
|
+
"lockfileHash": "7ecf082d",
|
|
5
|
+
"browserHash": "ae1c45cc",
|
|
6
6
|
"optimized": {
|
|
7
7
|
"react": {
|
|
8
8
|
"src": "../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js",
|
|
9
9
|
"file": "react.js",
|
|
10
|
-
"fileHash": "
|
|
10
|
+
"fileHash": "60b6761c",
|
|
11
11
|
"needsInterop": true
|
|
12
12
|
},
|
|
13
13
|
"react-dom": {
|
|
14
14
|
"src": "../../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/index.js",
|
|
15
15
|
"file": "react-dom.js",
|
|
16
|
-
"fileHash": "
|
|
16
|
+
"fileHash": "9f472ff4",
|
|
17
17
|
"needsInterop": true
|
|
18
18
|
},
|
|
19
19
|
"react/jsx-dev-runtime": {
|
|
20
20
|
"src": "../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-dev-runtime.js",
|
|
21
21
|
"file": "react_jsx-dev-runtime.js",
|
|
22
|
-
"fileHash": "
|
|
22
|
+
"fileHash": "1054fff0",
|
|
23
23
|
"needsInterop": true
|
|
24
24
|
},
|
|
25
25
|
"react/jsx-runtime": {
|
|
26
26
|
"src": "../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js",
|
|
27
27
|
"file": "react_jsx-runtime.js",
|
|
28
|
-
"fileHash": "
|
|
28
|
+
"fileHash": "cdeb44aa",
|
|
29
29
|
"needsInterop": true
|
|
30
30
|
},
|
|
31
31
|
"@budarin/use-route": {
|
|
32
|
-
"src": "../../../../node_modules/.pnpm/@budarin+use-route@1.
|
|
32
|
+
"src": "../../../../node_modules/.pnpm/@budarin+use-route@1.3.1/node_modules/@budarin/use-route/dist/index.js",
|
|
33
33
|
"file": "@budarin_use-route.js",
|
|
34
|
-
"fileHash": "
|
|
34
|
+
"fileHash": "49fe7abc",
|
|
35
35
|
"needsInterop": false
|
|
36
36
|
},
|
|
37
37
|
"react-dom/client": {
|
|
38
38
|
"src": "../../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js",
|
|
39
39
|
"file": "react-dom_client.js",
|
|
40
|
-
"fileHash": "
|
|
40
|
+
"fileHash": "ebe75f9f",
|
|
41
41
|
"needsInterop": true
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"chunks": {
|
|
45
|
-
"chunk-
|
|
46
|
-
"file": "chunk-
|
|
45
|
+
"chunk-OTZU4T7N": {
|
|
46
|
+
"file": "chunk-OTZU4T7N.js"
|
|
47
47
|
},
|
|
48
|
-
"chunk-
|
|
49
|
-
"file": "chunk-
|
|
48
|
+
"chunk-3SNVYWQ3": {
|
|
49
|
+
"file": "chunk-3SNVYWQ3.js"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|