Compare commits
No commits in common. 'kkk' and 'Boss2' have entirely different histories.
7212 changed files with 794812 additions and 1790 deletions
@ -1,9 +1,124 @@ |
|||
# Dependencies |
|||
node_modules/ |
|||
*.log |
|||
npm-debug.log* |
|||
yarn-debug.log* |
|||
yarn-error.log* |
|||
pnpm-debug.log* |
|||
lerna-debug.log* |
|||
|
|||
# Build outputs |
|||
dist/ |
|||
build/ |
|||
|
|||
# Environment variables |
|||
.env |
|||
.DS_Store |
|||
Thumbs.db |
|||
.env.local |
|||
.env.development.local |
|||
.env.test.local |
|||
.env.production.local |
|||
|
|||
# IDE and editor files |
|||
.vscode/ |
|||
.idea/ |
|||
*.swp |
|||
*.swo |
|||
*~ |
|||
server.log |
|||
|
|||
# OS generated files |
|||
Thumbs.db |
|||
.DS_Store |
|||
|
|||
# Log files |
|||
logs |
|||
*.log |
|||
|
|||
# Temporary files |
|||
tmp/ |
|||
temp/ |
|||
|
|||
# Database files |
|||
*.sqlite |
|||
*.sqlite3 |
|||
|
|||
# Coverage directory used by tools like istanbul |
|||
coverage/ |
|||
*.lcov |
|||
|
|||
# nyc test coverage |
|||
.nyc_output |
|||
|
|||
# Dependency directories |
|||
jspm_packages/ |
|||
|
|||
# Optional npm cache directory |
|||
.npm |
|||
|
|||
# Optional eslint cache |
|||
.eslintcache |
|||
|
|||
# Optional stylelint cache |
|||
.stylelintcache |
|||
|
|||
# Microbundle cache |
|||
.rpt2_cache/ |
|||
.rts2_cache_cjs/ |
|||
.rts2_cache_es/ |
|||
.rts2_cache_umd/ |
|||
|
|||
# Optional REPL history |
|||
.node_repl_history |
|||
|
|||
# Output of 'npm pack' |
|||
*.tgz |
|||
|
|||
# Yarn Integrity file |
|||
.yarn-integrity |
|||
|
|||
# parcel-bundler cache (https://parceljs.org/) |
|||
.cache |
|||
.parcel-cache |
|||
|
|||
# Next.js build output |
|||
.next |
|||
out |
|||
|
|||
# Nuxt.js build / generate output |
|||
.nuxt |
|||
dist |
|||
|
|||
# Gatsby files |
|||
.cache/ |
|||
# Comment in the public line in if your project uses Gatsby and not Next.js |
|||
# public |
|||
|
|||
# vuepress build output |
|||
.vuepress/dist |
|||
|
|||
# vuepress v2.x temp and cache directory |
|||
.temp |
|||
.cache |
|||
|
|||
# Docusaurus cache and generated files |
|||
.docusaurus |
|||
|
|||
# Serverless directories |
|||
.serverless/ |
|||
|
|||
# FuseBox cache |
|||
.fusebox/ |
|||
|
|||
# DynamoDB Local files |
|||
.dynamodb/ |
|||
|
|||
# TernJS port file |
|||
.tern-port |
|||
|
|||
# Stores VSCode versions used for testing VSCode extensions |
|||
.vscode-test |
|||
|
|||
# yarn v2 |
|||
.yarn/cache |
|||
.yarn/unplugged |
|||
.yarn/build-state.yml |
|||
.yarn/install-state.gz |
|||
.pnp.* |
|||
File diff suppressed because it is too large
@ -0,0 +1,16 @@ |
|||
#!/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/../mocha/bin/_mocha" "$@" |
|||
else |
|||
exec node "$basedir/../mocha/bin/_mocha" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\mocha\bin\_mocha" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../mocha/bin/_mocha" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../mocha/bin/_mocha" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../mocha/bin/_mocha" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../mocha/bin/_mocha" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../esprima/bin/esparse.js" "$@" |
|||
else |
|||
exec node "$basedir/../esprima/bin/esparse.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\esprima\bin\esparse.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../esprima/bin/esparse.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../esprima/bin/esparse.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../esprima/bin/esparse.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../esprima/bin/esparse.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../esprima/bin/esvalidate.js" "$@" |
|||
else |
|||
exec node "$basedir/../esprima/bin/esvalidate.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\esprima\bin\esvalidate.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../esprima/bin/esvalidate.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../esprima/bin/esvalidate.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../esprima/bin/esvalidate.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../flat/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../flat/cli.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\flat\cli.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../flat/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../flat/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../flat/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../flat/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../glob/dist/esm/bin.mjs" "$@" |
|||
else |
|||
exec node "$basedir/../glob/dist/esm/bin.mjs" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\glob\dist\esm\bin.mjs" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../glob/dist/esm/bin.mjs" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../he/bin/he" "$@" |
|||
else |
|||
exec node "$basedir/../he/bin/he" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\he\bin\he" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../he/bin/he" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../he/bin/he" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../he/bin/he" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../he/bin/he" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../js-yaml/bin/js-yaml.js" "$@" |
|||
else |
|||
exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\js-yaml\bin\js-yaml.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../js-yaml/bin/js-yaml.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../mime/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../mime/cli.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\mime\cli.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../mime/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../mime/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../mime/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../mkdirp/bin/cmd.js" "$@" |
|||
else |
|||
exec node "$basedir/../mkdirp/bin/cmd.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\mkdirp\bin\cmd.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../mkdirp/bin/cmd.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../mocha/bin/mocha.js" "$@" |
|||
else |
|||
exec node "$basedir/../mocha/bin/mocha.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\mocha\bin\mocha.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../mocha/bin/mocha.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../mocha/bin/mocha.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../mocha/bin/mocha.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../mocha/bin/mocha.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/node-which" "$@" |
|||
else |
|||
exec node "$basedir/../which/bin/node-which" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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\node-which" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/node-which" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../which/bin/node-which" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../which/bin/node-which" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../nyc/bin/nyc.js" "$@" |
|||
else |
|||
exec node "$basedir/../nyc/bin/nyc.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\nyc\bin\nyc.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../nyc/bin/nyc.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../nyc/bin/nyc.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../nyc/bin/nyc.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../nyc/bin/nyc.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../os-name/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../os-name/cli.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\os-name\cli.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../os-name/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../os-name/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../os-name/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../os-name/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../osx-release/cli.js" "$@" |
|||
else |
|||
exec node "$basedir/../osx-release/cli.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\osx-release\cli.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../osx-release/cli.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../osx-release/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../osx-release/cli.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../osx-release/cli.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../rimraf/bin.js" "$@" |
|||
else |
|||
exec node "$basedir/../rimraf/bin.js" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\rimraf\bin.js" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../rimraf/bin.js" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../rimraf/bin.js" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../rimraf/bin.js" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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 |
|||
@ -0,0 +1,17 @@ |
|||
@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" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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 |
|||
@ -0,0 +1,16 @@ |
|||
#!/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/../uuid/dist/bin/uuid" "$@" |
|||
else |
|||
exec node "$basedir/../uuid/dist/bin/uuid" "$@" |
|||
fi |
|||
@ -0,0 +1,17 @@ |
|||
@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%\..\uuid\dist\bin\uuid" %* |
|||
@ -0,0 +1,28 @@ |
|||
#!/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/../uuid/dist/bin/uuid" $args |
|||
} else { |
|||
& "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} else { |
|||
# Support pipeline input |
|||
if ($MyInvocation.ExpectingInput) { |
|||
$input | & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args |
|||
} else { |
|||
& "node$exe" "$basedir/../uuid/dist/bin/uuid" $args |
|||
} |
|||
$ret=$LASTEXITCODE |
|||
} |
|||
exit $ret |
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
@ -0,0 +1,22 @@ |
|||
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. |
|||
@ -0,0 +1,19 @@ |
|||
# @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 |
|||
``` |
|||
@ -0,0 +1,216 @@ |
|||
'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
|
|||
File diff suppressed because one or more lines are too long
@ -0,0 +1,31 @@ |
|||
{ |
|||
"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" |
|||
} |
|||
@ -0,0 +1,22 @@ |
|||
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. |
|||
@ -0,0 +1,19 @@ |
|||
# @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 |
|||
``` |
|||
@ -0,0 +1,2 @@ |
|||
// Todo (Babel 8): remove this file as Babel 8 drop support of core-js 2
|
|||
module.exports = require("./data/corejs2-built-ins.json"); |
|||
@ -0,0 +1,2 @@ |
|||
// Todo (Babel 8): remove this file now that it is included in babel-plugin-polyfill-corejs3
|
|||
module.exports = require("./data/corejs3-shipped-proposals.json"); |
|||
File diff suppressed because it is too large
@ -0,0 +1,5 @@ |
|||
[ |
|||
"esnext.promise.all-settled", |
|||
"esnext.string.match-all", |
|||
"esnext.global-this" |
|||
] |
|||
@ -0,0 +1,18 @@ |
|||
{ |
|||
"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" |
|||
} |
|||
} |
|||
@ -0,0 +1,35 @@ |
|||
{ |
|||
"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" |
|||
] |
|||
} |
|||
@ -0,0 +1,203 @@ |
|||
{ |
|||
"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" |
|||
} |
|||
} |
|||
@ -0,0 +1,838 @@ |
|||
{ |
|||
"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" |
|||
} |
|||
} |
|||
@ -0,0 +1,2 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/native-modules.json"); |
|||
@ -0,0 +1,2 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/overlapping-plugins.json"); |
|||
@ -0,0 +1,40 @@ |
|||
{ |
|||
"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" |
|||
} |
|||
@ -0,0 +1,2 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/plugin-bugfixes.json"); |
|||
@ -0,0 +1,2 @@ |
|||
// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly
|
|||
module.exports = require("./data/plugins.json"); |
|||
@ -0,0 +1,22 @@ |
|||
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. |
|||
@ -0,0 +1,19 @@ |
|||
# @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 |
|||
``` |
|||
@ -0,0 +1,5 @@ |
|||
"use strict"; |
|||
|
|||
0 && 0; |
|||
|
|||
//# sourceMappingURL=cache-contexts.js.map
|
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue