3850 changed files with 388 additions and 1295193 deletions
-
8吴光慧学习笔记/11.1/hello_vue3/.vscode/settings.json
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/baseline-browser-mapping
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/baseline-browser-mapping.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/baseline-browser-mapping.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/browserslist
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/browserslist.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/browserslist.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/esbuild
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/esbuild.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/esbuild.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/is-docker
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/is-docker.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/is-docker.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/is-inside-container
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/is-inside-container.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/is-inside-container.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/jsesc
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/jsesc.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/jsesc.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/json5
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/json5.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/json5.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/nanoid
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/nanoid.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/nanoid.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/node-which
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/node-which.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/node-which.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/npm-run-all
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/npm-run-all.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/npm-run-all.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/npm-run-all2
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/npm-run-all2.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/npm-run-all2.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/parser
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/parser.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/parser.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/pidtree
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/pidtree.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/pidtree.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/rollup
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/rollup.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/rollup.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/run-p
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/run-p.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/run-p.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/run-s
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/run-s.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/run-s.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/semver
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/semver.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/semver.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/tsc
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/tsc.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/tsc.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/tsserver
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/tsserver.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/tsserver.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/update-browserslist-db
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/update-browserslist-db.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/update-browserslist-db.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/vite
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/vite.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/vite.ps1
-
16吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/vue-tsc
-
17吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/vue-tsc.cmd
-
28吴光慧学习笔记/11.1/hello_vue3/node_modules/.bin/vue-tsc.ps1
-
2161吴光慧学习笔记/11.1/hello_vue3/node_modules/.package-lock.json
-
15吴光慧学习笔记/11.1/hello_vue3/node_modules/.vite/deps/_metadata.json
-
3吴光慧学习笔记/11.1/hello_vue3/node_modules/.vite/deps/package.json
-
12704吴光慧学习笔记/11.1/hello_vue3/node_modules/.vite/deps/vue.js
-
7吴光慧学习笔记/11.1/hello_vue3/node_modules/.vite/deps/vue.js.map
-
137吴光慧学习笔记/11.1/hello_vue3/node_modules/.vue-global-types/vue_3.5_0.d.ts
-
137吴光慧学习笔记/11.1/hello_vue3/node_modules/.vue-global-types/vue_99_0.d.ts
-
22吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/code-frame/LICENSE
-
19吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/code-frame/README.md
-
216吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/code-frame/lib/index.js
-
1吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/code-frame/lib/index.js.map
-
31吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/code-frame/package.json
-
22吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/LICENSE
-
19吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/README.md
-
2吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/corejs2-built-ins.js
-
2吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/corejs3-shipped-proposals.js
-
2106吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/corejs2-built-ins.json
-
5吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json
-
18吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/native-modules.json
-
35吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/overlapping-plugins.json
-
203吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/plugin-bugfixes.json
-
838吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/plugins.json
-
2吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/native-modules.js
-
2吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/overlapping-plugins.js
-
40吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/package.json
-
2吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/plugin-bugfixes.js
-
2吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/plugins.js
-
22吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/LICENSE
-
19吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/README.md
-
5吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/lib/config/cache-contexts.js
-
1吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/lib/config/cache-contexts.js.map
-
261吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/lib/config/caching.js
-
1吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/lib/config/caching.js.map
@ -1,8 +0,0 @@ |
|||
{ |
|||
"explorer.fileNesting.enabled": true, |
|||
"explorer.fileNesting.patterns": { |
|||
"tsconfig.json": "tsconfig.*.json, env.d.ts", |
|||
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*", |
|||
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig" |
|||
} |
|||
} |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../baseline-browser-mapping/dist/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../baseline-browser-mapping/dist/cli.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\baseline-browser-mapping\dist\cli.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../baseline-browser-mapping/dist/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../browserslist/cli.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../browserslist/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../browserslist/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../esbuild/bin/esbuild" "$@" |
|||
else |
|||
exec node "$basedir/../esbuild/bin/esbuild" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esbuild\bin\esbuild" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../esbuild/bin/esbuild" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../esbuild/bin/esbuild" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../is-docker/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../is-docker/cli.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\is-docker\cli.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../is-docker/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../is-docker/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../is-docker/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../is-docker/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../is-inside-container/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../is-inside-container/cli.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\is-inside-container\cli.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../is-inside-container/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../is-inside-container/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../is-inside-container/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../is-inside-container/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@" |
|||
else |
|||
exec node "$basedir/../jsesc/bin/jsesc" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../jsesc/bin/jsesc" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../jsesc/bin/jsesc" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../json5/lib/cli.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../json5/lib/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../json5/lib/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@" |
|||
else |
|||
exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../which/bin/which.js" "$@" |
|||
else |
|||
exec node "$basedir/../which/bin/which.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\which.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../which/bin/which.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../which/bin/which.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../which/bin/which.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../which/bin/which.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" "$@" |
|||
else |
|||
exec node "$basedir/../npm-run-all2/bin/npm-run-all/index.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all2\bin\npm-run-all\index.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" "$@" |
|||
else |
|||
exec node "$basedir/../npm-run-all2/bin/npm-run-all/index.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all2\bin\npm-run-all\index.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../npm-run-all2/bin/npm-run-all/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../@babel/parser/bin/babel-parser.js" "$@" |
|||
else |
|||
exec node "$basedir/../@babel/parser/bin/babel-parser.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@babel\parser\bin\babel-parser.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../@babel/parser/bin/babel-parser.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../pidtree/bin/pidtree.js" "$@" |
|||
else |
|||
exec node "$basedir/../pidtree/bin/pidtree.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\pidtree\bin\pidtree.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../pidtree/bin/pidtree.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../pidtree/bin/pidtree.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../pidtree/bin/pidtree.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../pidtree/bin/pidtree.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../rollup/dist/bin/rollup" "$@" |
|||
else |
|||
exec node "$basedir/../rollup/dist/bin/rollup" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rollup\dist\bin\rollup" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../rollup/dist/bin/rollup" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../rollup/dist/bin/rollup" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../npm-run-all2/bin/run-p/index.js" "$@" |
|||
else |
|||
exec node "$basedir/../npm-run-all2/bin/run-p/index.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all2\bin\run-p\index.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../npm-run-all2/bin/run-p/index.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../npm-run-all2/bin/run-p/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../npm-run-all2/bin/run-p/index.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../npm-run-all2/bin/run-p/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../npm-run-all2/bin/run-s/index.js" "$@" |
|||
else |
|||
exec node "$basedir/../npm-run-all2/bin/run-s/index.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all2\bin\run-s\index.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../npm-run-all2/bin/run-s/index.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../npm-run-all2/bin/run-s/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../npm-run-all2/bin/run-s/index.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../npm-run-all2/bin/run-s/index.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@" |
|||
else |
|||
exec node "$basedir/../semver/bin/semver.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../semver/bin/semver.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" |
|||
else |
|||
exec node "$basedir/../typescript/bin/tsc" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsc" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../typescript/bin/tsc" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../typescript/bin/tsc" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../typescript/bin/tsc" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" |
|||
else |
|||
exec node "$basedir/../typescript/bin/tsserver" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\typescript\bin\tsserver" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../typescript/bin/tsserver" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../typescript/bin/tsserver" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../typescript/bin/tsserver" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../update-browserslist-db/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../update-browserslist-db/cli.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\update-browserslist-db\cli.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../update-browserslist-db/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../update-browserslist-db/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../update-browserslist-db/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../update-browserslist-db/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@" |
|||
else |
|||
exec node "$basedir/../vite/bin/vite.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\vite\bin\vite.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../vite/bin/vite.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../vite/bin/vite.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -1,16 +0,0 @@ |
|||
#!/bin/sh |
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") |
|||
|
|||
case `uname` in |
|||
*CYGWIN*|*MINGW*|*MSYS*) |
|||
if command -v cygpath > /dev/null 2>&1; then |
|||
basedir=`cygpath -w "$basedir"` |
|||
fi |
|||
;; |
|||
esac |
|||
|
|||
if [ -x "$basedir/node" ]; then |
|||
exec "$basedir/node" "$basedir/../vue-tsc/bin/vue-tsc.js" "$@" |
|||
else |
|||
exec node "$basedir/../vue-tsc/bin/vue-tsc.js" "$@" |
|||
fi |
|||
@ -1,17 +0,0 @@ |
|||
@ECHO off |
|||
GOTO start |
|||
:find_dp0 |
|||
SET dp0=%~dp0 |
|||
EXIT /b |
|||
:start |
|||
SETLOCAL |
|||
CALL :find_dp0 |
|||
|
|||
IF EXIST "%dp0%\node.exe" ( |
|||
SET "_prog=%dp0%\node.exe" |
|||
) ELSE ( |
|||
SET "_prog=node" |
|||
SET PATHEXT=%PATHEXT:;.JS;=;% |
|||
) |
|||
|
|||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\vue-tsc\bin\vue-tsc.js" %* |
|||
@ -1,28 +0,0 @@ |
|||
#!/usr/bin/env pwsh |
|||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent |
|||
|
|||
$exe="" |
|||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { |
|||
# Fix case when both the Windows and Linux builds of Node |
|||
# are installed in the same directory |
|||
$exe=".exe" |
|||
} |
|||
$ret=0 |
|||
if (Test-Path "$basedir/node$exe") { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "$basedir/node$exe" "$basedir/../vue-tsc/bin/vue-tsc.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../vue-tsc/bin/vue-tsc.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../vue-tsc/bin/vue-tsc.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../vue-tsc/bin/vue-tsc.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
2161
吴光慧学习笔记/11.1/hello_vue3/node_modules/.package-lock.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,15 +0,0 @@ |
|||
{ |
|||
"hash": "46b0222b", |
|||
"configHash": "bd95fc18", |
|||
"lockfileHash": "fb215960", |
|||
"browserHash": "f337cd4d", |
|||
"optimized": { |
|||
"vue": { |
|||
"src": "../../vue/dist/vue.runtime.esm-bundler.js", |
|||
"file": "vue.js", |
|||
"fileHash": "70a0ad66", |
|||
"needsInterop": false |
|||
} |
|||
}, |
|||
"chunks": {} |
|||
} |
|||
@ -1,3 +0,0 @@ |
|||
{ |
|||
"type": "module" |
|||
} |
|||
12704
吴光慧学习笔记/11.1/hello_vue3/node_modules/.vite/deps/vue.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
7
吴光慧学习笔记/11.1/hello_vue3/node_modules/.vite/deps/vue.js.map
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,137 +0,0 @@ |
|||
// @ts-nocheck
|
|||
export {}; |
|||
|
|||
; declare global { |
|||
const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any }; |
|||
const __VLS_unref: typeof import('vue').unref; |
|||
const __VLS_placeholder: any; |
|||
|
|||
type __VLS_NativeElements = __VLS_SpreadMerge<SVGElementTagNameMap, HTMLElementTagNameMap>; |
|||
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements; |
|||
type __VLS_Element = import('vue/jsx-runtime').JSX.Element; |
|||
type __VLS_GlobalComponents = import('vue').GlobalComponents; |
|||
type __VLS_GlobalDirectives = import('vue').GlobalDirectives; |
|||
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false; |
|||
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A; |
|||
type __VLS_SpreadMerge<A, B> = Omit<A, keyof B> & B; |
|||
type __VLS_WithComponent<N0 extends string, LocalComponents, Self, N1 extends string, N2 extends string, N3 extends string> = |
|||
N1 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N1] } : |
|||
N2 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N2] } : |
|||
N3 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N3] } : |
|||
Self extends object ? { [K in N0]: Self } : |
|||
N1 extends keyof __VLS_GlobalComponents ? { [K in N0]: __VLS_GlobalComponents[N1] } : |
|||
N2 extends keyof __VLS_GlobalComponents ? { [K in N0]: __VLS_GlobalComponents[N2] } : |
|||
N3 extends keyof __VLS_GlobalComponents ? { [K in N0]: __VLS_GlobalComponents[N3] } : |
|||
{}; |
|||
type __VLS_FunctionalComponentCtx<T, K> = __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> |
|||
? K extends { __ctx?: infer Ctx } ? NonNullable<Ctx> : never : any |
|||
, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any |
|||
>; |
|||
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> |
|||
? K extends { __ctx?: { props?: infer P } } ? NonNullable<P> : never |
|||
: T extends (props: infer P, ...args: any) => any ? P |
|||
: {}; |
|||
type __VLS_FunctionalComponent<T> = (props: (T extends { $props: infer Props } ? Props : {}) & Record<string, unknown>, ctx?: any) => __VLS_Element & { |
|||
__ctx?: { |
|||
attrs?: any; |
|||
slots?: T extends { $slots: infer Slots } ? Slots : Record<string, any>; |
|||
emit?: T extends { $emit: infer Emit } ? Emit : {}; |
|||
props?: (T extends { $props: infer Props } ? Props : {}) & Record<string, unknown>; |
|||
expose?: (exposed: T) => void; |
|||
}; |
|||
}; |
|||
type __VLS_IsFunction<T, K> = K extends keyof T |
|||
? __VLS_IsAny<T[K]> extends false |
|||
? unknown extends T[K] |
|||
? false |
|||
: true |
|||
: false |
|||
: false; |
|||
type __VLS_NormalizeComponentEvent< |
|||
Props, |
|||
Emits, |
|||
onEvent extends keyof Props, |
|||
Event extends keyof Emits, |
|||
CamelizedEvent extends keyof Emits, |
|||
> = __VLS_IsFunction<Props, onEvent> extends true |
|||
? Props |
|||
: __VLS_IsFunction<Emits, Event> extends true |
|||
? { [K in onEvent]?: Emits[Event] } |
|||
: __VLS_IsFunction<Emits, CamelizedEvent> extends true |
|||
? { [K in onEvent]?: Emits[CamelizedEvent] } |
|||
: Props; |
|||
// fix https://github.com/vuejs/language-tools/issues/926
|
|||
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never; |
|||
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R |
|||
? U extends T |
|||
? never |
|||
: __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) |
|||
: never; |
|||
type __VLS_OverloadUnion<T> = Exclude< |
|||
__VLS_OverloadUnionInner<(() => never) & T>, |
|||
T extends () => never ? never : () => never |
|||
>; |
|||
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F |
|||
? F extends (event: infer E, ...args: infer A) => any |
|||
? { [K in E & string]: (...args: A) => void; } |
|||
: never |
|||
: never; |
|||
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal< |
|||
__VLS_UnionToIntersection< |
|||
__VLS_ConstructorOverloads<T> & { |
|||
[K in keyof T]: T[K] extends any[] ? { (...args: T[K]): void } : never |
|||
} |
|||
> |
|||
>; |
|||
type __VLS_EmitsToProps<T> = __VLS_PrettifyGlobal<{ |
|||
[K in string & keyof T as `on${Capitalize<K>}`]?: |
|||
(...args: T[K] extends (...args: infer P) => any ? P : T[K] extends null ? any[] : never) => any; |
|||
}>; |
|||
type __VLS_ResolveEmits< |
|||
Comp, |
|||
Emits, |
|||
TypeEmits = {}, |
|||
NormalizedEmits = __VLS_NormalizeEmits<Emits> extends infer E ? string extends keyof E ? {} : E : never, |
|||
> = __VLS_SpreadMerge<NormalizedEmits, TypeEmits>; |
|||
type __VLS_ResolveDirectives<T> = { |
|||
[K in keyof T & string as `v${Capitalize<K>}`]: T[K]; |
|||
}; |
|||
type __VLS_PrettifyGlobal<T> = { [K in keyof T as K]: T[K]; } & {}; |
|||
type __VLS_WithDefaultsGlobal<P, D> = { |
|||
[K in keyof P as K extends keyof D ? K : never]-?: P[K]; |
|||
} & { |
|||
[K in keyof P as K extends keyof D ? never : K]: P[K]; |
|||
}; |
|||
type __VLS_UseTemplateRef<T> = Readonly<import('vue').ShallowRef<T | null>>; |
|||
type __VLS_ProxyRefs<T> = import('vue').ShallowUnwrapRef<T>; |
|||
|
|||
function __VLS_getVForSourceType<T extends number | string | any[] | Iterable<any>>(source: T): [ |
|||
item: T extends number ? number |
|||
: T extends string ? string |
|||
: T extends any[] ? T[number] |
|||
: T extends Iterable<infer T1> ? T1 |
|||
: any, |
|||
index: number, |
|||
][]; |
|||
function __VLS_getVForSourceType<T>(source: T): [ |
|||
item: T[keyof T], |
|||
key: keyof T, |
|||
index: number, |
|||
][]; |
|||
function __VLS_getSlotParameters<S, D extends S>(slot: S, decl?: D): |
|||
D extends (...args: infer P) => any ? P : any[]; |
|||
function __VLS_asFunctionalDirective<T>(dir: T): T extends import('vue').ObjectDirective |
|||
? NonNullable<T['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']> |
|||
: T extends (...args: any) => any |
|||
? T |
|||
: (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void; |
|||
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): |
|||
T extends new (...args: any) => any ? __VLS_FunctionalComponent<K> |
|||
: T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> |
|||
: T extends (...args: any) => any ? T |
|||
: __VLS_FunctionalComponent<{}>; |
|||
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : []; |
|||
function __VLS_asFunctionalElement<T>(tag: T, endTag?: T): (attrs: T & Record<string, unknown>) => void; |
|||
function __VLS_asFunctionalSlot<S>(slot: S): S extends () => infer R ? (props: {}) => R : NonNullable<S>; |
|||
function __VLS_tryAsConstant<const T>(t: T): T; |
|||
} |
|||
@ -1,137 +0,0 @@ |
|||
// @ts-nocheck
|
|||
export {}; |
|||
|
|||
; declare global { |
|||
const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any }; |
|||
const __VLS_unref: typeof import('vue').unref; |
|||
const __VLS_placeholder: any; |
|||
|
|||
type __VLS_NativeElements = __VLS_SpreadMerge<SVGElementTagNameMap, HTMLElementTagNameMap>; |
|||
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements; |
|||
type __VLS_Element = import('vue/jsx-runtime').JSX.Element; |
|||
type __VLS_GlobalComponents = import('vue').GlobalComponents; |
|||
type __VLS_GlobalDirectives = import('vue').GlobalDirectives; |
|||
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false; |
|||
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A; |
|||
type __VLS_SpreadMerge<A, B> = Omit<A, keyof B> & B; |
|||
type __VLS_WithComponent<N0 extends string, LocalComponents, Self, N1 extends string, N2 extends string, N3 extends string> = |
|||
N1 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N1] } : |
|||
N2 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N2] } : |
|||
N3 extends keyof LocalComponents ? { [K in N0]: LocalComponents[N3] } : |
|||
Self extends object ? { [K in N0]: Self } : |
|||
N1 extends keyof __VLS_GlobalComponents ? { [K in N0]: __VLS_GlobalComponents[N1] } : |
|||
N2 extends keyof __VLS_GlobalComponents ? { [K in N0]: __VLS_GlobalComponents[N2] } : |
|||
N3 extends keyof __VLS_GlobalComponents ? { [K in N0]: __VLS_GlobalComponents[N3] } : |
|||
{}; |
|||
type __VLS_FunctionalComponentCtx<T, K> = __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> |
|||
? K extends { __ctx?: infer Ctx } ? NonNullable<Ctx> : never : any |
|||
, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any |
|||
>; |
|||
type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> |
|||
? K extends { __ctx?: { props?: infer P } } ? NonNullable<P> : never |
|||
: T extends (props: infer P, ...args: any) => any ? P |
|||
: {}; |
|||
type __VLS_FunctionalComponent<T> = (props: (T extends { $props: infer Props } ? Props : {}) & Record<string, unknown>, ctx?: any) => __VLS_Element & { |
|||
__ctx?: { |
|||
attrs?: any; |
|||
slots?: T extends { $slots: infer Slots } ? Slots : Record<string, any>; |
|||
emit?: T extends { $emit: infer Emit } ? Emit : {}; |
|||
props?: (T extends { $props: infer Props } ? Props : {}) & Record<string, unknown>; |
|||
expose?: (exposed: T) => void; |
|||
}; |
|||
}; |
|||
type __VLS_IsFunction<T, K> = K extends keyof T |
|||
? __VLS_IsAny<T[K]> extends false |
|||
? unknown extends T[K] |
|||
? false |
|||
: true |
|||
: false |
|||
: false; |
|||
type __VLS_NormalizeComponentEvent< |
|||
Props, |
|||
Emits, |
|||
onEvent extends keyof Props, |
|||
Event extends keyof Emits, |
|||
CamelizedEvent extends keyof Emits, |
|||
> = __VLS_IsFunction<Props, onEvent> extends true |
|||
? Props |
|||
: __VLS_IsFunction<Emits, Event> extends true |
|||
? { [K in onEvent]?: Emits[Event] } |
|||
: __VLS_IsFunction<Emits, CamelizedEvent> extends true |
|||
? { [K in onEvent]?: Emits[CamelizedEvent] } |
|||
: Props; |
|||
// fix https://github.com/vuejs/language-tools/issues/926
|
|||
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never; |
|||
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R |
|||
? U extends T |
|||
? never |
|||
: __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) |
|||
: never; |
|||
type __VLS_OverloadUnion<T> = Exclude< |
|||
__VLS_OverloadUnionInner<(() => never) & T>, |
|||
T extends () => never ? never : () => never |
|||
>; |
|||
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F |
|||
? F extends (event: infer E, ...args: infer A) => any |
|||
? { [K in E & string]: (...args: A) => void; } |
|||
: never |
|||
: never; |
|||
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal< |
|||
__VLS_UnionToIntersection< |
|||
__VLS_ConstructorOverloads<T> & { |
|||
[K in keyof T]: T[K] extends any[] ? { (...args: T[K]): void } : never |
|||
} |
|||
> |
|||
>; |
|||
type __VLS_EmitsToProps<T> = __VLS_PrettifyGlobal<{ |
|||
[K in string & keyof T as `on${Capitalize<K>}`]?: |
|||
(...args: T[K] extends (...args: infer P) => any ? P : T[K] extends null ? any[] : never) => any; |
|||
}>; |
|||
type __VLS_ResolveEmits< |
|||
Comp, |
|||
Emits, |
|||
TypeEmits = Comp extends { __typeEmits?: infer T } ? unknown extends T ? {} : import('vue').ShortEmitsToObject<T> : {}, |
|||
NormalizedEmits = __VLS_NormalizeEmits<Emits> extends infer E ? string extends keyof E ? {} : E : never, |
|||
> = __VLS_SpreadMerge<NormalizedEmits, TypeEmits>; |
|||
type __VLS_ResolveDirectives<T> = { |
|||
[K in keyof T & string as `v${Capitalize<K>}`]: T[K]; |
|||
}; |
|||
type __VLS_PrettifyGlobal<T> = { [K in keyof T as K]: T[K]; } & {}; |
|||
type __VLS_WithDefaultsGlobal<P, D> = { |
|||
[K in keyof P as K extends keyof D ? K : never]-?: P[K]; |
|||
} & { |
|||
[K in keyof P as K extends keyof D ? never : K]: P[K]; |
|||
}; |
|||
type __VLS_UseTemplateRef<T> = Readonly<import('vue').ShallowRef<T | null>>; |
|||
type __VLS_ProxyRefs<T> = import('vue').ShallowUnwrapRef<T>; |
|||
|
|||
function __VLS_getVForSourceType<T extends number | string | any[] | Iterable<any>>(source: T): [ |
|||
item: T extends number ? number |
|||
: T extends string ? string |
|||
: T extends any[] ? T[number] |
|||
: T extends Iterable<infer T1> ? T1 |
|||
: any, |
|||
index: number, |
|||
][]; |
|||
function __VLS_getVForSourceType<T>(source: T): [ |
|||
item: T[keyof T], |
|||
key: keyof T, |
|||
index: number, |
|||
][]; |
|||
function __VLS_getSlotParameters<S, D extends S>(slot: S, decl?: D): |
|||
D extends (...args: infer P) => any ? P : any[]; |
|||
function __VLS_asFunctionalDirective<T>(dir: T): T extends import('vue').ObjectDirective |
|||
? NonNullable<T['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']> |
|||
: T extends (...args: any) => any |
|||
? T |
|||
: (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void; |
|||
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): |
|||
T extends new (...args: any) => any ? __VLS_FunctionalComponent<K> |
|||
: T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> |
|||
: T extends (...args: any) => any ? T |
|||
: __VLS_FunctionalComponent<{}>; |
|||
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : []; |
|||
function __VLS_asFunctionalElement<T>(tag: T, endTag?: T): (attrs: T & Record<string, unknown>) => void; |
|||
function __VLS_asFunctionalSlot<S>(slot: S): S extends () => infer R ? (props: {}) => R : NonNullable<S>; |
|||
function __VLS_tryAsConstant<const T>(t: T): T; |
|||
} |
|||
@ -1,22 +0,0 @@ |
|||
MIT License |
|||
|
|||
Copyright (c) 2014-present Sebastian McKenzie and other contributors |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining |
|||
a copy of this software and associated documentation files (the |
|||
"Software"), to deal in the Software without restriction, including |
|||
without limitation the rights to use, copy, modify, merge, publish, |
|||
distribute, sublicense, and/or sell copies of the Software, and to |
|||
permit persons to whom the Software is furnished to do so, subject to |
|||
the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be |
|||
included in all copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|||
@ -1,19 +0,0 @@ |
|||
# @babel/code-frame |
|||
|
|||
> Generate errors that contain a code frame that point to source locations. |
|||
|
|||
See our website [@babel/code-frame](https://babeljs.io/docs/babel-code-frame) for more information. |
|||
|
|||
## Install |
|||
|
|||
Using npm: |
|||
|
|||
```sh |
|||
npm install --save-dev @babel/code-frame |
|||
``` |
|||
|
|||
or using yarn: |
|||
|
|||
```sh |
|||
yarn add @babel/code-frame --dev |
|||
``` |
|||
@ -1,216 +0,0 @@ |
|||
'use strict'; |
|||
|
|||
Object.defineProperty(exports, '__esModule', { value: true }); |
|||
|
|||
var picocolors = require('picocolors'); |
|||
var jsTokens = require('js-tokens'); |
|||
var helperValidatorIdentifier = require('@babel/helper-validator-identifier'); |
|||
|
|||
function isColorSupported() { |
|||
return (typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported |
|||
); |
|||
} |
|||
const compose = (f, g) => v => f(g(v)); |
|||
function buildDefs(colors) { |
|||
return { |
|||
keyword: colors.cyan, |
|||
capitalized: colors.yellow, |
|||
jsxIdentifier: colors.yellow, |
|||
punctuator: colors.yellow, |
|||
number: colors.magenta, |
|||
string: colors.green, |
|||
regex: colors.magenta, |
|||
comment: colors.gray, |
|||
invalid: compose(compose(colors.white, colors.bgRed), colors.bold), |
|||
gutter: colors.gray, |
|||
marker: compose(colors.red, colors.bold), |
|||
message: compose(colors.red, colors.bold), |
|||
reset: colors.reset |
|||
}; |
|||
} |
|||
const defsOn = buildDefs(picocolors.createColors(true)); |
|||
const defsOff = buildDefs(picocolors.createColors(false)); |
|||
function getDefs(enabled) { |
|||
return enabled ? defsOn : defsOff; |
|||
} |
|||
|
|||
const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]); |
|||
const NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/; |
|||
const BRACKET = /^[()[\]{}]$/; |
|||
let tokenize; |
|||
{ |
|||
const JSX_TAG = /^[a-z][\w-]*$/i; |
|||
const getTokenType = function (token, offset, text) { |
|||
if (token.type === "name") { |
|||
if (helperValidatorIdentifier.isKeyword(token.value) || helperValidatorIdentifier.isStrictReservedWord(token.value, true) || sometimesKeywords.has(token.value)) { |
|||
return "keyword"; |
|||
} |
|||
if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) { |
|||
return "jsxIdentifier"; |
|||
} |
|||
if (token.value[0] !== token.value[0].toLowerCase()) { |
|||
return "capitalized"; |
|||
} |
|||
} |
|||
if (token.type === "punctuator" && BRACKET.test(token.value)) { |
|||
return "bracket"; |
|||
} |
|||
if (token.type === "invalid" && (token.value === "@" || token.value === "#")) { |
|||
return "punctuator"; |
|||
} |
|||
return token.type; |
|||
}; |
|||
tokenize = function* (text) { |
|||
let match; |
|||
while (match = jsTokens.default.exec(text)) { |
|||
const token = jsTokens.matchToToken(match); |
|||
yield { |
|||
type: getTokenType(token, match.index, text), |
|||
value: token.value |
|||
}; |
|||
} |
|||
}; |
|||
} |
|||
function highlight(text) { |
|||
if (text === "") return ""; |
|||
const defs = getDefs(true); |
|||
let highlighted = ""; |
|||
for (const { |
|||
type, |
|||
value |
|||
} of tokenize(text)) { |
|||
if (type in defs) { |
|||
highlighted += value.split(NEWLINE$1).map(str => defs[type](str)).join("\n"); |
|||
} else { |
|||
highlighted += value; |
|||
} |
|||
} |
|||
return highlighted; |
|||
} |
|||
|
|||
let deprecationWarningShown = false; |
|||
const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; |
|||
function getMarkerLines(loc, source, opts) { |
|||
const startLoc = Object.assign({ |
|||
column: 0, |
|||
line: -1 |
|||
}, loc.start); |
|||
const endLoc = Object.assign({}, startLoc, loc.end); |
|||
const { |
|||
linesAbove = 2, |
|||
linesBelow = 3 |
|||
} = opts || {}; |
|||
const startLine = startLoc.line; |
|||
const startColumn = startLoc.column; |
|||
const endLine = endLoc.line; |
|||
const endColumn = endLoc.column; |
|||
let start = Math.max(startLine - (linesAbove + 1), 0); |
|||
let end = Math.min(source.length, endLine + linesBelow); |
|||
if (startLine === -1) { |
|||
start = 0; |
|||
} |
|||
if (endLine === -1) { |
|||
end = source.length; |
|||
} |
|||
const lineDiff = endLine - startLine; |
|||
const markerLines = {}; |
|||
if (lineDiff) { |
|||
for (let i = 0; i <= lineDiff; i++) { |
|||
const lineNumber = i + startLine; |
|||
if (!startColumn) { |
|||
markerLines[lineNumber] = true; |
|||
} else if (i === 0) { |
|||
const sourceLength = source[lineNumber - 1].length; |
|||
markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; |
|||
} else if (i === lineDiff) { |
|||
markerLines[lineNumber] = [0, endColumn]; |
|||
} else { |
|||
const sourceLength = source[lineNumber - i].length; |
|||
markerLines[lineNumber] = [0, sourceLength]; |
|||
} |
|||
} |
|||
} else { |
|||
if (startColumn === endColumn) { |
|||
if (startColumn) { |
|||
markerLines[startLine] = [startColumn, 0]; |
|||
} else { |
|||
markerLines[startLine] = true; |
|||
} |
|||
} else { |
|||
markerLines[startLine] = [startColumn, endColumn - startColumn]; |
|||
} |
|||
} |
|||
return { |
|||
start, |
|||
end, |
|||
markerLines |
|||
}; |
|||
} |
|||
function codeFrameColumns(rawLines, loc, opts = {}) { |
|||
const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode; |
|||
const defs = getDefs(shouldHighlight); |
|||
const lines = rawLines.split(NEWLINE); |
|||
const { |
|||
start, |
|||
end, |
|||
markerLines |
|||
} = getMarkerLines(loc, lines, opts); |
|||
const hasColumns = loc.start && typeof loc.start.column === "number"; |
|||
const numberMaxWidth = String(end).length; |
|||
const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines; |
|||
let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => { |
|||
const number = start + 1 + index; |
|||
const paddedNumber = ` ${number}`.slice(-numberMaxWidth); |
|||
const gutter = ` ${paddedNumber} |`; |
|||
const hasMarker = markerLines[number]; |
|||
const lastMarkerLine = !markerLines[number + 1]; |
|||
if (hasMarker) { |
|||
let markerLine = ""; |
|||
if (Array.isArray(hasMarker)) { |
|||
const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); |
|||
const numberOfMarkers = hasMarker[1] || 1; |
|||
markerLine = ["\n ", defs.gutter(gutter.replace(/\d/g, " ")), " ", markerSpacing, defs.marker("^").repeat(numberOfMarkers)].join(""); |
|||
if (lastMarkerLine && opts.message) { |
|||
markerLine += " " + defs.message(opts.message); |
|||
} |
|||
} |
|||
return [defs.marker(">"), defs.gutter(gutter), line.length > 0 ? ` ${line}` : "", markerLine].join(""); |
|||
} else { |
|||
return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : ""}`; |
|||
} |
|||
}).join("\n"); |
|||
if (opts.message && !hasColumns) { |
|||
frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`; |
|||
} |
|||
if (shouldHighlight) { |
|||
return defs.reset(frame); |
|||
} else { |
|||
return frame; |
|||
} |
|||
} |
|||
function index (rawLines, lineNumber, colNumber, opts = {}) { |
|||
if (!deprecationWarningShown) { |
|||
deprecationWarningShown = true; |
|||
const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; |
|||
if (process.emitWarning) { |
|||
process.emitWarning(message, "DeprecationWarning"); |
|||
} else { |
|||
const deprecationError = new Error(message); |
|||
deprecationError.name = "DeprecationWarning"; |
|||
console.warn(new Error(message)); |
|||
} |
|||
} |
|||
colNumber = Math.max(colNumber, 0); |
|||
const location = { |
|||
start: { |
|||
column: colNumber, |
|||
line: lineNumber |
|||
} |
|||
}; |
|||
return codeFrameColumns(rawLines, location, opts); |
|||
} |
|||
|
|||
exports.codeFrameColumns = codeFrameColumns; |
|||
exports.default = index; |
|||
exports.highlight = highlight; |
|||
//# sourceMappingURL=index.js.map
|
|||
1
吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/code-frame/lib/index.js.map
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,31 +0,0 @@ |
|||
{ |
|||
"name": "@babel/code-frame", |
|||
"version": "7.27.1", |
|||
"description": "Generate errors that contain a code frame that point to source locations.", |
|||
"author": "The Babel Team (https://babel.dev/team)", |
|||
"homepage": "https://babel.dev/docs/en/next/babel-code-frame", |
|||
"bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", |
|||
"license": "MIT", |
|||
"publishConfig": { |
|||
"access": "public" |
|||
}, |
|||
"repository": { |
|||
"type": "git", |
|||
"url": "https://github.com/babel/babel.git", |
|||
"directory": "packages/babel-code-frame" |
|||
}, |
|||
"main": "./lib/index.js", |
|||
"dependencies": { |
|||
"@babel/helper-validator-identifier": "^7.27.1", |
|||
"js-tokens": "^4.0.0", |
|||
"picocolors": "^1.1.1" |
|||
}, |
|||
"devDependencies": { |
|||
"import-meta-resolve": "^4.1.0", |
|||
"strip-ansi": "^4.0.0" |
|||
}, |
|||
"engines": { |
|||
"node": ">=6.9.0" |
|||
}, |
|||
"type": "commonjs" |
|||
} |
|||
@ -1,22 +0,0 @@ |
|||
MIT License |
|||
|
|||
Copyright (c) 2014-present Sebastian McKenzie and other contributors |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining |
|||
a copy of this software and associated documentation files (the |
|||
"Software"), to deal in the Software without restriction, including |
|||
without limitation the rights to use, copy, modify, merge, publish, |
|||
distribute, sublicense, and/or sell copies of the Software, and to |
|||
permit persons to whom the Software is furnished to do so, subject to |
|||
the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be |
|||
included in all copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|||
@ -1,19 +0,0 @@ |
|||
# @babel/compat-data |
|||
|
|||
> The compat-data to determine required Babel plugins |
|||
|
|||
See our website [@babel/compat-data](https://babeljs.io/docs/babel-compat-data) for more information. |
|||
|
|||
## Install |
|||
|
|||
Using npm: |
|||
|
|||
```sh |
|||
npm install --save @babel/compat-data |
|||
``` |
|||
|
|||
or using yarn: |
|||
|
|||
```sh |
|||
yarn add @babel/compat-data |
|||
``` |
|||
@ -1,2 +0,0 @@ |
|||
// Todo (Babel 8): remove this file as Babel 8 drop support of core-js 2
|
|||
module.exports = require("./data/corejs2-built-ins.json"); |
|||
@ -1,2 +0,0 @@ |
|||
// Todo (Babel 8): remove this file now that it is included in babel-plugin-polyfill-corejs3
|
|||
module.exports = require("./data/corejs3-shipped-proposals.json"); |
|||
2106
吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/compat-data/data/corejs2-built-ins.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,5 +0,0 @@ |
|||
[ |
|||
"esnext.promise.all-settled", |
|||
"esnext.string.match-all", |
|||
"esnext.global-this" |
|||
] |
|||
@ -1,18 +0,0 @@ |
|||
{ |
|||
"es6.module": { |
|||
"chrome": "61", |
|||
"and_chr": "61", |
|||
"edge": "16", |
|||
"firefox": "60", |
|||
"and_ff": "60", |
|||
"node": "13.2.0", |
|||
"opera": "48", |
|||
"op_mob": "45", |
|||
"safari": "10.1", |
|||
"ios": "10.3", |
|||
"samsung": "8.2", |
|||
"android": "61", |
|||
"electron": "2.0", |
|||
"ios_saf": "10.3" |
|||
} |
|||
} |
|||
@ -1,35 +0,0 @@ |
|||
{ |
|||
"transform-async-to-generator": [ |
|||
"bugfix/transform-async-arrows-in-class" |
|||
], |
|||
"transform-parameters": [ |
|||
"bugfix/transform-edge-default-parameters", |
|||
"bugfix/transform-safari-id-destructuring-collision-in-function-expression" |
|||
], |
|||
"transform-function-name": [ |
|||
"bugfix/transform-edge-function-name" |
|||
], |
|||
"transform-block-scoping": [ |
|||
"bugfix/transform-safari-block-shadowing", |
|||
"bugfix/transform-safari-for-shadowing" |
|||
], |
|||
"transform-template-literals": [ |
|||
"bugfix/transform-tagged-template-caching" |
|||
], |
|||
"transform-optional-chaining": [ |
|||
"bugfix/transform-v8-spread-parameters-in-optional-chaining" |
|||
], |
|||
"proposal-optional-chaining": [ |
|||
"bugfix/transform-v8-spread-parameters-in-optional-chaining" |
|||
], |
|||
"transform-class-properties": [ |
|||
"bugfix/transform-v8-static-class-fields-redefine-readonly", |
|||
"bugfix/transform-firefox-class-in-computed-class-key", |
|||
"bugfix/transform-safari-class-field-initializer-scope" |
|||
], |
|||
"proposal-class-properties": [ |
|||
"bugfix/transform-v8-static-class-fields-redefine-readonly", |
|||
"bugfix/transform-firefox-class-in-computed-class-key", |
|||
"bugfix/transform-safari-class-field-initializer-scope" |
|||
] |
|||
} |
|||
@ -1,203 +0,0 @@ |
|||
{ |
|||
"bugfix/transform-async-arrows-in-class": { |
|||
"chrome": "55", |
|||
"opera": "42", |
|||
"edge": "15", |
|||
"firefox": "52", |
|||
"safari": "11", |
|||
"node": "7.6", |
|||
"deno": "1", |
|||
"ios": "11", |
|||
"samsung": "6", |
|||
"opera_mobile": "42", |
|||
"electron": "1.6" |
|||
}, |
|||
"bugfix/transform-edge-default-parameters": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "18", |
|||
"firefox": "52", |
|||
"safari": "10", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"bugfix/transform-edge-function-name": { |
|||
"chrome": "51", |
|||
"opera": "38", |
|||
"edge": "79", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6.5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "41", |
|||
"electron": "1.2" |
|||
}, |
|||
"bugfix/transform-safari-block-shadowing": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "12", |
|||
"firefox": "44", |
|||
"safari": "11", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ie": "11", |
|||
"ios": "11", |
|||
"samsung": "5", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"bugfix/transform-safari-for-shadowing": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "12", |
|||
"firefox": "4", |
|||
"safari": "11", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ie": "11", |
|||
"ios": "11", |
|||
"samsung": "5", |
|||
"rhino": "1.7.13", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"bugfix/transform-safari-id-destructuring-collision-in-function-expression": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "14", |
|||
"firefox": "2", |
|||
"safari": "16.3", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "16.3", |
|||
"samsung": "5", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"bugfix/transform-tagged-template-caching": { |
|||
"chrome": "41", |
|||
"opera": "28", |
|||
"edge": "12", |
|||
"firefox": "34", |
|||
"safari": "13", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "13", |
|||
"samsung": "3.4", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "28", |
|||
"electron": "0.21" |
|||
}, |
|||
"bugfix/transform-v8-spread-parameters-in-optional-chaining": { |
|||
"chrome": "91", |
|||
"opera": "77", |
|||
"edge": "91", |
|||
"firefox": "74", |
|||
"safari": "13.1", |
|||
"node": "16.9", |
|||
"deno": "1.9", |
|||
"ios": "13.4", |
|||
"samsung": "16", |
|||
"opera_mobile": "64", |
|||
"electron": "13.0" |
|||
}, |
|||
"transform-optional-chaining": { |
|||
"chrome": "80", |
|||
"opera": "67", |
|||
"edge": "80", |
|||
"firefox": "74", |
|||
"safari": "13.1", |
|||
"node": "14", |
|||
"deno": "1", |
|||
"ios": "13.4", |
|||
"samsung": "13", |
|||
"rhino": "1.8", |
|||
"opera_mobile": "57", |
|||
"electron": "8.0" |
|||
}, |
|||
"proposal-optional-chaining": { |
|||
"chrome": "80", |
|||
"opera": "67", |
|||
"edge": "80", |
|||
"firefox": "74", |
|||
"safari": "13.1", |
|||
"node": "14", |
|||
"deno": "1", |
|||
"ios": "13.4", |
|||
"samsung": "13", |
|||
"rhino": "1.8", |
|||
"opera_mobile": "57", |
|||
"electron": "8.0" |
|||
}, |
|||
"transform-parameters": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "15", |
|||
"firefox": "52", |
|||
"safari": "10", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"transform-async-to-generator": { |
|||
"chrome": "55", |
|||
"opera": "42", |
|||
"edge": "15", |
|||
"firefox": "52", |
|||
"safari": "10.1", |
|||
"node": "7.6", |
|||
"deno": "1", |
|||
"ios": "10.3", |
|||
"samsung": "6", |
|||
"opera_mobile": "42", |
|||
"electron": "1.6" |
|||
}, |
|||
"transform-template-literals": { |
|||
"chrome": "41", |
|||
"opera": "28", |
|||
"edge": "13", |
|||
"firefox": "34", |
|||
"safari": "9", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "9", |
|||
"samsung": "3.4", |
|||
"opera_mobile": "28", |
|||
"electron": "0.21" |
|||
}, |
|||
"transform-function-name": { |
|||
"chrome": "51", |
|||
"opera": "38", |
|||
"edge": "14", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6.5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "41", |
|||
"electron": "1.2" |
|||
}, |
|||
"transform-block-scoping": { |
|||
"chrome": "50", |
|||
"opera": "37", |
|||
"edge": "14", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "37", |
|||
"electron": "1.1" |
|||
} |
|||
} |
|||
@ -1,838 +0,0 @@ |
|||
{ |
|||
"transform-explicit-resource-management": { |
|||
"chrome": "134", |
|||
"edge": "134", |
|||
"firefox": "141", |
|||
"node": "24", |
|||
"electron": "35.0" |
|||
}, |
|||
"transform-duplicate-named-capturing-groups-regex": { |
|||
"chrome": "126", |
|||
"opera": "112", |
|||
"edge": "126", |
|||
"firefox": "129", |
|||
"safari": "17.4", |
|||
"node": "23", |
|||
"ios": "17.4", |
|||
"electron": "31.0" |
|||
}, |
|||
"transform-regexp-modifiers": { |
|||
"chrome": "125", |
|||
"opera": "111", |
|||
"edge": "125", |
|||
"firefox": "132", |
|||
"node": "23", |
|||
"samsung": "27", |
|||
"electron": "31.0" |
|||
}, |
|||
"transform-unicode-sets-regex": { |
|||
"chrome": "112", |
|||
"opera": "98", |
|||
"edge": "112", |
|||
"firefox": "116", |
|||
"safari": "17", |
|||
"node": "20", |
|||
"deno": "1.32", |
|||
"ios": "17", |
|||
"samsung": "23", |
|||
"opera_mobile": "75", |
|||
"electron": "24.0" |
|||
}, |
|||
"bugfix/transform-v8-static-class-fields-redefine-readonly": { |
|||
"chrome": "98", |
|||
"opera": "84", |
|||
"edge": "98", |
|||
"firefox": "75", |
|||
"safari": "15", |
|||
"node": "12", |
|||
"deno": "1.18", |
|||
"ios": "15", |
|||
"samsung": "11", |
|||
"opera_mobile": "52", |
|||
"electron": "17.0" |
|||
}, |
|||
"bugfix/transform-firefox-class-in-computed-class-key": { |
|||
"chrome": "74", |
|||
"opera": "62", |
|||
"edge": "79", |
|||
"firefox": "126", |
|||
"safari": "16", |
|||
"node": "12", |
|||
"deno": "1", |
|||
"ios": "16", |
|||
"samsung": "11", |
|||
"opera_mobile": "53", |
|||
"electron": "6.0" |
|||
}, |
|||
"bugfix/transform-safari-class-field-initializer-scope": { |
|||
"chrome": "74", |
|||
"opera": "62", |
|||
"edge": "79", |
|||
"firefox": "69", |
|||
"safari": "16", |
|||
"node": "12", |
|||
"deno": "1", |
|||
"ios": "16", |
|||
"samsung": "11", |
|||
"opera_mobile": "53", |
|||
"electron": "6.0" |
|||
}, |
|||
"transform-class-static-block": { |
|||
"chrome": "94", |
|||
"opera": "80", |
|||
"edge": "94", |
|||
"firefox": "93", |
|||
"safari": "16.4", |
|||
"node": "16.11", |
|||
"deno": "1.14", |
|||
"ios": "16.4", |
|||
"samsung": "17", |
|||
"opera_mobile": "66", |
|||
"electron": "15.0" |
|||
}, |
|||
"proposal-class-static-block": { |
|||
"chrome": "94", |
|||
"opera": "80", |
|||
"edge": "94", |
|||
"firefox": "93", |
|||
"safari": "16.4", |
|||
"node": "16.11", |
|||
"deno": "1.14", |
|||
"ios": "16.4", |
|||
"samsung": "17", |
|||
"opera_mobile": "66", |
|||
"electron": "15.0" |
|||
}, |
|||
"transform-private-property-in-object": { |
|||
"chrome": "91", |
|||
"opera": "77", |
|||
"edge": "91", |
|||
"firefox": "90", |
|||
"safari": "15", |
|||
"node": "16.9", |
|||
"deno": "1.9", |
|||
"ios": "15", |
|||
"samsung": "16", |
|||
"opera_mobile": "64", |
|||
"electron": "13.0" |
|||
}, |
|||
"proposal-private-property-in-object": { |
|||
"chrome": "91", |
|||
"opera": "77", |
|||
"edge": "91", |
|||
"firefox": "90", |
|||
"safari": "15", |
|||
"node": "16.9", |
|||
"deno": "1.9", |
|||
"ios": "15", |
|||
"samsung": "16", |
|||
"opera_mobile": "64", |
|||
"electron": "13.0" |
|||
}, |
|||
"transform-class-properties": { |
|||
"chrome": "74", |
|||
"opera": "62", |
|||
"edge": "79", |
|||
"firefox": "90", |
|||
"safari": "14.1", |
|||
"node": "12", |
|||
"deno": "1", |
|||
"ios": "14.5", |
|||
"samsung": "11", |
|||
"opera_mobile": "53", |
|||
"electron": "6.0" |
|||
}, |
|||
"proposal-class-properties": { |
|||
"chrome": "74", |
|||
"opera": "62", |
|||
"edge": "79", |
|||
"firefox": "90", |
|||
"safari": "14.1", |
|||
"node": "12", |
|||
"deno": "1", |
|||
"ios": "14.5", |
|||
"samsung": "11", |
|||
"opera_mobile": "53", |
|||
"electron": "6.0" |
|||
}, |
|||
"transform-private-methods": { |
|||
"chrome": "84", |
|||
"opera": "70", |
|||
"edge": "84", |
|||
"firefox": "90", |
|||
"safari": "15", |
|||
"node": "14.6", |
|||
"deno": "1", |
|||
"ios": "15", |
|||
"samsung": "14", |
|||
"opera_mobile": "60", |
|||
"electron": "10.0" |
|||
}, |
|||
"proposal-private-methods": { |
|||
"chrome": "84", |
|||
"opera": "70", |
|||
"edge": "84", |
|||
"firefox": "90", |
|||
"safari": "15", |
|||
"node": "14.6", |
|||
"deno": "1", |
|||
"ios": "15", |
|||
"samsung": "14", |
|||
"opera_mobile": "60", |
|||
"electron": "10.0" |
|||
}, |
|||
"transform-numeric-separator": { |
|||
"chrome": "75", |
|||
"opera": "62", |
|||
"edge": "79", |
|||
"firefox": "70", |
|||
"safari": "13", |
|||
"node": "12.5", |
|||
"deno": "1", |
|||
"ios": "13", |
|||
"samsung": "11", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "54", |
|||
"electron": "6.0" |
|||
}, |
|||
"proposal-numeric-separator": { |
|||
"chrome": "75", |
|||
"opera": "62", |
|||
"edge": "79", |
|||
"firefox": "70", |
|||
"safari": "13", |
|||
"node": "12.5", |
|||
"deno": "1", |
|||
"ios": "13", |
|||
"samsung": "11", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "54", |
|||
"electron": "6.0" |
|||
}, |
|||
"transform-logical-assignment-operators": { |
|||
"chrome": "85", |
|||
"opera": "71", |
|||
"edge": "85", |
|||
"firefox": "79", |
|||
"safari": "14", |
|||
"node": "15", |
|||
"deno": "1.2", |
|||
"ios": "14", |
|||
"samsung": "14", |
|||
"opera_mobile": "60", |
|||
"electron": "10.0" |
|||
}, |
|||
"proposal-logical-assignment-operators": { |
|||
"chrome": "85", |
|||
"opera": "71", |
|||
"edge": "85", |
|||
"firefox": "79", |
|||
"safari": "14", |
|||
"node": "15", |
|||
"deno": "1.2", |
|||
"ios": "14", |
|||
"samsung": "14", |
|||
"opera_mobile": "60", |
|||
"electron": "10.0" |
|||
}, |
|||
"transform-nullish-coalescing-operator": { |
|||
"chrome": "80", |
|||
"opera": "67", |
|||
"edge": "80", |
|||
"firefox": "72", |
|||
"safari": "13.1", |
|||
"node": "14", |
|||
"deno": "1", |
|||
"ios": "13.4", |
|||
"samsung": "13", |
|||
"rhino": "1.8", |
|||
"opera_mobile": "57", |
|||
"electron": "8.0" |
|||
}, |
|||
"proposal-nullish-coalescing-operator": { |
|||
"chrome": "80", |
|||
"opera": "67", |
|||
"edge": "80", |
|||
"firefox": "72", |
|||
"safari": "13.1", |
|||
"node": "14", |
|||
"deno": "1", |
|||
"ios": "13.4", |
|||
"samsung": "13", |
|||
"rhino": "1.8", |
|||
"opera_mobile": "57", |
|||
"electron": "8.0" |
|||
}, |
|||
"transform-optional-chaining": { |
|||
"chrome": "91", |
|||
"opera": "77", |
|||
"edge": "91", |
|||
"firefox": "74", |
|||
"safari": "13.1", |
|||
"node": "16.9", |
|||
"deno": "1.9", |
|||
"ios": "13.4", |
|||
"samsung": "16", |
|||
"opera_mobile": "64", |
|||
"electron": "13.0" |
|||
}, |
|||
"proposal-optional-chaining": { |
|||
"chrome": "91", |
|||
"opera": "77", |
|||
"edge": "91", |
|||
"firefox": "74", |
|||
"safari": "13.1", |
|||
"node": "16.9", |
|||
"deno": "1.9", |
|||
"ios": "13.4", |
|||
"samsung": "16", |
|||
"opera_mobile": "64", |
|||
"electron": "13.0" |
|||
}, |
|||
"transform-json-strings": { |
|||
"chrome": "66", |
|||
"opera": "53", |
|||
"edge": "79", |
|||
"firefox": "62", |
|||
"safari": "12", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "12", |
|||
"samsung": "9", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"proposal-json-strings": { |
|||
"chrome": "66", |
|||
"opera": "53", |
|||
"edge": "79", |
|||
"firefox": "62", |
|||
"safari": "12", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "12", |
|||
"samsung": "9", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"transform-optional-catch-binding": { |
|||
"chrome": "66", |
|||
"opera": "53", |
|||
"edge": "79", |
|||
"firefox": "58", |
|||
"safari": "11.1", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "9", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"proposal-optional-catch-binding": { |
|||
"chrome": "66", |
|||
"opera": "53", |
|||
"edge": "79", |
|||
"firefox": "58", |
|||
"safari": "11.1", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "9", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"transform-parameters": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "18", |
|||
"firefox": "52", |
|||
"safari": "16.3", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "16.3", |
|||
"samsung": "5", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"transform-async-generator-functions": { |
|||
"chrome": "63", |
|||
"opera": "50", |
|||
"edge": "79", |
|||
"firefox": "57", |
|||
"safari": "12", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "12", |
|||
"samsung": "8", |
|||
"opera_mobile": "46", |
|||
"electron": "3.0" |
|||
}, |
|||
"proposal-async-generator-functions": { |
|||
"chrome": "63", |
|||
"opera": "50", |
|||
"edge": "79", |
|||
"firefox": "57", |
|||
"safari": "12", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "12", |
|||
"samsung": "8", |
|||
"opera_mobile": "46", |
|||
"electron": "3.0" |
|||
}, |
|||
"transform-object-rest-spread": { |
|||
"chrome": "60", |
|||
"opera": "47", |
|||
"edge": "79", |
|||
"firefox": "55", |
|||
"safari": "11.1", |
|||
"node": "8.3", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "8", |
|||
"opera_mobile": "44", |
|||
"electron": "2.0" |
|||
}, |
|||
"proposal-object-rest-spread": { |
|||
"chrome": "60", |
|||
"opera": "47", |
|||
"edge": "79", |
|||
"firefox": "55", |
|||
"safari": "11.1", |
|||
"node": "8.3", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "8", |
|||
"opera_mobile": "44", |
|||
"electron": "2.0" |
|||
}, |
|||
"transform-dotall-regex": { |
|||
"chrome": "62", |
|||
"opera": "49", |
|||
"edge": "79", |
|||
"firefox": "78", |
|||
"safari": "11.1", |
|||
"node": "8.10", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "8", |
|||
"rhino": "1.7.15", |
|||
"opera_mobile": "46", |
|||
"electron": "3.0" |
|||
}, |
|||
"transform-unicode-property-regex": { |
|||
"chrome": "64", |
|||
"opera": "51", |
|||
"edge": "79", |
|||
"firefox": "78", |
|||
"safari": "11.1", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "9", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"proposal-unicode-property-regex": { |
|||
"chrome": "64", |
|||
"opera": "51", |
|||
"edge": "79", |
|||
"firefox": "78", |
|||
"safari": "11.1", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "9", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"transform-named-capturing-groups-regex": { |
|||
"chrome": "64", |
|||
"opera": "51", |
|||
"edge": "79", |
|||
"firefox": "78", |
|||
"safari": "11.1", |
|||
"node": "10", |
|||
"deno": "1", |
|||
"ios": "11.3", |
|||
"samsung": "9", |
|||
"opera_mobile": "47", |
|||
"electron": "3.0" |
|||
}, |
|||
"transform-async-to-generator": { |
|||
"chrome": "55", |
|||
"opera": "42", |
|||
"edge": "15", |
|||
"firefox": "52", |
|||
"safari": "11", |
|||
"node": "7.6", |
|||
"deno": "1", |
|||
"ios": "11", |
|||
"samsung": "6", |
|||
"opera_mobile": "42", |
|||
"electron": "1.6" |
|||
}, |
|||
"transform-exponentiation-operator": { |
|||
"chrome": "52", |
|||
"opera": "39", |
|||
"edge": "14", |
|||
"firefox": "52", |
|||
"safari": "10.1", |
|||
"node": "7", |
|||
"deno": "1", |
|||
"ios": "10.3", |
|||
"samsung": "6", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "41", |
|||
"electron": "1.3" |
|||
}, |
|||
"transform-template-literals": { |
|||
"chrome": "41", |
|||
"opera": "28", |
|||
"edge": "13", |
|||
"firefox": "34", |
|||
"safari": "13", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "13", |
|||
"samsung": "3.4", |
|||
"opera_mobile": "28", |
|||
"electron": "0.21" |
|||
}, |
|||
"transform-literals": { |
|||
"chrome": "44", |
|||
"opera": "31", |
|||
"edge": "12", |
|||
"firefox": "53", |
|||
"safari": "9", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "9", |
|||
"samsung": "4", |
|||
"rhino": "1.7.15", |
|||
"opera_mobile": "32", |
|||
"electron": "0.30" |
|||
}, |
|||
"transform-function-name": { |
|||
"chrome": "51", |
|||
"opera": "38", |
|||
"edge": "79", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6.5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "41", |
|||
"electron": "1.2" |
|||
}, |
|||
"transform-arrow-functions": { |
|||
"chrome": "47", |
|||
"opera": "34", |
|||
"edge": "13", |
|||
"firefox": "43", |
|||
"safari": "10", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"rhino": "1.7.13", |
|||
"opera_mobile": "34", |
|||
"electron": "0.36" |
|||
}, |
|||
"transform-block-scoped-functions": { |
|||
"chrome": "41", |
|||
"opera": "28", |
|||
"edge": "12", |
|||
"firefox": "46", |
|||
"safari": "10", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ie": "11", |
|||
"ios": "10", |
|||
"samsung": "3.4", |
|||
"opera_mobile": "28", |
|||
"electron": "0.21" |
|||
}, |
|||
"transform-classes": { |
|||
"chrome": "46", |
|||
"opera": "33", |
|||
"edge": "13", |
|||
"firefox": "45", |
|||
"safari": "10", |
|||
"node": "5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "33", |
|||
"electron": "0.36" |
|||
}, |
|||
"transform-object-super": { |
|||
"chrome": "46", |
|||
"opera": "33", |
|||
"edge": "13", |
|||
"firefox": "45", |
|||
"safari": "10", |
|||
"node": "5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "33", |
|||
"electron": "0.36" |
|||
}, |
|||
"transform-shorthand-properties": { |
|||
"chrome": "43", |
|||
"opera": "30", |
|||
"edge": "12", |
|||
"firefox": "33", |
|||
"safari": "9", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "9", |
|||
"samsung": "4", |
|||
"rhino": "1.7.14", |
|||
"opera_mobile": "30", |
|||
"electron": "0.27" |
|||
}, |
|||
"transform-duplicate-keys": { |
|||
"chrome": "42", |
|||
"opera": "29", |
|||
"edge": "12", |
|||
"firefox": "34", |
|||
"safari": "9", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "9", |
|||
"samsung": "3.4", |
|||
"opera_mobile": "29", |
|||
"electron": "0.25" |
|||
}, |
|||
"transform-computed-properties": { |
|||
"chrome": "44", |
|||
"opera": "31", |
|||
"edge": "12", |
|||
"firefox": "34", |
|||
"safari": "7.1", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "8", |
|||
"samsung": "4", |
|||
"rhino": "1.8", |
|||
"opera_mobile": "32", |
|||
"electron": "0.30" |
|||
}, |
|||
"transform-for-of": { |
|||
"chrome": "51", |
|||
"opera": "38", |
|||
"edge": "15", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6.5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "41", |
|||
"electron": "1.2" |
|||
}, |
|||
"transform-sticky-regex": { |
|||
"chrome": "49", |
|||
"opera": "36", |
|||
"edge": "13", |
|||
"firefox": "3", |
|||
"safari": "10", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"rhino": "1.7.15", |
|||
"opera_mobile": "36", |
|||
"electron": "0.37" |
|||
}, |
|||
"transform-unicode-escapes": { |
|||
"chrome": "44", |
|||
"opera": "31", |
|||
"edge": "12", |
|||
"firefox": "53", |
|||
"safari": "9", |
|||
"node": "4", |
|||
"deno": "1", |
|||
"ios": "9", |
|||
"samsung": "4", |
|||
"rhino": "1.7.15", |
|||
"opera_mobile": "32", |
|||
"electron": "0.30" |
|||
}, |
|||
"transform-unicode-regex": { |
|||
"chrome": "50", |
|||
"opera": "37", |
|||
"edge": "13", |
|||
"firefox": "46", |
|||
"safari": "12", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "12", |
|||
"samsung": "5", |
|||
"opera_mobile": "37", |
|||
"electron": "1.1" |
|||
}, |
|||
"transform-spread": { |
|||
"chrome": "46", |
|||
"opera": "33", |
|||
"edge": "13", |
|||
"firefox": "45", |
|||
"safari": "10", |
|||
"node": "5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "33", |
|||
"electron": "0.36" |
|||
}, |
|||
"transform-destructuring": { |
|||
"chrome": "51", |
|||
"opera": "38", |
|||
"edge": "15", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6.5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "41", |
|||
"electron": "1.2" |
|||
}, |
|||
"transform-block-scoping": { |
|||
"chrome": "50", |
|||
"opera": "37", |
|||
"edge": "14", |
|||
"firefox": "53", |
|||
"safari": "11", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "11", |
|||
"samsung": "5", |
|||
"opera_mobile": "37", |
|||
"electron": "1.1" |
|||
}, |
|||
"transform-typeof-symbol": { |
|||
"chrome": "48", |
|||
"opera": "35", |
|||
"edge": "12", |
|||
"firefox": "36", |
|||
"safari": "9", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "9", |
|||
"samsung": "5", |
|||
"rhino": "1.8", |
|||
"opera_mobile": "35", |
|||
"electron": "0.37" |
|||
}, |
|||
"transform-new-target": { |
|||
"chrome": "46", |
|||
"opera": "33", |
|||
"edge": "14", |
|||
"firefox": "41", |
|||
"safari": "10", |
|||
"node": "5", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "33", |
|||
"electron": "0.36" |
|||
}, |
|||
"transform-regenerator": { |
|||
"chrome": "50", |
|||
"opera": "37", |
|||
"edge": "13", |
|||
"firefox": "53", |
|||
"safari": "10", |
|||
"node": "6", |
|||
"deno": "1", |
|||
"ios": "10", |
|||
"samsung": "5", |
|||
"opera_mobile": "37", |
|||
"electron": "1.1" |
|||
}, |
|||
"transform-member-expression-literals": { |
|||
"chrome": "7", |
|||
"opera": "12", |
|||
"edge": "12", |
|||
"firefox": "2", |
|||
"safari": "5.1", |
|||
"node": "0.4", |
|||
"deno": "1", |
|||
"ie": "9", |
|||
"android": "4", |
|||
"ios": "6", |
|||
"phantom": "1.9", |
|||
"samsung": "1", |
|||
"rhino": "1.7.13", |
|||
"opera_mobile": "12", |
|||
"electron": "0.20" |
|||
}, |
|||
"transform-property-literals": { |
|||
"chrome": "7", |
|||
"opera": "12", |
|||
"edge": "12", |
|||
"firefox": "2", |
|||
"safari": "5.1", |
|||
"node": "0.4", |
|||
"deno": "1", |
|||
"ie": "9", |
|||
"android": "4", |
|||
"ios": "6", |
|||
"phantom": "1.9", |
|||
"samsung": "1", |
|||
"rhino": "1.7.13", |
|||
"opera_mobile": "12", |
|||
"electron": "0.20" |
|||
}, |
|||
"transform-reserved-words": { |
|||
"chrome": "13", |
|||
"opera": "10.50", |
|||
"edge": "12", |
|||
"firefox": "2", |
|||
"safari": "3.1", |
|||
"node": "0.6", |
|||
"deno": "1", |
|||
"ie": "9", |
|||
"android": "4.4", |
|||
"ios": "6", |
|||
"phantom": "1.9", |
|||
"samsung": "1", |
|||
"rhino": "1.7.13", |
|||
"opera_mobile": "10.1", |
|||
"electron": "0.20" |
|||
}, |
|||
"transform-export-namespace-from": { |
|||
"chrome": "72", |
|||
"deno": "1.0", |
|||
"edge": "79", |
|||
"firefox": "80", |
|||
"node": "13.2.0", |
|||
"opera": "60", |
|||
"opera_mobile": "51", |
|||
"safari": "14.1", |
|||
"ios": "14.5", |
|||
"samsung": "11.0", |
|||
"android": "72", |
|||
"electron": "5.0" |
|||
}, |
|||
"proposal-export-namespace-from": { |
|||
"chrome": "72", |
|||
"deno": "1.0", |
|||
"edge": "79", |
|||
"firefox": "80", |
|||
"node": "13.2.0", |
|||
"opera": "60", |
|||
"opera_mobile": "51", |
|||
"safari": "14.1", |
|||
"ios": "14.5", |
|||
"samsung": "11.0", |
|||
"android": "72", |
|||
"electron": "5.0" |
|||
} |
|||
} |
|||
@ -1,2 +0,0 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/native-modules.json"); |
|||
@ -1,2 +0,0 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/overlapping-plugins.json"); |
|||
@ -1,40 +0,0 @@ |
|||
{ |
|||
"name": "@babel/compat-data", |
|||
"version": "7.28.5", |
|||
"author": "The Babel Team (https://babel.dev/team)", |
|||
"license": "MIT", |
|||
"description": "The compat-data to determine required Babel plugins", |
|||
"repository": { |
|||
"type": "git", |
|||
"url": "https://github.com/babel/babel.git", |
|||
"directory": "packages/babel-compat-data" |
|||
}, |
|||
"publishConfig": { |
|||
"access": "public" |
|||
}, |
|||
"exports": { |
|||
"./plugins": "./plugins.js", |
|||
"./native-modules": "./native-modules.js", |
|||
"./corejs2-built-ins": "./corejs2-built-ins.js", |
|||
"./corejs3-shipped-proposals": "./corejs3-shipped-proposals.js", |
|||
"./overlapping-plugins": "./overlapping-plugins.js", |
|||
"./plugin-bugfixes": "./plugin-bugfixes.js" |
|||
}, |
|||
"scripts": { |
|||
"build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.mjs && node ./scripts/build-modules-support.mjs && node ./scripts/build-bugfixes-targets.mjs" |
|||
}, |
|||
"keywords": [ |
|||
"babel", |
|||
"compat-table", |
|||
"compat-data" |
|||
], |
|||
"devDependencies": { |
|||
"@mdn/browser-compat-data": "^6.0.8", |
|||
"core-js-compat": "^3.43.0", |
|||
"electron-to-chromium": "^1.5.140" |
|||
}, |
|||
"engines": { |
|||
"node": ">=6.9.0" |
|||
}, |
|||
"type": "commonjs" |
|||
} |
|||
@ -1,2 +0,0 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/plugin-bugfixes.json"); |
|||
@ -1,2 +0,0 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/plugins.json"); |
|||
@ -1,22 +0,0 @@ |
|||
MIT License |
|||
|
|||
Copyright (c) 2014-present Sebastian McKenzie and other contributors |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining |
|||
a copy of this software and associated documentation files (the |
|||
"Software"), to deal in the Software without restriction, including |
|||
without limitation the rights to use, copy, modify, merge, publish, |
|||
distribute, sublicense, and/or sell copies of the Software, and to |
|||
permit persons to whom the Software is furnished to do so, subject to |
|||
the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be |
|||
included in all copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
|||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
|||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|||
@ -1,19 +0,0 @@ |
|||
# @babel/core |
|||
|
|||
> Babel compiler core. |
|||
|
|||
See our website [@babel/core](https://babeljs.io/docs/babel-core) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package. |
|||
|
|||
## Install |
|||
|
|||
Using npm: |
|||
|
|||
```sh |
|||
npm install --save-dev @babel/core |
|||
``` |
|||
|
|||
or using yarn: |
|||
|
|||
```sh |
|||
yarn add @babel/core --dev |
|||
``` |
|||
@ -1,5 +0,0 @@ |
|||
"use strict"; |
|||
|
|||
0 && 0; |
|||
|
|||
//# sourceMappingURL=cache-contexts.js.map
|
|||
@ -1 +0,0 @@ |
|||
{"version":3,"names":[],"sources":["../../src/config/cache-contexts.ts"],"sourcesContent":["import type { ConfigContext } from \"./config-chain.ts\";\nimport type {\n CallerMetadata,\n TargetsListOrObject,\n} from \"./validation/options.ts\";\n\nexport type { ConfigContext as FullConfig };\n\nexport type FullPreset = {\n targets: TargetsListOrObject;\n} & ConfigContext;\nexport type FullPlugin = {\n assumptions: { [name: string]: boolean };\n} & FullPreset;\n\n// Context not including filename since it is used in places that cannot\n// process 'ignore'/'only' and other filename-based logic.\nexport type SimpleConfig = {\n envName: string;\n caller: CallerMetadata | undefined;\n};\nexport type SimplePreset = {\n targets: TargetsListOrObject;\n} & SimpleConfig;\nexport type SimplePlugin = {\n assumptions: {\n [name: string]: boolean;\n };\n} & SimplePreset;\n"],"mappings":"","ignoreList":[]} |
|||
@ -1,261 +0,0 @@ |
|||
"use strict"; |
|||
|
|||
Object.defineProperty(exports, "__esModule", { |
|||
value: true |
|||
}); |
|||
exports.assertSimpleType = assertSimpleType; |
|||
exports.makeStrongCache = makeStrongCache; |
|||
exports.makeStrongCacheSync = makeStrongCacheSync; |
|||
exports.makeWeakCache = makeWeakCache; |
|||
exports.makeWeakCacheSync = makeWeakCacheSync; |
|||
function _gensync() { |
|||
const data = require("gensync"); |
|||
_gensync = function () { |
|||
return data; |
|||
}; |
|||
return data; |
|||
} |
|||
var _async = require("../gensync-utils/async.js"); |
|||
var _util = require("./util.js"); |
|||
const synchronize = gen => { |
|||
return _gensync()(gen).sync; |
|||
}; |
|||
function* genTrue() { |
|||
return true; |
|||
} |
|||
function makeWeakCache(handler) { |
|||
return makeCachedFunction(WeakMap, handler); |
|||
} |
|||
function makeWeakCacheSync(handler) { |
|||
return synchronize(makeWeakCache(handler)); |
|||
} |
|||
function makeStrongCache(handler) { |
|||
return makeCachedFunction(Map, handler); |
|||
} |
|||
function makeStrongCacheSync(handler) { |
|||
return synchronize(makeStrongCache(handler)); |
|||
} |
|||
function makeCachedFunction(CallCache, handler) { |
|||
const callCacheSync = new CallCache(); |
|||
const callCacheAsync = new CallCache(); |
|||
const futureCache = new CallCache(); |
|||
return function* cachedFunction(arg, data) { |
|||
const asyncContext = yield* (0, _async.isAsync)(); |
|||
const callCache = asyncContext ? callCacheAsync : callCacheSync; |
|||
const cached = yield* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data); |
|||
if (cached.valid) return cached.value; |
|||
const cache = new CacheConfigurator(data); |
|||
const handlerResult = handler(arg, cache); |
|||
let finishLock; |
|||
let value; |
|||
if ((0, _util.isIterableIterator)(handlerResult)) { |
|||
value = yield* (0, _async.onFirstPause)(handlerResult, () => { |
|||
finishLock = setupAsyncLocks(cache, futureCache, arg); |
|||
}); |
|||
} else { |
|||
value = handlerResult; |
|||
} |
|||
updateFunctionCache(callCache, cache, arg, value); |
|||
if (finishLock) { |
|||
futureCache.delete(arg); |
|||
finishLock.release(value); |
|||
} |
|||
return value; |
|||
}; |
|||
} |
|||
function* getCachedValue(cache, arg, data) { |
|||
const cachedValue = cache.get(arg); |
|||
if (cachedValue) { |
|||
for (const { |
|||
value, |
|||
valid |
|||
} of cachedValue) { |
|||
if (yield* valid(data)) return { |
|||
valid: true, |
|||
value |
|||
}; |
|||
} |
|||
} |
|||
return { |
|||
valid: false, |
|||
value: null |
|||
}; |
|||
} |
|||
function* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data) { |
|||
const cached = yield* getCachedValue(callCache, arg, data); |
|||
if (cached.valid) { |
|||
return cached; |
|||
} |
|||
if (asyncContext) { |
|||
const cached = yield* getCachedValue(futureCache, arg, data); |
|||
if (cached.valid) { |
|||
const value = yield* (0, _async.waitFor)(cached.value.promise); |
|||
return { |
|||
valid: true, |
|||
value |
|||
}; |
|||
} |
|||
} |
|||
return { |
|||
valid: false, |
|||
value: null |
|||
}; |
|||
} |
|||
function setupAsyncLocks(config, futureCache, arg) { |
|||
const finishLock = new Lock(); |
|||
updateFunctionCache(futureCache, config, arg, finishLock); |
|||
return finishLock; |
|||
} |
|||
function updateFunctionCache(cache, config, arg, value) { |
|||
if (!config.configured()) config.forever(); |
|||
let cachedValue = cache.get(arg); |
|||
config.deactivate(); |
|||
switch (config.mode()) { |
|||
case "forever": |
|||
cachedValue = [{ |
|||
value, |
|||
valid: genTrue |
|||
}]; |
|||
cache.set(arg, cachedValue); |
|||
break; |
|||
case "invalidate": |
|||
cachedValue = [{ |
|||
value, |
|||
valid: config.validator() |
|||
}]; |
|||
cache.set(arg, cachedValue); |
|||
break; |
|||
case "valid": |
|||
if (cachedValue) { |
|||
cachedValue.push({ |
|||
value, |
|||
valid: config.validator() |
|||
}); |
|||
} else { |
|||
cachedValue = [{ |
|||
value, |
|||
valid: config.validator() |
|||
}]; |
|||
cache.set(arg, cachedValue); |
|||
} |
|||
} |
|||
} |
|||
class CacheConfigurator { |
|||
constructor(data) { |
|||
this._active = true; |
|||
this._never = false; |
|||
this._forever = false; |
|||
this._invalidate = false; |
|||
this._configured = false; |
|||
this._pairs = []; |
|||
this._data = void 0; |
|||
this._data = data; |
|||
} |
|||
simple() { |
|||
return makeSimpleConfigurator(this); |
|||
} |
|||
mode() { |
|||
if (this._never) return "never"; |
|||
if (this._forever) return "forever"; |
|||
if (this._invalidate) return "invalidate"; |
|||
return "valid"; |
|||
} |
|||
forever() { |
|||
if (!this._active) { |
|||
throw new Error("Cannot change caching after evaluation has completed."); |
|||
} |
|||
if (this._never) { |
|||
throw new Error("Caching has already been configured with .never()"); |
|||
} |
|||
this._forever = true; |
|||
this._configured = true; |
|||
} |
|||
never() { |
|||
if (!this._active) { |
|||
throw new Error("Cannot change caching after evaluation has completed."); |
|||
} |
|||
if (this._forever) { |
|||
throw new Error("Caching has already been configured with .forever()"); |
|||
} |
|||
this._never = true; |
|||
this._configured = true; |
|||
} |
|||
using(handler) { |
|||
if (!this._active) { |
|||
throw new Error("Cannot change caching after evaluation has completed."); |
|||
} |
|||
if (this._never || this._forever) { |
|||
throw new Error("Caching has already been configured with .never or .forever()"); |
|||
} |
|||
this._configured = true; |
|||
const key = handler(this._data); |
|||
const fn = (0, _async.maybeAsync)(handler, `You appear to be using an async cache handler, but Babel has been called synchronously`); |
|||
if ((0, _async.isThenable)(key)) { |
|||
return key.then(key => { |
|||
this._pairs.push([key, fn]); |
|||
return key; |
|||
}); |
|||
} |
|||
this._pairs.push([key, fn]); |
|||
return key; |
|||
} |
|||
invalidate(handler) { |
|||
this._invalidate = true; |
|||
return this.using(handler); |
|||
} |
|||
validator() { |
|||
const pairs = this._pairs; |
|||
return function* (data) { |
|||
for (const [key, fn] of pairs) { |
|||
if (key !== (yield* fn(data))) return false; |
|||
} |
|||
return true; |
|||
}; |
|||
} |
|||
deactivate() { |
|||
this._active = false; |
|||
} |
|||
configured() { |
|||
return this._configured; |
|||
} |
|||
} |
|||
function makeSimpleConfigurator(cache) { |
|||
function cacheFn(val) { |
|||
if (typeof val === "boolean") { |
|||
if (val) cache.forever();else cache.never(); |
|||
return; |
|||
} |
|||
return cache.using(() => assertSimpleType(val())); |
|||
} |
|||
cacheFn.forever = () => cache.forever(); |
|||
cacheFn.never = () => cache.never(); |
|||
cacheFn.using = cb => cache.using(() => assertSimpleType(cb())); |
|||
cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb())); |
|||
return cacheFn; |
|||
} |
|||
function assertSimpleType(value) { |
|||
if ((0, _async.isThenable)(value)) { |
|||
throw new Error(`You appear to be using an async cache handler, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously handle your caching logic.`); |
|||
} |
|||
if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") { |
|||
throw new Error("Cache keys must be either string, boolean, number, null, or undefined."); |
|||
} |
|||
return value; |
|||
} |
|||
class Lock { |
|||
constructor() { |
|||
this.released = false; |
|||
this.promise = void 0; |
|||
this._resolve = void 0; |
|||
this.promise = new Promise(resolve => { |
|||
this._resolve = resolve; |
|||
}); |
|||
} |
|||
release(value) { |
|||
this.released = true; |
|||
this._resolve(value); |
|||
} |
|||
} |
|||
0 && 0; |
|||
|
|||
//# sourceMappingURL=caching.js.map
|
|||
1
吴光慧学习笔记/11.1/hello_vue3/node_modules/@babel/core/lib/config/caching.js.map
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue